Re: Some help for recreating the Plasma Tool Box in QML
On Friday, October 28, 2011 22:10:07 Mark wrote: On Thu, Oct 27, 2011 at 2:24 PM, Aaron J. Seigo ase...@kde.org wrote: On Thursday, October 27, 2011 14:05:42 Mark wrote: Ah men i hate this.. This is a typical it's right under your nose case : :p usually only after it's been pointed out is it right under your now; before that it may as well be very well hidden behind your back ;) don't worry, with time you'll get to learn the source tree and where you can expect to look for different kinds of things. it's just a learning curve, though hopefully one we've made as level as possible. Thanx for helping :) np :) Oke, i finally have the darn QML file working in the position where i want it. Quite irritating since apparently i need to set the base position of QDeclarativeView in C++ where i'd expect it to be set from XML with just X and Y position.. Also the line to set some flags doesn't seem to be working on QDeclerativeView: KWindowSystem::setState(winId(), NET::SkipTaskbar | NET::SkipPager | NET::Sticky | NET::KeepAbove); ... Or i did something wrong. Anyway, i'm gonna try to fill up the QML file with elements so it looks like the current tool box we all know but for that i need to get some things working.. 1. How do i get the PlasmaCore import working: http://techbase.kde.org/Development/Tutorials/Plasma/QML/GettingStarted#Plas ma_Widgets_in_QML My you just include PlasmaCore like: import org.kde.plasma.core 0.1 as PlasmaCore assumng you have a sufficiently new kde-runtime installed, this should just work 2. Which options are possible for plasmacore backgrounds.. Right now i have widgets/frame but what else is there? these come from the SVG theme... in this case you probably want to use dialogs/background 3. Where are the plasma QML files hidden for a button and such and how do i use them (imports.. same as question 1 only with different files) until the MobileComponents and Plasma::Components become available to you (will be in kde-runtime, and eventually a separate KDE QML repository), you can use Plasma widgdets like PlasmaWidgets.PushButton least have this plasma tool box as QML for KDE 4.9 and perhaps even all panel stuff in QML for KDE 4.9? (yeah, i really start to like QML :p) sounds great :) -- Aaron J. Seigo humru othro a kohnu se GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43 KDE core developer sponsored by Qt Development Frameworks signature.asc Description: This is a digitally signed message part. ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: Some help for recreating the Plasma Tool Box in QML
On Saturday 29 October 2011, Aaron J. Seigo wrote: On Friday, October 28, 2011 22:10:07 Mark wrote: On Thu, Oct 27, 2011 at 2:24 PM, Aaron J. Seigo ase...@kde.org wrote: On Thursday, October 27, 2011 14:05:42 Mark wrote: Ah men i hate this.. This is a typical it's right under your nose case : :p usually only after it's been pointed out is it right under your now; before that it may as well be very well hidden behind your back ;) don't worry, with time you'll get to learn the source tree and where you can expect to look for different kinds of things. it's just a learning curve, though hopefully one we've made as level as possible. Thanx for helping :) np :) Oke, i finally have the darn QML file working in the position where i want it. Quite irritating since apparently i need to set the base position of QDeclarativeView in C++ where i'd expect it to be set from XML with just X and Y position.. Also the line to set some flags doesn't seem to be working on QDeclerativeView: KWindowSystem::setState(winId(), NET::SkipTaskbar | NET::SkipPager | NET::Sticky | NET::KeepAbove); ... Or i did something wrong. Anyway, i'm gonna try to fill up the QML file with elements so it looks like the current tool box we all know but for that i need to get some things working.. 1. How do i get the PlasmaCore import working: http://techbase.kde.org/Development/Tutorials/Plasma/QML/GettingStarted#P las ma_Widgets_in_QML My you just include PlasmaCore like: import org.kde.plasma.core 0.1 as PlasmaCore assumng you have a sufficiently new kde-runtime installed, this should just work make sure the proper import path is set in the qml runtime. ie if you are using this from plasma you blink***M U S T***/blink use Plasma::DeclarativeWidget if you are doing tests with qmlviewer, add the command line parameter -I /usr/lib/kde4/imports (or whatever prefix kde is installed instead of /usr) 2. Which options are possible for plasmacore backgrounds.. Right now i have widgets/frame but what else is there? these come from the SVG theme... in this case you probably want to use dialogs/background http://techbase.kde.org/Development/Tutorials/Plasma/ThemeDetails#Current_Theme_Elements 3. Where are the plasma QML files hidden for a button and such and how do i use them (imports.. same as question 1 only with different files) until the MobileComponents and Plasma::Components become available to you (will be in kde-runtime, and eventually a separate KDE QML repository), you can use Plasma widgdets like PlasmaWidgets.PushButton plasma components are now in runtime master (whether leavng them in for 4.8 is another question, but i would) Cheers, Marco Martin ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: Some help for recreating the Plasma Tool Box in QML
On Sat, Oct 29, 2011 at 11:58 AM, Marco Martin notm...@gmail.com wrote: On Saturday 29 October 2011, Aaron J. Seigo wrote: On Friday, October 28, 2011 22:10:07 Mark wrote: On Thu, Oct 27, 2011 at 2:24 PM, Aaron J. Seigo ase...@kde.org wrote: On Thursday, October 27, 2011 14:05:42 Mark wrote: Ah men i hate this.. This is a typical it's right under your nose case : :p usually only after it's been pointed out is it right under your now; before that it may as well be very well hidden behind your back ;) don't worry, with time you'll get to learn the source tree and where you can expect to look for different kinds of things. it's just a learning curve, though hopefully one we've made as level as possible. Thanx for helping :) np :) Oke, i finally have the darn QML file working in the position where i want it. Quite irritating since apparently i need to set the base position of QDeclarativeView in C++ where i'd expect it to be set from XML with just X and Y position.. Also the line to set some flags doesn't seem to be working on QDeclerativeView: KWindowSystem::setState(winId(), NET::SkipTaskbar | NET::SkipPager | NET::Sticky | NET::KeepAbove); ... Or i did something wrong. Anyway, i'm gonna try to fill up the QML file with elements so it looks like the current tool box we all know but for that i need to get some things working.. 1. How do i get the PlasmaCore import working: http://techbase.kde.org/Development/Tutorials/Plasma/QML/GettingStarted#P las ma_Widgets_in_QML My you just include PlasmaCore like: import org.kde.plasma.core 0.1 as PlasmaCore assumng you have a sufficiently new kde-runtime installed, this should just work make sure the proper import path is set in the qml runtime. ie if you are using this from plasma you blink***M U S T***/blink use Plasma::DeclarativeWidget if you are doing tests with qmlviewer, add the command line parameter -I /usr/lib/kde4/imports (or whatever prefix kde is installed instead of /usr) 2. Which options are possible for plasmacore backgrounds.. Right now i have widgets/frame but what else is there? these come from the SVG theme... in this case you probably want to use dialogs/background http://techbase.kde.org/Development/Tutorials/Plasma/ThemeDetails#Current_Theme_Elements 3. Where are the plasma QML files hidden for a button and such and how do i use them (imports.. same as question 1 only with different files) until the MobileComponents and Plasma::Components become available to you (will be in kde-runtime, and eventually a separate KDE QML repository), you can use Plasma widgdets like PlasmaWidgets.PushButton plasma components are now in runtime master (whether leavng them in for 4.8 is another question, but i would) Cheers, Marco Martin Apparently it isn't just working. I was missing a QML_IMPORT_PATH environment variable. Once i set that to the imports it worked. However, if i run it through QtCreator (just a QML file with no project behind it) then QtCreator still doesn't see it.. Right now i work around this by making a project and setting the importPaths variable in the project.qmlproject, but does anyone know the environment variable i need to edit for the default import paths? Odly enough QtCreator doesn't seem to look at QML_IMPORT_PATH ... Thanx. ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: Some help for recreating the Plasma Tool Box in QML
On Wednesday, October 26, 2011 21:26:12 Mark wrote: Oh and what do i do with my qml files? I guess i make them in plasma/desktop/shell/qml -- new folder But where do i need to install them in cmake? the best thing to do is it to put them into a Plasma Package and install them in the usual location; then you can use Plasma::Package from the C++ code to fetch the qml for you. a good example of this can be found in the kde:plasma-mobile repository. in there is a subdirectory called qmlpackages with, well, packages of qml stuff (along with the CMakeLists.txt that installs them). then if you look in shell/mobcorona.cpp in the MobCorona::init() method, you can see usage of Plasma::Package that loads such a package: Plasma::PackageStructure::Ptr structure = Plasma::PackageStructure::load(Plasma/Generic); m_package = new Plasma::Package(QString(), homeScreenPath, structure); hth.. -- Aaron J. Seigo humru othro a kohnu se GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43 KDE core developer sponsored by Qt Development Frameworks signature.asc Description: This is a digitally signed message part. ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: Some help for recreating the Plasma Tool Box in QML
On Thu, Oct 27, 2011 at 12:12 PM, Aaron J. Seigo ase...@kde.org wrote: On Wednesday, October 26, 2011 21:26:12 Mark wrote: Oh and what do i do with my qml files? I guess i make them in plasma/desktop/shell/qml -- new folder But where do i need to install them in cmake? the best thing to do is it to put them into a Plasma Package and install them in the usual location; then you can use Plasma::Package from the C++ code to fetch the qml for you. a good example of this can be found in the kde:plasma-mobile repository. in there is a subdirectory called qmlpackages with, well, packages of qml stuff (along with the CMakeLists.txt that installs them). then if you look in shell/mobcorona.cpp in the MobCorona::init() method, you can see usage of Plasma::Package that loads such a package: Plasma::PackageStructure::Ptr structure = Plasma::PackageStructure::load(Plasma/Generic); m_package = new Plasma::Package(QString(), homeScreenPath, structure); hth.. Wow! That is really some awesome help. Thanx a lot. I'm gonna do some more hacking tonight ;) I already have the loading of a QML file working (very easy and not through Plasma::Package yet) and it just loads a very basic QML file with a red background and no window borders so that is all just fine. One thing i do have what shouldn't be there is the taskbar entry. I do have the flag setWindowFlags(Qt::FramelessWindowHint) on the QDeclarativeView object which is removing the decorations, but i can't find the flag to get rid of the taskbar entry. I haven't searched for it thoroughly yet, but if someone knows that flag...? ;) ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: Some help for recreating the Plasma Tool Box in QML
On Thursday, October 27, 2011 13:36:27 Mark wrote: flag setWindowFlags(Qt::FramelessWindowHint) on the QDeclarativeView object which is removing the decorations, but i can't find the flag to get rid of the taskbar entry. I haven't searched for it thoroughly yet, but if someone knows that flag...? ;) from plasma/desktop/shell/panelcontroller.cpp: KWindowSystem::setState(winId(), NET::SkipTaskbar | NET::SkipPager | NET::Sticky | NET::KeepAbove); it also does the following which may be useful for you: setAttribute(Qt::WA_DeleteOnClose); setFocus(Qt::ActiveWindowFocusReason); and you may also wish to do this: KWindowSystem::setOnAllDesktops(dialog-winId(), true); -- Aaron J. Seigo humru othro a kohnu se GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43 KDE core developer sponsored by Qt Development Frameworks signature.asc Description: This is a digitally signed message part. ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: Some help for recreating the Plasma Tool Box in QML
On Thu, Oct 27, 2011 at 1:58 PM, Aaron J. Seigo ase...@kde.org wrote: On Thursday, October 27, 2011 13:36:27 Mark wrote: flag setWindowFlags(Qt::FramelessWindowHint) on the QDeclarativeView object which is removing the decorations, but i can't find the flag to get rid of the taskbar entry. I haven't searched for it thoroughly yet, but if someone knows that flag...? ;) from plasma/desktop/shell/panelcontroller.cpp: KWindowSystem::setState(winId(), NET::SkipTaskbar | NET::SkipPager | NET::Sticky | NET::KeepAbove); it also does the following which may be useful for you: setAttribute(Qt::WA_DeleteOnClose); setFocus(Qt::ActiveWindowFocusReason); and you may also wish to do this: KWindowSystem::setOnAllDesktops(dialog-winId(), true); Ah men i hate this.. This is a typical it's right under your nose case :p Thanx for helping :) ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: Some help for recreating the Plasma Tool Box in QML
On Thursday, October 27, 2011 14:05:42 Mark wrote: Ah men i hate this.. This is a typical it's right under your nose case :p usually only after it's been pointed out is it right under your now; before that it may as well be very well hidden behind your back ;) don't worry, with time you'll get to learn the source tree and where you can expect to look for different kinds of things. it's just a learning curve, though hopefully one we've made as level as possible. Thanx for helping :) np :) -- Aaron J. Seigo humru othro a kohnu se GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43 KDE core developer sponsored by Qt Development Frameworks signature.asc Description: This is a digitally signed message part. ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: Some help for recreating the Plasma Tool Box in QML
On Tue, Oct 25, 2011 at 6:30 PM, Aaron J. Seigo ase...@kde.org wrote: On Tuesday, October 25, 2011 15:22:16 Mark wrote: kde-workspace/plasma/desktop/shell/toolbox/paneltoobox.* which really should be in desktop/toolboxes imo, and not in with the shell. i'll fix that right now and then they will be in: kde-workspace/plasma/desktop/toolboxes/paneltoobox.* Oke. Just wondering if you could explain why..? I have no clue why one is either good or bad :p not so much good or bad as just better or worse :) we try and keep each type of plugin (applet, containment, dataengines, wallpapers, runner, etc) in their own subdirectories. the idea is that this way it is easier to find things based on what the item is, it gives some general structure to the code tree and it prevents the temptation to weld components (esp applets and dataengines, but in this case the shell and the toolboxes) too tightly together by nature of them living in the same place in the code tree. hth.. First issue :) In QMake files i simply add: QT += declarative But what do i need to do in cmake to get the same results? ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: Some help for recreating the Plasma Tool Box in QML
On Wed, Oct 26, 2011 at 9:22 PM, Mark mark...@gmail.com wrote: On Tue, Oct 25, 2011 at 6:30 PM, Aaron J. Seigo ase...@kde.org wrote: On Tuesday, October 25, 2011 15:22:16 Mark wrote: kde-workspace/plasma/desktop/shell/toolbox/paneltoobox.* which really should be in desktop/toolboxes imo, and not in with the shell. i'll fix that right now and then they will be in: kde-workspace/plasma/desktop/toolboxes/paneltoobox.* Oke. Just wondering if you could explain why..? I have no clue why one is either good or bad :p not so much good or bad as just better or worse :) we try and keep each type of plugin (applet, containment, dataengines, wallpapers, runner, etc) in their own subdirectories. the idea is that this way it is easier to find things based on what the item is, it gives some general structure to the code tree and it prevents the temptation to weld components (esp applets and dataengines, but in this case the shell and the toolboxes) too tightly together by nature of them living in the same place in the code tree. hth.. First issue :) In QMake files i simply add: QT += declarative But what do i need to do in cmake to get the same results? Oh and what do i do with my qml files? I guess i make them in plasma/desktop/shell/qml -- new folder But where do i need to install them in cmake? Just a few questions ^_- ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: Some help for recreating the Plasma Tool Box in QML
On Wed, Oct 26, 2011 at 9:22 PM, Mark mark...@gmail.com wrote: On Tue, Oct 25, 2011 at 6:30 PM, Aaron J. Seigo ase...@kde.org wrote: On Tuesday, October 25, 2011 15:22:16 Mark wrote: kde-workspace/plasma/desktop/shell/toolbox/paneltoobox.* which really should be in desktop/toolboxes imo, and not in with the shell. i'll fix that right now and then they will be in: kde-workspace/plasma/desktop/toolboxes/paneltoobox.* Oke. Just wondering if you could explain why..? I have no clue why one is either good or bad :p not so much good or bad as just better or worse :) we try and keep each type of plugin (applet, containment, dataengines, wallpapers, runner, etc) in their own subdirectories. the idea is that this way it is easier to find things based on what the item is, it gives some general structure to the code tree and it prevents the temptation to weld components (esp applets and dataengines, but in this case the shell and the toolboxes) too tightly together by nature of them living in the same place in the code tree. hth.. First issue :) In QMake files i simply add: QT += declarative But what do i need to do in cmake to get the same results? just add ${QT_QTDECLARATIVE_LIBRARY} in target_link_libraries ... responding to myself since i know the solution now. Thanx to kdepepo on irc. ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: Some help for recreating the Plasma Tool Box in QML
On Friday, October 21, 2011 13:38:49 Viranch Mehta wrote: Well, I'm not sure if it is possible to just change a part of the panel (the tool box). You'd need to re-do the panel in qml, afaik. the toolbox _icon_ itself is a very tiny piece and doesn't need to be touched. it could be re-done in QML and the panel containment could use that instead. it wouldn't be a big change. still, i wouldn't worry about that. instead, i'd focus first on making the toolbox window that pops up _itself_ QML as that is far more interesting and useful. iow: don't worry about touching the panel itself :) -- Aaron J. Seigo humru othro a kohnu se GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43 KDE core developer sponsored by Qt Development Frameworks signature.asc Description: This is a digitally signed message part. ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: Some help for recreating the Plasma Tool Box in QML
On Tue, Oct 25, 2011 at 12:10 PM, Aaron J. Seigo ase...@kde.org wrote: On Friday, October 21, 2011 13:38:49 Viranch Mehta wrote: Well, I'm not sure if it is possible to just change a part of the panel (the tool box). You'd need to re-do the panel in qml, afaik. the toolbox _icon_ itself is a very tiny piece and doesn't need to be touched. it could be re-done in QML and the panel containment could use that instead. it wouldn't be a big change. still, i wouldn't worry about that. instead, i'd focus first on making the toolbox window that pops up _itself_ QML as that is far more interesting and useful. iow: don't worry about touching the panel itself :) Thanx for the information. But i still do have a few questions.. - The panel contains the toolbox icon (that's all just fine and i don't edit one bit in there) - The tool box icon in the panel can be clicked -- where is that code hidden? -- - Once it's clicked it should open up a qml file... How do i do that inside the existing codebase? That's about it. If i know that (specially the last one) then i can start hacking my way ^_^ ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: Some help for recreating the Plasma Tool Box in QML
On Tuesday, October 25, 2011 14:10:54 Mark wrote: - The tool box icon in the panel can be clicked -- where is that code hidden? -- kde-workspace/plasma/desktop/shell/toolbox/paneltoobox.* which really should be in desktop/toolboxes imo, and not in with the shell. i'll fix that right now and then they will be in: kde-workspace/plasma/desktop/toolboxes/paneltoobox.* - Once it's clicked it should open up a qml file... How do i do that inside the existing codebase? this code is in desktop/shell/ in the PanelView and PanelController classes. in PanelView, it connects to the containment this way: connect(containment, SIGNAL(toolBoxToggled()), this, SLOT(togglePanelController())); so when the containment says its toolbox was toggled (e.g. when clicked) then PanelVIew::togglePanelController runs which shows a PanelController. PanelController is what would get replaced by your QML. That's about it. If i know that (specially the last one) then i can start hacking my way ^_^ cool :) if you have any further questions as you go, just ask! -- Aaron J. Seigo humru othro a kohnu se GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43 KDE core developer sponsored by Qt Development Frameworks signature.asc Description: This is a digitally signed message part. ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: Some help for recreating the Plasma Tool Box in QML
On Tue, Oct 25, 2011 at 3:07 PM, Aaron J. Seigo ase...@kde.org wrote: On Tuesday, October 25, 2011 14:10:54 Mark wrote: - The tool box icon in the panel can be clicked -- where is that code hidden? -- kde-workspace/plasma/desktop/shell/toolbox/paneltoobox.* which really should be in desktop/toolboxes imo, and not in with the shell. i'll fix that right now and then they will be in: kde-workspace/plasma/desktop/toolboxes/paneltoobox.* Oke. Just wondering if you could explain why..? I have no clue why one is either good or bad :p - Once it's clicked it should open up a qml file... How do i do that inside the existing codebase? this code is in desktop/shell/ in the PanelView and PanelController classes. in PanelView, it connects to the containment this way: connect(containment, SIGNAL(toolBoxToggled()), this, SLOT(togglePanelController())); so when the containment says its toolbox was toggled (e.g. when clicked) then PanelVIew::togglePanelController runs which shows a PanelController. PanelController is what would get replaced by your QML. Awesome! That certainly gets me started, That's about it. If i know that (specially the last one) then i can start hacking my way ^_^ cool :) if you have any further questions as you go, just ask! Ohh i will ^_- -- Aaron J. Seigo humru othro a kohnu se GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43 KDE core developer sponsored by Qt Development Frameworks ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: Some help for recreating the Plasma Tool Box in QML
On Tuesday, October 25, 2011 15:22:16 Mark wrote: kde-workspace/plasma/desktop/shell/toolbox/paneltoobox.* which really should be in desktop/toolboxes imo, and not in with the shell. i'll fix that right now and then they will be in: kde-workspace/plasma/desktop/toolboxes/paneltoobox.* Oke. Just wondering if you could explain why..? I have no clue why one is either good or bad :p not so much good or bad as just better or worse :) we try and keep each type of plugin (applet, containment, dataengines, wallpapers, runner, etc) in their own subdirectories. the idea is that this way it is easier to find things based on what the item is, it gives some general structure to the code tree and it prevents the temptation to weld components (esp applets and dataengines, but in this case the shell and the toolboxes) too tightly together by nature of them living in the same place in the code tree. hth.. -- Aaron J. Seigo humru othro a kohnu se GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43 KDE core developer sponsored by Qt Development Frameworks signature.asc Description: This is a digitally signed message part. ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: Some help for recreating the Plasma Tool Box in QML
On Friday, 2011-10-21, Mark wrote: On Fri, Oct 21, 2011 at 2:03 PM, Anton Kreuzkamp akreuzk...@web.de wrote: On Thursday 20 October 2011 16:27:37 Mark wrote: * What is the current way to get the basic KDE SC running from Git? * What environment variables do i need to set to use KDE from Git (libdir, bindir...)? The easiest (and I think also recommended) way is kdesrc-build. I'm guessing there is no guide anymore to setup KDE from git under a separate user like there was with svn? Just to avoid a misunderstanding, but using kdesrc-build is orthogonal to using a separate user for development. My own setup is to use a separate user account for KDE development and I am letting kdebuild-src handle checkout/update, build and install. Cheers, Kevin -- Kevin Krammer, KDE developer, xdg-utils developer KDE user support, developer mentoring signature.asc Description: This is a digitally signed message part. ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: Some help for recreating the Plasma Tool Box in QML
On Thu, Oct 20, 2011 at 7:57 PM, Mark mark...@gmail.com wrote: * What is the current way to get the basic KDE SC running from Git? Build kdelibs, kde-runtime, libkactivities and kde-workspace. * What environment variables do i need to set to use KDE from Git (libdir, bindir...)? I use the same old bashrc from techbase. * Which branches do i need for QML + KDE? Master on all of the above repos will do. * Where do i need to be for recreating the plasma tool box in QML? kdebase-workspace? I guess, but I'm not sure. * How do i get a QML file running without the window decorations (the current plasma tool box doesn't have decorations so i guess i don't want them in QML either) Well, I'm not sure if it is possible to just change a part of the panel (the tool box). You'd need to re-do the panel in qml, afaik. But again, not sure. * Target: KDE 4.8? I prefer to use KDE from git since (as far as i understand it) the new KDE QML components made during this GSoC are in either a special git branch or in the branch that becomes KDE 4.8. And i'm kinda fearing odd problems if i use git for that but KDE 4.7 for the rest. Please do correct me if i'm wrong. I think that covers about all my questions. Last but not least. Above is just my idea of what i'd like to do. I've not spend any time yet on making anything and don't know if anyone else is already working on this. I also don't know if this is a change people want.. So some more information here would be nice. Kind regards and thanx in favor for any responses, Mark ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: Some help for recreating the Plasma Tool Box in QML
On Thursday 20 October 2011 16:27:37 Mark wrote: * What is the current way to get the basic KDE SC running from Git? * What environment variables do i need to set to use KDE from Git (libdir, bindir...)? The easiest (and I think also recommended) way is kdesrc-build. ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: Some help for recreating the Plasma Tool Box in QML
On Fri, Oct 21, 2011 at 2:03 PM, Anton Kreuzkamp akreuzk...@web.de wrote: On Thursday 20 October 2011 16:27:37 Mark wrote: * What is the current way to get the basic KDE SC running from Git? * What environment variables do i need to set to use KDE from Git (libdir, bindir...)? The easiest (and I think also recommended) way is kdesrc-build. I'm guessing there is no guide anymore to setup KDE from git under a separate user like there was with svn? If that's the case than i might as well document my steps and make the guide ^_^ @Viranch Mehta Well, I'm not sure if it is possible to just change a part of the panel (the tool box). You'd need to re-do the panel in qml, afaik. But again, not sure. erm... I'm fine with that as well, but i have no clue how i can hook those plasmoids things inside a qml panel.. Like for example the tasklist, system tray and clock. I'm guessing that makes it way more complicated. ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel