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