Commit Graph

31 Commits

Author SHA1 Message Date
Marco Martin
c90e6d23cf rename Plasma::ContainmentType 2013-05-14 18:34:40 +02:00
Marco Martin
e07600a83f Put all Plasma emums in a Types class
This makes possible to use them directly frmo QML
as a minus, is not pretty and requires tons of search and replace in old
c++ code
2013-05-10 19:29:13 +02:00
Marco Martin
a6c82d8a5e correctly save and restore to/from plasma-shellrc 2013-05-08 13:52:40 +02:00
Marco Martin
b0b03f4a8f create config uis always from the same point 2013-04-26 13:00:07 +02:00
Marco Martin
4feb02c329 config ui of applets should work again 2013-04-25 11:43:00 +02:00
Marco Martin
e7ca00e534 move the config dialog in the shell
it still doesn't successfully load
2013-04-24 22:54:46 +02:00
Sebastian Kügler
b2e2cff847 various improvements and fixes to widgetexplorer 2013-03-26 03:54:35 +01:00
Sebastian Kügler
f9b52427e7 Move widgetexplorerview into its own class 2013-03-26 02:41:58 +01:00
Sebastian Kügler
9bc347006d Connect closeClicked signal 2013-03-26 02:06:40 +01:00
Marco Martin
b8b3c0a89c make the view transparent
fixes rendering on nvidia
2013-03-21 16:58:06 +01:00
Sebastian Kügler
12f481e50a header cleanup, copyrights, runtime warnings-- 2013-03-21 05:22:46 +01:00
Sebastian Kügler
64b3812c05 logic to load Plasmoids
- 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 :-)
2013-03-21 05:04:17 +01:00
Sebastian Kügler
1619430697 add WidgetExplorer object to the rootContext
- 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.
2013-03-21 04:03:05 +01:00
Sebastian Kügler
d4d9b70721 window title for add widgets 2013-03-21 01:06:43 +01:00
Sebastian Kügler
94d14ac5da Widgetexplorer - wiring up
- 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.
2013-03-21 01:03:44 +01:00
Marco Martin
46b83aaced adapt to api change 2013-03-13 14:00:51 +01:00
Marco Martin
8a8a9554e9 execute the update scripts, if any 2013-03-13 13:30:37 +01:00
Marco Martin
0223f929dd listen to print and printError 2013-03-13 13:18:49 +01:00
Marco Martin
af6e538fa4 make the desktop scripting finally work
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
2013-03-07 21:25:30 +01:00
Marco Martin
cc142eddbc add desktop scripting files, use it
still partially stub
2013-03-07 17:39:10 +01:00
Marco Martin
3dee256411 get default containments and toolbox from package 2013-03-05 17:22:00 +01:00
Marco Martin
8646393758 shell package partly working 2013-03-05 13:58:18 +01:00
Marco Martin
4746d9074e add apluginloader for a custom package structure
probably this package structure goes into libplasma
2013-03-05 13:34:18 +01:00
Marco Martin
585c1ec21e remove appletMimeType()
addContainment becomes createContainment
2013-03-04 16:15:04 +01:00
Marco Martin
0b6770e2b2 Containment::addApplet -> Containment::createApplet 2013-02-28 13:32:47 +01:00
Marco Martin
f5b51c7c54 Containment::Type -> Plasma::ContainmentType 2013-02-19 13:52:32 +01:00
Marco Martin
bb005f1cc5 remove perVirtualdesktop views
remove any desktop reference from setScreen and containmentForScreen
along with lastScreen and lastDesktop
2013-02-18 18:05:45 +01:00
Marco Martin
44699e7e0d make alpha blended panels work
unfortunately all windows must have alpha channel
2013-02-15 12:31:39 +01:00
Marco Martin
dc5ccd2d76 be quiet 2013-02-14 19:56:36 +01:00
Marco Martin
4e44bc4c31 support for containment type in the desktop file
add a test panel containment
2013-02-14 19:12:11 +01:00
Sebastian Kügler
7dfe957e66 The Big Move
All cpp code moves into the src/ subdirectory, as the Frameworks policy
suggests.

Directory structure should now be in line with other, future frameworks.
2013-02-14 17:17:12 +01:00