- add a mousearea to the delegate that calls
widgetExplorer.addApplet(pluginName)
- in widgetsexplorer, locate the plasmoid, load it via
Applet::loadPlasmoid(), then add it to the containment
- In showWidgetExplorer, we set the widgetExplorer's containment to the
sender(), if there's no containment set, we can't add the applet. This
way, the widgetexplorer knows which containment the applet should go to
This makes it possible to add Plasmoids via the GUI :-)
- WidgetExplorer is parented to the view, and deleted / init'ed along
with it
- the model is populated before the QML UI is loaded
The explorer now shows a list of widgets, no interaction atm.
- add explorer subdirectory to shellpackge, add widgetexplorer filedefinition
- hook up containment added with a connection to showing the widget
explorer
- memory management for widget explorer: create on demand, delete after
close: Maybe we want to cache it? For now, go for reduced memory
consumption rather than quick opening, and see how slow this might
react.
- add QQuickView for widget explorer in desktopcorona
With this patch, I can open a widget explorer window from the QML
containment. Of course, the widget explorer is just a pink window right
now.
completely migrate to X-Plasma-ContainmentType from the desktop file, use it to set the containment type as soon as possible (in Containment::init())
in this way the desktop script can recognize panels as what they are immediately
All cpp code moves into the src/ subdirectory, as the Frameworks policy
suggests.
Directory structure should now be in line with other, future frameworks.