Sebastian Kügler
98b4ceb3a2
Watch out for invalid wallpaper packages
2013-03-28 01:58:52 +01:00
Sebastian Kügler
2ac12c5fe6
Fix typo in var name
2013-03-28 01:50:19 +01:00
Marco Martin
395dc9b381
manage the case a containment behaves as an applet
...
however loading mechanism should be changed to make applets in containments always be an Applet*
2013-03-21 19:05:53 +01:00
Marco Martin
5e3723cd7c
a very simple panel controller
...
dummy, but setting the offset already works
2013-03-19 22:07:27 +01:00
Sebastian Kügler
729c3fed2d
expose Applet::id() in the plasmoid object
...
We need this in the containment to do our book-keeping, if we just guess
the applet id, we don't know which containment is passed into
addApplet(), so we can't know where to restore it. So we use applet.id
to match a geometry saved to the config with the applet that is being
loaded.
2013-03-19 00:29:48 +01:00
Sebastian Kügler
0d3f204acb
add debug for toolbox
2013-03-18 21:43:56 +01:00
Sebastian Kügler
682ac73078
qmlRegisterType QAction, needed for plasmoid actions
2013-03-18 19:48:16 +01:00
Marco Martin
056d45d197
fix version number
2013-03-14 15:36:38 +01:00
Script Kiddy
e331e06425
SVN_SILENT made messages (.desktop file)
2013-03-14 09:57:34 +01:00
Script Kiddy
edb2603012
SVN_SILENT made messages (.desktop file)
2013-03-12 17:26:19 +01:00
Script Kiddy
ca81fda6e7
SVN_SILENT made messages (.desktop file)
2013-03-10 08:58:07 +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
5b7af5f117
make wallpaper configuration work after wallpaper switch
2013-03-07 16:59:32 +01:00
Marco Martin
18a663228f
switch wallpaper plugins
2013-03-07 15:27:53 +01:00
Marco Martin
6cede145d5
configview exposes more stuff for containments: subclass
2013-03-06 17:53:03 +01:00
Marco Martin
132adc7f21
possible to configure wallpapers != from current
2013-03-06 14:20:20 +01:00
Marco Martin
3dee256411
get default containments and toolbox from package
2013-03-05 17:22:00 +01:00
Marco Martin
53c161fb58
packages without structure are invalid
2013-03-05 14:23:52 +01:00
Marco Martin
8646393758
shell package partly working
2013-03-05 13:58:18 +01:00
Aaron Seigo
e9c25137e3
add a configmodel item to the package
2013-03-02 00:05:50 +01:00
Marco Martin
7064d02e1a
expose the wallpaper config to the config ui
...
there is still a serious problem: it is possible to configure only the currently loaded wallpaper plugin
2013-03-01 20:01:54 +01:00
Marco Martin
f5664e8b3f
try to add a config
2013-03-01 16:39:47 +01:00
Marco Martin
6f5a593d91
WallpaperInterface for wallpapers
...
will be used to provide configuration access and a configuration UI
2013-03-01 15:11:08 +01:00
Marco Martin
c3924c75b7
remove createConfigurationInterface
...
configuration interface stuff is done right now in the ConfigView class, right now in the qml scriptengine (may be moved to the shell eventually)
2013-03-01 11:36:58 +01:00
Marco Martin
099319a911
preliminary list of wallpaper plugins
2013-02-28 21:24:30 +01:00
Marco Martin
b88339cb4a
attempt to load different page set for containments
2013-02-28 16:33:44 +01:00
Marco Martin
53df27b8b7
config.qml is a pure model, search in config/
2013-02-27 18:33:09 +01:00
Marco Martin
6458522bbc
migrate page loading to ConfigModel
2013-02-27 18:33:09 +01:00
Marco Martin
872839ecf9
a simple model to parse config categories
...
ConfigModel will be used in the plasmoid config qml that defines a model for the categories of the config dialog
2013-02-27 17:41:31 +01:00
Marco Martin
7e96fe9000
resizing based on contents implicit sizes
...
still to be made a tad more reliable
2013-02-27 14:03:36 +01:00
Marco Martin
de8644af69
make the config.qml object a "model"
2013-02-26 21:48:36 +01:00
Marco Martin
fd9282d22f
auto load first page
2013-02-26 13:58:37 +01:00
Marco Martin
3a5e5f931b
close window on ok/cancel pressed
...
delete window on close
2013-02-26 12:47:08 +01:00
Aaron Seigo
c9ff91fb0f
expose the KActionCollection instead of wrapping its API
2013-02-25 16:31:26 +01:00
Marco Martin
4a24e49317
remove ContainmentActions::configurationRequired
...
plugins will have to manage themselves wether they need to be configured
2013-02-25 14:31:36 +01:00
Marco Martin
75ddf58938
ConfigView::configPages() is a list of dialogs
...
returns a list of data to create the pages: a title, an icon and a component
2013-02-22 20:58:54 +01:00
Marco Martin
949d114eec
move the config view in a separate file
2013-02-22 18:24:36 +01:00
Script Kiddy
459b49fff9
SVN_SILENT made messages (.desktop file)
2013-02-22 18:03:06 +01:00
Marco Martin
ff089521af
actually load config ui files
2013-02-22 15:43:01 +01:00
Marco Martin
cfe6a40d3d
ad a stub config ui
...
the config ui layout will be decided from the corona.
the desktop one will end up having desktop components
still missing:
* binding to plasmoid object
* way close the dialog
* use ok/apply/cancel
* how to implement difference between ok to apply and instant apply?
2013-02-22 15:10:55 +01:00
Marco Martin
8ba734f05b
correct item resize
...
comment out more old api
will be reenable one by one only when needed
2013-02-20 15:51:28 +01:00
Marco Martin
18a050c1b3
delay creation of containments as well
2013-02-19 20:33:25 +01:00
Marco Martin
222e132ecd
use the function QmlObject::createObjectFromSource
2013-02-19 20:20:32 +01:00
Marco Martin
31c442f39a
QmlObject::setQmlPath -> setSource
...
to be consistent with QQuickView
2013-02-19 19:27:10 +01:00
Marco Martin
08f9417c32
move object creations inside appletInterface
2013-02-19 19:27:10 +01:00
Marco Martin
26b5b98e0a
start to delay a bit objects creation.
...
use a component incubator to create objects whuile the event loop is running
load applets ui only when they get a view
it will have to be cleaned out a lot, by moving the loading logic into AppletInterface
2013-02-19 17:27:32 +01:00
Marco Martin
22918af6b4
better organization of DeclarativeAppletScript::init(
2013-02-19 14:47:11 +01:00
Marco Martin
82930e7226
try to use a simple incubator to make loading appear smooter
2013-02-19 14:40:03 +01:00
Marco Martin
f5b51c7c54
Containment::Type -> Plasma::ContainmentType
2013-02-19 13:52:32 +01:00
Marco Martin
ca799b08bf
containmentActions logic is in ContainmentInterface
...
a copy is still in Containment, will be cleaned in next commit
2013-02-19 11:52:51 +01:00