Commit Graph

4285 Commits

Author SHA1 Message Date
David Nolden
42172d0178 Achieve the additional background painting without adding any public API
svn path=/trunk/KDE/kdelibs/; revision=962014
2009-05-01 12:17:04 +00:00
Aaron J. Seigo
0b5c4e1947 use Keywords instead of X-KDE-PluginInfo-Category so we can be translated and even support multiple categories!
svn path=/trunk/KDE/kdelibs/; revision=961933
2009-05-01 05:36:50 +00:00
David Nolden
347c0caac4 - Allow painting a background color, or a background pattern behind freely floating elements of the theme, to provide a better fallback mechanism for transparent themes when composition is not available.
The color/pattern is given through the configuration file, and updating due to changes of the configuration file works perfectly. A simple user-interface to use this will be added to the panel configuration.
If you want to try this out, put into the [Theme] section of your plasmarc file:
frameBackgroundColor=#aacc00 (Your picked color)
frameBackgroundColorAlpha=120 (Alpha value for the color, between 0 and 255, 0=invisible, 255=opaque)
frameBackgroundPattern=/path/to/image
frameBackgroundPatternAlpha=255 (Alpha value for the pattern, as above)

The color is painted first, then the pattern. They are painted into the mask defined by the theme, so this only works nicely with themes that supply proper masks.


svn path=/trunk/KDE/kdelibs/; revision=961915
2009-05-01 00:41:41 +00:00
Marco Martin
f2ba67f0b1 volume slider is smaller than the progress
svn path=/trunk/KDE/kdelibs/; revision=961832
2009-04-30 19:43:01 +00:00
Script Kiddy
a944b73723 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=961654
2009-04-30 14:06:30 +00:00
Rob Scheepmaker
6bb7eb1dee Fix memory leak on theme changes.
svn path=/trunk/KDE/kdelibs/; revision=961369
2009-04-30 00:46:57 +00:00
Rob Scheepmaker
af3c1f881d Set margins for spacer and empty extender label based on the extender-background margins, and also consider the extender empty if there are only empty groups in it.
BUG: 189451


svn path=/trunk/KDE/kdelibs/; revision=961366
2009-04-30 00:34:49 +00:00
Script Kiddy
680419c6bf SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=961135
2009-04-29 14:49:21 +00:00
Jacopo De Simoi
58fb144475 Constify the isValid() method (backported around one week ago)
Will fix in trunk on monday, but I have to do this before tagging (tomorrow) here in branch.  

Thanks to André for noticing that.

CCMAIL: Woebbeking@kde.org
CCMAIL: kde-core-devel@kde.org

svn path=/branches/KDE/4.2/kdelibs/; revision=960777
2009-04-29 04:02:44 +00:00
Aaron J. Seigo
7d8a4272cd put containment options last, make accidental removal of widgets a bit harder
BUG:188880

svn path=/trunk/KDE/kdelibs/; revision=960594
2009-04-28 17:30:46 +00:00
Aaron J. Seigo
614954756b we probably don't really need to see this on start up
svn path=/trunk/KDE/kdelibs/; revision=960581
2009-04-28 17:10:17 +00:00
Aaron J. Seigo
12000ecad1 no more white background, huzzah
svn path=/trunk/KDE/kdelibs/; revision=960564
2009-04-28 16:47:50 +00:00
Script Kiddy
f4758561a3 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=960471
2009-04-28 13:51:20 +00:00
Aaron J. Seigo
8ca16ac404 assigning the variable is a good, he says to himself.
svn path=/trunk/KDE/kdelibs/; revision=960162
2009-04-28 02:21:49 +00:00
Marco Martin
7e98d25210 put a border for each window
svn path=/trunk/KDE/kdelibs/; revision=960046
2009-04-27 20:16:22 +00:00
Aaron J. Seigo
3fd3c6bb37 --noise;
svn path=/trunk/KDE/kdelibs/; revision=959958
2009-04-27 16:33:15 +00:00
Aaron J. Seigo
7fc1a201ff i can't get work done with this noise
svn path=/trunk/KDE/kdelibs/; revision=959950
2009-04-27 16:04:28 +00:00
Aaron J. Seigo
2e1ca49249 * handle the activate()->setFocus() ourselves
* if we have a popup that is the extender and the extender is empty, don't show anything
BUG:190834

svn path=/trunk/KDE/kdelibs/; revision=959935
2009-04-27 15:25:02 +00:00
Aaron J. Seigo
8587298f41 connect the activate() signal sooner
svn path=/trunk/KDE/kdelibs/; revision=959934
2009-04-27 15:23:53 +00:00
Script Kiddy
49a0fbf07a SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=959874
2009-04-27 13:09:00 +00:00
Rob Scheepmaker
eb07a4988d Also move child items on a return to source, and store group's collapsed state.
svn path=/trunk/KDE/kdelibs/; revision=959734
2009-04-26 23:49:22 +00:00
Aaron J. Seigo
c8d29894f3 SVN_SILENT: @since fixes
svn path=/trunk/KDE/kdelibs/; revision=959692
2009-04-26 20:40:46 +00:00
Rob Scheepmaker
a5c48ddc4f Move children together with their group when the group gets moved, and add a group convenience function to extender to avoid needing all those casts from extenderitem to extendergroup. Plus some minor code cleanups.
svn path=/trunk/KDE/kdelibs/; revision=959604
2009-04-26 17:03:15 +00:00
Script Kiddy
ebcc06e25f SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=959528
2009-04-26 13:36:30 +00:00
Aaron J. Seigo
3c240aa807 append a '/' if needed
svn path=/trunk/KDE/kdelibs/; revision=959336
2009-04-26 03:15:25 +00:00
Aaron J. Seigo
d4c7994472 allow loading applets from packages directly
svn path=/trunk/KDE/kdelibs/; revision=959317
2009-04-26 00:43:20 +00:00
Kevin Ottens
1ceabde6ea Add forward headers and use them in the tests.
svn path=/branches/work/~ervin/qtjolie/; revision=959038
2009-04-25 14:06:25 +00:00
Kevin Ottens
e3a59c40e2 Kill the public Sodep class prefix. Now use a Jolie namespace.
svn path=/branches/work/~ervin/qtjolie/; revision=959030
2009-04-25 13:50:35 +00:00
Kevin Ottens
cac82a3792 First round at renaming to QtJolie and namespacing (also for headers).
svn path=/branches/work/~ervin/qtjolie/; revision=959005
2009-04-25 12:26:01 +00:00
Aaron J. Seigo
fc1c740837 get the highlight/unhilight and shown/unshown sorted out.. now it all works on for the spacer in the panel containment :)
svn path=/trunk/KDE/kdelibs/; revision=958825
2009-04-24 19:29:16 +00:00
Aaron J. Seigo
043a67fb78 SVN_SILENT: minor ws fix
svn path=/trunk/KDE/kdelibs/; revision=958824
2009-04-24 19:28:37 +00:00
Aaron J. Seigo
447ade0a4f Toolbox -> ToolBox
svn path=/trunk/KDE/kdelibs/; revision=958823
2009-04-24 19:28:17 +00:00
Aaron J. Seigo
6d7622271c * Toolbox -> ToolBox
* emit the signals only when things change

svn path=/trunk/KDE/kdelibs/; revision=958822
2009-04-24 19:27:58 +00:00
Richard Dale
9f2fc1d955 * Add a service type for scripting popup applets
svn path=/trunk/KDE/kdelibs/; revision=958546
2009-04-24 09:49:47 +00:00
Aaron J. Seigo
b5f306b91b licensing and what not
svn path=/trunk/KDE/kdelibs/; revision=958533
2009-04-24 08:55:31 +00:00
Aaron J. Seigo
4171786f21 add the template interface
svn path=/trunk/KDE/kdelibs/; revision=958529
2009-04-24 08:44:06 +00:00
Aaron J. Seigo
9ddc33a663 allow setting a QAction on push and tool buttons
svn path=/trunk/KDE/kdelibs/; revision=958514
2009-04-24 07:40:52 +00:00
Kevin Kofler
dcf0a75754 libplasma: Also fix the .pl part of my kconf_update script (need to use # DELETEGROUP to get the old group actually deleted).
svn path=/trunk/KDE/kdelibs/; revision=958386
2009-04-23 23:02:57 +00:00
Kevin Kofler
abf85379bb libplasma: Fix my kconf_update .upd file.
svn path=/trunk/KDE/kdelibs/; revision=958360
2009-04-23 21:19:44 +00:00
Aaron J. Seigo
977464bb65 don't keep threads around forever, let them finish
svn path=/trunk/KDE/kdelibs/; revision=958272
2009-04-23 16:40:18 +00:00
Aaron J. Seigo
44502959b8 remove some unecessary code
svn path=/trunk/KDE/kdelibs/; revision=958271
2009-04-23 16:38:38 +00:00
Aaron J. Seigo
718c24af43 correct connect statements
svn path=/trunk/KDE/kdelibs/; revision=958270
2009-04-23 16:38:16 +00:00
Richard Dale
bf61997a9f * Allow scripting PopupApplets to be created if the metadata.desktop for the
applet has a 'ServiceTypes=Plasma/PopupApplet' line

svn path=/branches/KDE/4.2/kdelibs/; revision=958045
2009-04-23 10:56:21 +00:00
Richard Dale
4bb4a0839e * Allow scripting PopupApplets to be created if the metadata.desktop for the
applet has a 'ServiceTypes=Plasma/PopupApplet' line

CCMAIL: kde-bindings@kde.org

svn path=/trunk/KDE/kdelibs/; revision=958044
2009-04-23 10:54:45 +00:00
Jacopo De Simoi
7334b569d0 Style corrected
svn path=/branches/KDE/4.2/kdelibs/; revision=957857
2009-04-23 02:14:43 +00:00
Jacopo De Simoi
55169a2fda Style correction - thanks Dan
svn path=/trunk/KDE/kdelibs/; revision=957856
2009-04-23 02:13:54 +00:00
Jacopo De Simoi
bfec24062b Backport the isValid() method along with 957813 and 957814
CCBUG: 188940

svn path=/branches/KDE/4.2/kdelibs/; revision=957816
2009-04-22 22:58:40 +00:00
Jacopo De Simoi
745eeeb79a Optimization: don't bother running the performMatch if the context is already invalid.
svn path=/trunk/KDE/kdelibs/; revision=957814
2009-04-22 22:53:48 +00:00
Jacopo De Simoi
7e598b49ec Invalidate the context using a dummy pointer instead of 0. This avoids emitting to a null pointer.
BUG: 188940

svn path=/trunk/KDE/kdelibs/; revision=957813
2009-04-22 22:50:20 +00:00
Andrew Coles
c54617a1bd Hypothetically, if you run through the conditions on the if, there's an implicit third branch that isn't matched,
corresponding to the first but with the != changed to a ==.  Of course, in practice, I can't see why this would /ever/ 
happen, but the compiler picked up on it.  Hence, to shut the damned thing up and in case I'm wrong, the pointer is 
now initialised to zero and a Q_ASSERT used to make sure it isn't zero at the point where we try to use it.  Quiet 
compiler, and a modicum more robustness.


svn path=/trunk/KDE/kdelibs/; revision=957515
2009-04-22 10:11:01 +00:00