Commit Graph

636 Commits

Author SHA1 Message Date
Alex Merry
355a95fe92 Fix debug build
Fix a pointer-dereference of a non-pointer variable.
2013-05-11 12:24:24 +01: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
13c5cf9380 use dialogRoot.vertical 2013-05-09 20:48:36 +02:00
Marco Martin
8d4ddfe2a5 snap 2013-05-09 20:46:51 +02:00
Marco Martin
da59b50ce7 add the center indicator 2013-05-09 20:42:42 +02:00
Marco Martin
b57d9e02c0 center align starts to work
still not perfect
2013-05-09 20:30:31 +02:00
Marco Martin
c2640b28c6 rulers work for left and right alignments 2013-05-09 17:13:07 +02:00
Marco Martin
bbb5e08d58 working menu to switch between panel alignments 2013-05-09 16:16:28 +02:00
Marco Martin
c13a58cf11 checkable and checked properties 2013-05-09 16:16:16 +02:00
Marco Martin
57b3883542 take a central rect where no switch occurs 2013-05-09 14:16:58 +02:00
Marco Martin
4c76e033a4 set current sizes on state change 2013-05-09 14:08:43 +02:00
Marco Martin
1d6382d48c slightly more reliable formfactor switching 2013-05-09 13:52:51 +02:00
Marco Martin
3658a71935 better size hints 2013-05-09 12:30:55 +02:00
Marco Martin
493a88dc82 all handles in own files 2013-05-09 11:15:48 +02:00
Script Kiddy
efd78e230e SVN_SILENT made messages (.desktop file) 2013-05-09 09:23:56 +02:00
Marco Martin
3bfb6a61a3 use toolbuttons 2013-05-08 22:05:36 +02:00
Marco Martin
572163bae3 better alignment 2013-05-08 21:58:07 +02:00
Marco Martin
b860d42cb1 duplication-- 2013-05-08 21:51:34 +02:00
Marco Martin
07b1f67ec5 svg for controller background 2013-05-08 19:39:36 +02:00
Marco Martin
8e14ed33a4 e svg for the ruler 2013-05-08 19:32:23 +02:00
Marco Martin
8c07b27cb2 move the offset button in new file 2013-05-08 14:22:22 +02:00
Marco Martin
9f88d14d73 geometry controls quite reliable
alignment still completely todo
2013-05-08 14:10:16 +02:00
Marco Martin
a6c82d8a5e correctly save and restore to/from plasma-shellrc 2013-05-08 13:52:40 +02:00
Marco Martin
c28b0676ac working thickness settings 2013-05-08 11:20:06 +02:00
Marco Martin
37cfe4a023 crude controls for panel geometry 2013-05-08 11:16:38 +02:00
Marco Martin
5ce80b4af4 fix return 2013-05-07 21:57:54 +02:00
Aaron Seigo
001d88a0a4 bump the v# 2013-05-07 12:32:05 +02:00
Marco Martin
f9436999d9 fix the wallpaper configuration
still pretty hacky, makes a lot of assumptions about the scriptengine
object hyerarchy and for some reason digging  a ConfigPropertyMap out of
a qvariant doesn't work properly
2013-05-07 11:57:08 +02:00
Script Kiddy
2160fa2c71 SVN_SILENT made messages (.desktop file) 2013-05-06 09:33:23 +02:00
Script Kiddy
051ed6c8ed SVN_SILENT made messages (.desktop file) 2013-05-04 09:56:14 +02:00
Marco Martin
b6215f9340 fix loading of the first config page 2013-05-03 18:07:47 +02:00
Sebastian Kügler
a8ac6ab694 Add Plasma/Generic servicetype
This irons out an asymmetry: Plasma/Generic was never read from
KService, as the service type wasn't registered, we just looked it up in
the right directory.

This patch allows us to use KService to list packages, the
installPackage cmake macro installs the service files for us already.
Apps that look up the package in the "right path" still work.
2013-05-02 23:54:11 +02:00
Sebastian Kügler
a515edf387 Delete bare-bones toolbox
We can use the one in kde-workspace[frameworks-scratch] now
2013-05-02 23:49:46 +02:00
Marco Martin
1137b4ea5c remove associated items/widgets 2013-05-02 19:02:06 +02:00
Marco Martin
4692c941af add ServiceOperationStatus binding
this class is used to monitor the enabled status of service operations
2013-05-02 18:56:00 +02:00
Marco Martin
8f61ecbe49 remove operationsChanged signal 2013-05-02 18:13:05 +02:00
Marco Martin
4397a6c06d add operationEnabledChanged signal 2013-05-02 18:11:20 +02:00
Marco Martin
08ed91d7e0 Data is a QVariantmap again
this means that DataEngines and the Storage Service are directly usable from QML2 again
2013-05-02 18:02:38 +02:00
Marco Martin
465c202b9b remove dead code 2013-05-02 17:42:07 +02:00
Marco Martin
5b648e5a23 complete migration, storage test passes
results still have to be converted in qmaps
2013-05-02 15:33:57 +02:00
Marco Martin
b0530820ec use variant maps instead of configgroups
services operationdescriptions are now QVariantMaps
2013-05-02 14:46:29 +02:00
Marco Martin
aa8ed30fda ConfigLoaderHandlerMap that loads config in maps
ConfigLoaderHandlerMap populates a qvariantmap instead of a kconfigskeleton
will be used by service for operations
2013-05-02 13:31:18 +02:00
Marco Martin
e58ab0bc99 move ConfigLoaderHandler in own header 2013-05-02 11:33:23 +02:00
Marco Martin
1d7c6af919 remove Service::access() 2013-05-02 11:02:06 +02:00
Script Kiddy
fc3f25b2a7 SVN_SILENT made messages (.desktop file) 2013-05-02 09:19:42 +02:00
Sebastian Kügler
6a830d676b fix typos in i18n comments 2013-05-02 05:06:35 +02:00
Script Kiddy
b105c2a56c SVN_SILENT made messages (.desktop file) 2013-05-01 09:15:13 +02:00
Script Kiddy
f784cfb07f SVN_SILENT made messages (.desktop file) 2013-04-30 17:38:15 +02:00
Sebastian Kügler
47c63deb6f elegantly work around
the hack
2013-04-30 02:59:02 +02:00
Sebastian Kügler
b68317e930 Use QVariant for MenuItem::icon
This way, we can cover string and QIcon assignments transparently,
another backwards compatibility fix, and easier thing in Plasma2: Now
the user doesn't have to worry about creating QIcons, but can just
assign the icon name, and it will get loaded from the theme. Models that
provide QIcons (such as QStandardItems) now work correctly with
PlasmaCore.MenuItems.
2013-04-30 02:50:42 +02:00
Sebastian Kügler
cb5f8a3248 Clip the applet and prevent some mess on the screen 2013-04-30 02:34:48 +02:00
Sebastian Kügler
e4976005c6 Fix crasher with 0x0 windows
It can happen that the visualParent has no window attached, so don't
access it. In this case, use the visualParent's geometry.
2013-04-30 02:33:17 +02:00
Sebastian Kügler
20aa17dfe7 FrameSvgItem background for widgetexplorer window 2013-04-30 02:06:44 +02:00
Sebastian Kügler
c5bb3cecf5 Improve macro usage
Now that we have the improved macro, use the type name in the desktop
file name
2013-04-29 18:35:25 +02:00
Marco Martin
05667460e5 less friends 2013-04-29 12:45:40 +02:00
Sebastian Kügler
f5192aa1fe those cmake files aren't needed anymore 2013-04-27 03:45:03 +02:00
Sebastian Kügler
992587bb8c Move show package info after parsing -t flag
This makes showing the contents of all package types possible.
2013-04-27 03:38:47 +02:00
Sebastian Kügler
29d823cde7 Correct loginmanager mainscript 2013-04-27 03:38:25 +02:00
Sebastian Kügler
f4238d7cb2 Add mainscript so the packages are actually valid 2013-04-27 03:37:45 +02:00
Sebastian Kügler
5175188693 Skeleton for Look & Feel package
This is an empty package, with directories and zero-sized files set up
that can be filled in.
2013-04-27 03:36:32 +02:00
Sebastian Kügler
015b20e514 Correct Messages.sh
../lookandfeel/
2013-04-27 03:13:01 +02:00
Sebastian Kügler
1c73bf2e27 Use installPackage macro for shell/qmlpackages
This now installs the service types correctly, so they can be found
using KServiceTypeTrader (and thus using plasmapkg).
2013-04-27 03:07:39 +02:00
Sebastian Kügler
43812710d5 plasmapkg: Add type argument to --list-types output
It's a bit silly to list the types, but don't tell the user which
argument the -t flag expects, so add those to the --list-types output
2013-04-27 02:39:13 +02:00
Sebastian Kügler
fe71859688 Add Shell and Look and Feel package types to plasmapkg 2013-04-27 02:26:35 +02:00
Sebastian Kügler
a426264037 fix package root for wallpapers, makes it find the metadata, add debug 2013-04-26 23:48:50 +02:00
Marco Martin
31e39640ce correct kdeclarative includes 2013-04-26 17:36:45 +02:00
Marco Martin
304fdeff5d reorganize shell package 2013-04-26 17:10:39 +02:00
Marco Martin
36c25f085d make the "plasmoid" property work agaon 2013-04-26 13:42:23 +02:00
Marco Martin
5e906f24c7 Merge branch 'configdialog_in_shell' 2013-04-26 13:28:08 +02:00
Marco Martin
b0b03f4a8f create config uis always from the same point 2013-04-26 13:00:07 +02:00
Marco Martin
f6765fda8c bind the panel again to the config dialog 2013-04-26 10:46:42 +02:00
Script Kiddy
03a2990b9f SVN_SILENT made messages (.desktop file) 2013-04-26 08:58:42 +02:00
Marco Martin
7301f6d8b7 panelconfigview is a subclass of configview 2013-04-25 22:38:27 +02:00
Marco Martin
d44f0973d3 get rid of local qmlobject and config bindings
they're in kdeclarative now
2013-04-25 20:56:36 +02:00
Marco Martin
7be9da07b4 correctly load containment config ui 2013-04-25 15:07:02 +02:00
Marco Martin
5efb247935 correctly build the wallpaper model 2013-04-25 14:11:53 +02:00
Marco Martin
4feb02c329 config ui of applets should work again 2013-04-25 11:43:00 +02:00
Script Kiddy
6a2dbd38d6 SVN_SILENT made messages (.desktop file) 2013-04-25 09:27:27 +02:00
Sebastian Kügler
5b95a759c9 use qdebug 2013-04-25 03:24:28 +02:00
Sebastian Kügler
77f8d35ea9 Install wallpaper, shell and lookandfeel servicetypes 2013-04-25 03:23:53 +02:00
Sebastian Kügler
f9ec377f6e disable fs-based listing for wallpapers, works with kservice now 2013-04-25 03:23:35 +02:00
Sebastian Kügler
c73761689e Correct service type 2013-04-25 03:23:06 +02:00
Sebastian Kügler
7da43cfdc9 Use new service type and cmake macro for wallpapers 2013-04-25 02:13:02 +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
db5ef57480 make sure we don't access an invalid config and crash 2013-04-23 18:17:08 +02:00
Script Kiddy
e1f17c63b6 SVN_SILENT made messages (.desktop file) 2013-04-23 17:19:30 +02:00
Script Kiddy
daea562789 SVN_SILENT made messages (.desktop file) 2013-04-22 09:05:22 +02:00
Sebastian Kügler
c835af2d06 Move image wallpaper to color, reflecting reality 2013-04-21 18:37:03 +02:00
Aaron Seigo
5806fa8077 make it all work for reals 2013-04-21 18:36:00 +02:00
Aaron Seigo
f1316f0ce2 add the runtime platform entry 2013-04-21 18:35:52 +02:00
Aaron Seigo
114de64ed4 correct the .desktop file 2013-04-21 18:16:50 +02:00
Aaron Seigo
dad03a43ce first draft of the platform status kded module 2013-04-21 18:04:29 +02:00
Sebastian Kügler
53a70b703d Add servicetypes for Wallpaper, Shell and LookAndFeel
CCMAIL:plasma-devel@kde.org
2013-04-21 18:02:37 +02:00
Sebastian Kügler
e055ad43db file definitions for LnF package 2013-04-21 17:55:55 +02:00
Sebastian Kügler
c2a1cfb95c Directory definitions for Look and Feel package structure 2013-04-21 16:27:54 +02:00
Sebastian Kügler
54bd825668 Start of look and feel package structure 2013-04-21 11:21:41 +02:00
Marco Martin
79d5724ef1 always emit Containment::requestConfiguration()
emit that signal when the configure action is treggered for each applet,
the applet pointer to the interested applet is passed

is the first step for moving config ui i the sell
2013-04-20 18:31:57 +02:00
Sebastian Kügler
0fbe46415c comment improvements 2013-04-18 17:29:57 +02:00
Stephen Kelly
268f44fc3b Remove use of qt4_automoc.
It is obsolete.
2013-04-12 11:09:43 +02:00
Sebastian Kügler
e660246b2b more output polishing 2013-04-12 02:59:31 +02:00