=== 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 | ||
bobweaver | gosh people just do not listen sometimes lol | 18:45 |
---|---|---|
bobweaver | mhall119, let me try to explain something to you about qt and qml | 18:47 |
bobweaver | 1) gtk is supported | 18:47 |
bobweaver | 2) you can make c++ files in your project then export them to qml in a Plugin file | 18:48 |
bobweaver | if I have the file filemanager.cpp and .h in my files | 18:48 |
bobweaver | I can Now Make a file called "plugin.cpp " | 18:48 |
bobweaver | in this file called plugin.cpp I add the header file | 18:49 |
bobweaver | #include "plugin.h" | 18:49 |
bobweaver | #include "filemanager.h" | 18:49 |
bobweaver | void PLUGINNAME::registerTypes(const char *uri) | 18:49 |
bobweaver | { | 18:50 |
bobweaver | qmlRegisterType<FileManager>(uri, 0, 1, "FileManager"); | 18:50 |
bobweaver | } | 18:50 |
bobweaver | Now when I build my project it compiles and tells QML that there is now NEW ELEMENT called FileManager | 18:51 |
bobweaver | Now In my main.qml I can do stuff Like | 18:51 |
bobweaver | include PLUGINNAME | 18:51 |
bobweaver | FileManager {id:foo; what ever what ever what ever } | 18:52 |
bobweaver | woops forgot to add PLUGINNAME version number but I hope that you understand this now | 18:52 |
bobweaver | mhall119, do you understand ? | 18:52 |
bobweaver | or have any questions | 18:53 |
bobweaver | why I say this is because One does Not need to put 500 plugins into the sdk kit | 18:54 |
bobweaver | this will slow it down and make use more ram | 18:54 |
bobweaver | that is how a plugin is made That is how the SDK kit is made | 18:54 |
bobweaver | But Like the SDK kit is is mainly only QML files that there doing that with | 18:55 |
bobweaver | mhall119, 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 ways | 18:58 |
bobweaver | No need to include things in the SDK kit that are not needed you know what I am saying ? | 18:59 |
bobweaver | as All the sdk kit is is a altered Desktop.Compents thingy as it seems | 18:59 |
bobweaver | things that need to be add3ed are things like | 18:59 |
bobweaver | Box2d | 18:59 |
bobweaver | tiles | 18:59 |
bobweaver | not to the SDK kit but to the QT repo | 19:00 |
bobweaver | and if one wants true control of a gnome desktop then | 19:00 |
bobweaver | dconf-qt | 19:00 |
bobweaver | that is so imporant that it is driving me NUTS | 19:00 |
bobweaver | it makes it so one can connect to any dbus | 19:01 |
bobweaver | say com.canonical.Unity.HomeLens | 19:01 |
bobweaver | org.gnome.desktop.nataulius | 19:01 |
bobweaver | if one can connect to them things and alter them then one can alter there desktop | 19:02 |
bobweaver | and even keep them files in say something like UBuntu One | 19:02 |
bobweaver | so when they change one desktop it changes them all over the cloud | 19:02 |
mhall119 | bobweaver: sorry, in the middle of other things atm, I'll go through the scroll back when I have a minute | 19:03 |
bobweaver | cool 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 QML | 19:04 |
bobweaver | that came out wrong :/ | 19:04 |
mhall119 | I get you, don't worry | 19:04 |
bobweaver | mhall119, here is a example of a plugin file that calls Libdee libbamf ect | 19:09 |
bobweaver | http://paste.ubuntu.com/1683614/ | 19:10 |
bobweaver | look at line 221 | 19:10 |
bobweaver | see I am calling all them things to be now set as objects in qml | 19:11 |
bobweaver | and at bottom | 19:11 |
bobweaver | Q_EXPORT_PLUGIN2(Unity2d, Unity2dPlugin); | 19:11 |
bobweaver | whamo we now have a new plugin called unity2d 1.0 that we can all all them c++ elements that are in that file | 19:12 |
bobweaver | again came out wrong | 19:12 |
bobweaver | and QConf === dconf-qt | 19:13 |
bobweaver | mhall119, maybr you can help promote this https://plus.google.com/u/0/113051860352311525753/posts/evD4GukaN9J | 19:25 |
bobweaver | mhall119, when you get a chance can you look at this and tell me if there is More things that I should Add ? Please and Thanks | 20:26 |
bobweaver | http://paste.ubuntu.com/1683997/ | 20:26 |
bobweaver | README file ^^ | 20:26 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!