Some help for recreating the Plasma Tool Box in QML
markg85 at gmail.com
Tue Oct 25 13:22:16 UTC 2011
On Tue, Oct 25, 2011 at 3:07 PM, Aaron J. Seigo <aseigo at 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? --
> 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:
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
> > the existing codebase?
> this code is in desktop/shell/ in the PanelView and PanelController
> in PanelView, it connects to the containment this way:
> connect(containment, SIGNAL(toolBoxToggled()), this,
> so when the containment says its toolbox was toggled (e.g. when clicked)
> 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 at kde.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Plasma-devel