Commit Graph

12400 Commits

Author SHA1 Message Date
Marco Martin
857150c183 the expander is compactrepresentation child
because it'll contain a tooltip too
2014-02-07 12:20:43 +01:00
Sebastian Kügler
462407eba7 Fix notes example, svg loading was wrong 2014-02-07 03:32:20 +01:00
Sebastian Kügler
b2ead1fe09 Merge branch 'master' into sebas/themeswitch2 2014-02-06 23:56:47 +01:00
David Edmundson
2b7a1eef48 Initialise values
Fixes valgrind screaming about us doing a jump on unitialised memory
2014-02-06 19:07:43 +01:00
Marco Martin
ab140c8c1e add properties for tooltips metadata 2014-02-06 18:49:28 +01:00
Sebastian Kügler
eebfb64d0a Merge branch 'master' into sebas/themeswitch2 2014-02-06 17:56:28 +01:00
Marco Martin
cab11dd7f8 change expanded accordingly when applet expands or collapses 2014-02-06 13:57:53 +01:00
Marco Martin
3858044d25 Merge branch 'mart/AppletAttached'
Conflicts:
	src/declarativeimports/core/dialog.cpp
	src/scriptengines/qml/plasmoid/containmentinterface.cpp
2014-02-06 13:16:11 +01:00
David Edmundson
e82b1dab9d Enable Plasma Controls for tab-navigation 2014-02-06 12:35:32 +01:00
David Edmundson
a3a434ced5 Upgrade all components to use QtQuick2.1
This has some new features like activeFocusOnTab which are awesome.
2014-02-06 12:16:43 +01:00
Marco Martin
3bb0e7d3d0 use the config of the applet parent of containment
that's the systray specific hack
2014-02-06 12:12:43 +01:00
l10n daemon script
34284e90eb SVN_SILENT made messages (.desktop file) 2014-02-06 04:12:17 +00:00
Sebastian Kügler
585aa4998a noise-- 2014-02-06 04:00:39 +01:00
Sebastian Kügler
15e4d93102 PanelConfigView respects contrast effect settings 2014-02-06 03:52:56 +01:00
Sebastian Kügler
62de49128e Don't forget the Blur behind the panel 2014-02-06 03:52:11 +01:00
Sebastian Kügler
60e955784c PlasmaCore.Dialog respects contrast effect settings 2014-02-06 03:51:14 +01:00
Sebastian Kügler
f13ac96f29 Air uses values for light theme, not dark. 2014-02-06 02:54:18 +01:00
Sebastian Kügler
d9e43ff979 Be smarter about contrast effect reading
This commit allows the theme designer to just enable and disable the
effect (enable=true). If no color values are set, values are picked
based on the background color. This essentially restores the hardcoded
values in some other places, and makes them available as sensible
defaults to other themes.

Also, make sure colors are read before the effect is applied (as we need
the new bg color to decide whether it's light or dark).
2014-02-06 02:51:46 +01:00
Sebastian Kügler
8e062ace17 panelview takes contrast effect config from Theme 2014-02-06 01:04:23 +01:00
Sebastian Kügler
67f333b387 Air theme gets configured to use the contrast effect 2014-02-06 01:00:46 +01:00
Sebastian Kügler
5dd4b51151 Plasma::Theme gets API for KWS' background contrast effect
From its api docs:

This method allows Plasma to enable and disable the background
contrast effect for a given theme, improving readability. The
value is read from the "enabled" key in the "ContrastEffect"
group in the Theme's metadata file.
The configuration in the metadata.desktop file of the theme
could look like this (for a lighter background):

[ContrastEffect]
enabled=true
contrast=0.45
intensity=0.45
saturation=1.7
2014-02-06 00:56:50 +01:00
David Edmundson
af82f2f0e7 Take into account screen positioning when detecting if out of bounds 2014-02-05 20:12:22 +01:00
David Edmundson
aada92247c Fix documentation 2014-02-05 20:04:33 +01:00
David Edmundson
3bbda089ed Add missing const 2014-02-05 20:04:23 +01:00
Marco Martin
29c72a9898 include appletquickitem_p.h from the right file 2014-02-05 18:00:05 +01:00
Martin Gräßlin
e69179e42e Fix cast error with new flags in NETWM 2014-02-05 17:42:24 +01:00
Marco Martin
f8b649fba9 move AppletQuickItem in libplasmaquick 2014-02-05 17:23:52 +01:00
David Edmundson
e0b6628541 Remove unused include 2014-02-05 17:22:24 +01:00
David Edmundson
b97e726ae2 Set minimumWidth of button to actually show the text
The minimumWidth of a plasma button is based on the paintedWidth
of the text item. There is no way to work out the correct width it
should be if we set the text to elide.
(except for the hack of using a hidden fake text item)

We should always fit contents. This won't cause any problems unless a
developer has a broken layout, at which point that should be fixed

REVIEW: 115500
2014-02-05 17:00:34 +01:00
Marco Martin
c363b33b43 don't assume containment() exists 2014-02-05 16:39:06 +01:00
Marco Martin
2f17e371d5 comments++ 2014-02-05 16:31:47 +01:00
Marco Martin
0f16569daa move more stuff in private 2014-02-05 16:23:57 +01:00
Marco Martin
c86a956c28 move private methods and slots in private 2014-02-05 16:02:28 +01:00
Marco Martin
7e53c7276a move private members in AppletQuickItemPrivate 2014-02-05 14:54:22 +01:00
Marco Martin
c196f8b748 AppletLoader->AppletquickItem 2014-02-05 14:19:39 +01:00
Marco Martin
b8a41a88f3 get rid of compactrepresentationexpander property 2014-02-05 14:07:23 +01:00
Marco Martin
4a5c20f954 getters and setters for packages 2014-02-05 13:51:41 +01:00
Marco Martin
74515ee2f5 use "_plasma_graphicObject" in applet*
to avoid possible collisions, use the private looking name "_plasma_graphicObject" for the dynamic property of Applet that represents the AppletInterface* pointer
2014-02-05 12:59:33 +01:00
Marco Martin
3325f24992 appletLoader doesn't depend from Declarativeappletscript 2014-02-05 12:51:31 +01:00
Marco Martin
e2ee69bf08 note about subclass property at left hand 2014-02-05 12:09:56 +01:00
Martin Gräßlin
91e9e401f0 Include config-plasma.h before checking for HAVE_X11
Fixes compile warning since kwindowsystem.h doesn't provide HAVE_X11
any more.

Reviewed-by: Marco Martin
2014-02-05 11:10:53 +01:00
David Edmundson
a951b7357b Remove leftover debug code 2014-02-04 19:16:07 +01:00
David Edmundson
ea7802a787 Add interface to open widget explorer from panel config 2014-02-04 19:04:38 +01:00
Marco Martin
308f59bc68 port to new api 2014-02-04 17:29:28 +01:00
Marco Martin
9275e84a99 add a Wallpaper attached property for wallpapers 2014-02-04 17:23:22 +01:00
Marco Martin
be4c13e627 call the import org.kde.plasma.plasmoid 2014-02-04 17:01:28 +01:00
Marco Martin
2a0384c3c7 keep locally applet and corona packages
less references to the corona()
2014-02-04 16:43:47 +01:00
Marco Martin
68f2de9ec3 correctly export containment properties 2014-02-04 16:18:45 +01:00
David Edmundson
27e5a2ab46 Fix multiscreen popup positioning
This patch makes two changes:
 1) don't rely on window()->screen() it's rubbish.

 2) if the dialog is parented to a desktop, we want to position
 inside the parent, not outside the parent object

REVIEW: 115448
BUG: 330546
2014-02-04 14:55:48 +01:00
Marco Martin
517403096d port improve cache file dropping to plasma-framework
this ports revision c03052935b082 on kdelibs

improve cache file dropping

* fix regression: version the image cache file name
* version the svg elements
* drop old svg elements files
* respond to changes at runtime by watching the theme's metadata.desktop for changes
* move creation of the svg elements file into ThemePrivate::useCache()

REVIEW:115397
2014-02-04 12:06:09 +01:00