/srv/irclogs.ubuntu.com/2013/02/19/#ubuntu-tv.txt

=== zz_chihchun is now known as chihchun
=== chihchun is now known as zz_chihchun
=== zz_chihchun is now known as chihchun
=== chihchun is now known as zz_chihchun
=== francisco is now known as Guest89363
bobweavergosh people just do not listen sometimes lol18:45
bobweavermhall119,  let me try to explain something to you about qt and qml18:47
bobweaver1) gtk is supported18:47
bobweaver2)  you can make c++ files in your project then export them to qml in a Plugin file18:48
bobweaverif I have the file filemanager.cpp and .h in my files18:48
bobweaverI can Now Make a file called "plugin.cpp "18:48
bobweaverin this file called plugin.cpp I add the header file18:49
bobweaver#include "plugin.h"18:49
bobweaver#include "filemanager.h"18:49
bobweavervoid PLUGINNAME::registerTypes(const char *uri)18:49
bobweaver{18:50
bobweaver    qmlRegisterType<FileManager>(uri, 0, 1, "FileManager");18:50
bobweaver}18:50
bobweaverNow when I build my project it compiles and tells QML that there is now NEW   ELEMENT called FileManager18:51
bobweaverNow In my main.qml    I can do stuff Like18:51
bobweaverinclude PLUGINNAME18:51
bobweaverFileManager {id:foo; what ever what ever what ever }18:52
bobweaverwoops forgot to add PLUGINNAME version number but I hope that you understand this now18:52
bobweavermhall119,  do you understand ?18:52
bobweaveror have any questions18:53
bobweaverwhy I say this is because One does Not need to put 500 plugins into the sdk kit18:54
bobweaverthis will slow it down and make use more ram18:54
bobweaverthat is how a plugin is made That is how the SDK kit is made18:54
bobweaverBut Like the SDK kit is is mainly only QML files that there doing that with18:55
bobweavermhall119,  Please dont take all that ^^^ as I am talking down to you that is not what I am trying to do. What I am trying to do is show you that there is other ways18:58
bobweaverNo need to include things in the SDK kit that are not needed you know what I am saying ?18:59
bobweaveras All the sdk kit is is a altered Desktop.Compents thingy as it seems18:59
bobweaverthings that need to be add3ed are things like18:59
bobweaverBox2d18:59
bobweavertiles18:59
bobweavernot to the SDK kit but to the QT repo19:00
bobweaverand if one wants true control of a gnome desktop then19:00
bobweaverdconf-qt19:00
bobweaverthat is so imporant that it is driving me NUTS19:00
bobweaverit makes it so one can connect to any dbus19:01
bobweaversay com.canonical.Unity.HomeLens19:01
bobweaverorg.gnome.desktop.nataulius19:01
bobweaverif one can connect to them things and alter them then one can alter there desktop19:02
bobweaverand even keep them files in say something like UBuntu One19:02
bobweaverso when they change one desktop it changes them all over the cloud19:02
mhall119bobweaver: sorry, in the middle of other things atm, I'll go through the scroll back when I have a minute19:03
bobweavercool mhall119  just remeber that you know 50X more about community stuff then I do I give you props for that please tihnk about that when I talk about QML19:04
bobweaverthat came out wrong :/19:04
mhall119I get you, don't worry19:04
bobweavermhall119,  here is a example of a plugin file that calls Libdee libbamf ect19:09
bobweaverhttp://paste.ubuntu.com/1683614/19:10
bobweaverlook at line 22119:10
bobweaversee I am calling all them things to be now set as objects in qml19:11
bobweaverand at bottom19:11
bobweaverQ_EXPORT_PLUGIN2(Unity2d, Unity2dPlugin);19:11
bobweaverwhamo we now have a new plugin called unity2d 1.0 that we can all all them c++ elements that are in that file19:12
bobweaveragain came out wrong19:12
bobweaverand QConf === dconf-qt19:13
bobweavermhall119,  maybr you can help promote this https://plus.google.com/u/0/113051860352311525753/posts/evD4GukaN9J19:25
bobweavermhall119,  when you get a chance can you look at this and tell me if there is More things that I should Add ?  Please and Thanks20:26
bobweaverhttp://paste.ubuntu.com/1683997/20:26
bobweaverREADME file ^^20:26

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!