Commit Graph

5271 Commits

Author SHA1 Message Date
Aaron J. Seigo
d302d838d5 SVN_SILENT: hush
svn path=/trunk/KDE/kdelibs/; revision=1071383
2010-01-07 22:13:43 +00:00
Marco Martin
f3a2a662ca backport icon sizing fix
svn path=/branches/KDE/4.4/kdelibs/; revision=1071367
2010-01-07 21:59:28 +00:00
Marco Martin
c1e947a768 when the icon is horizontal and there is no text take the min between width and height as icon size.
among other things fixes the unhide arrow of the systray

svn path=/trunk/KDE/kdelibs/; revision=1071365
2010-01-07 21:58:51 +00:00
Marco Martin
164187c4e2 backport the reverting of the size hint
svn path=/branches/KDE/4.4/kdelibs/; revision=1071249
2010-01-07 19:22:46 +00:00
Marco Martin
35d8587114 the fact that the toolbutton is using qstyle for the label painting makes reimplementation of the size hint really problematic, just use the native one for now
svn path=/trunk/KDE/kdelibs/; revision=1071247
2010-01-07 19:21:57 +00:00
Marco Martin
e77ea715c6 backport layout fixes here too
svn path=/branches/KDE/4.4/kdelibs/; revision=1071062
2010-01-07 12:56:59 +00:00
Marco Martin
81e9c74cd3 don't change margins if the hint is empty
svn path=/trunk/KDE/kdelibs/; revision=1071059
2010-01-07 12:53:54 +00:00
Marco Martin
66e7fa884b backport size hints fix
svn path=/branches/KDE/4.4/kdelibs/; revision=1071056
2010-01-07 12:52:35 +00:00
Marco Martin
a1d1b12624 like toolbutton, base on the svg margins for the size hint
svn path=/trunk/KDE/kdelibs/; revision=1071054
2010-01-07 12:50:56 +00:00
Marco Martin
292ad2ee4a backport size hints fix
svn path=/branches/KDE/4.4/kdelibs/; revision=1071053
2010-01-07 12:45:34 +00:00
Marco Martin
291b11f8a2 -update geometry when the text changes
-return a good size hint based on svg margins

svn path=/trunk/KDE/kdelibs/; revision=1071052
2010-01-07 12:44:20 +00:00
Aaron J. Seigo
26b7d59e20 onwards and upwards
svn path=/trunk/KDE/kdelibs/; revision=1070947
2010-01-07 02:44:04 +00:00
Marco Martin
d6dd4ae24a use the overrideMask window effect
svn path=/trunk/KDE/kdelibs/; revision=1070728
2010-01-06 16:00:53 +00:00
Aaron J. Seigo
321c298a96 standarize the authorization restrictions with other ones found in KDE; one of these is new in 4.4 and neither of the other two were ever documented anywhere
svn path=/trunk/KDE/kdelibs/; revision=1070582
2010-01-06 04:16:28 +00:00
Marco Martin
46824ec1b1 add a wrap for _KDE_SHADOW_OVERRIDE too
svn path=/trunk/KDE/kdelibs/; revision=1070494
2010-01-05 19:57:44 +00:00
Adenilson Cavalcanti Da Silva
8c356fa8c1 Making sure that recursion will not go beyond 20 levels.
svn path=/trunk/KDE/kdelibs/; revision=1070481
2010-01-05 18:55:45 +00:00
Adenilson Cavalcanti Da Silva
8fb2ea1980 Moving drawing children code to a private function and allowing it to follow
sub-children.
It will now work with uBlog plasmoid.


svn path=/trunk/KDE/kdelibs/; revision=1070458
2010-01-05 18:23:59 +00:00
Aaron J. Seigo
c4ed36ca0e zoom anim doesn't need to be a member, and this way it doesn't mess up when lots of applets are added at the same time
svn path=/trunk/KDE/kdelibs/; revision=1070142
2010-01-04 23:45:38 +00:00
Aaron J. Seigo
5c9fdd4af3 missing property
svn path=/trunk/KDE/kdelibs/; revision=1070141
2010-01-04 23:44:57 +00:00
Adenilson Cavalcanti Da Silva
368f6e5896 Adding pulse animation when a new plasmoid is inserted in the desktop.
I'm looking for feedback to know if it is worthwhile to have it as default.


svn path=/trunk/KDE/kdelibs/; revision=1070133
2010-01-04 23:34:05 +00:00
Aaron J. Seigo
0337eb0ae3 missing property
svn path=/trunk/KDE/kdelibs/; revision=1070127
2010-01-04 23:06:50 +00:00
Adenilson Cavalcanti Da Silva
29365773e2 Hides the shadowfake if the animation is stopped.
svn path=/trunk/KDE/kdelibs/; revision=1070124
2010-01-04 22:56:41 +00:00
Adenilson Cavalcanti Da Silva
c2c451bbeb Checking for target widget children and painting them on the
shadow fake pixmap (pulse animation will now work on plasma FolderView
plasmoid).
To be 100% correct, it would also need to check for existance of grandchildren
(or sub-child items) but it sounds like overkill for an animation that should
run for 500ms.


svn path=/trunk/KDE/kdelibs/; revision=1070115
2010-01-04 22:27:01 +00:00
Adenilson Cavalcanti Da Silva
2d08b8a2b2 Fixing double deletion by using QWeakPointer (suggestion by Aaron Seigo).
svn path=/trunk/KDE/kdelibs/; revision=1070099
2010-01-04 21:11:02 +00:00
Adenilson Cavalcanti Da Silva
6d3b0437c6 A todo for later (fix the shadow when the widget has children).
svn path=/trunk/KDE/kdelibs/; revision=1070097
2010-01-04 21:09:59 +00:00
Andreas Hartmetz
4b305cbf84 fix include path and build
svn path=/trunk/KDE/kdelibs/; revision=1069885
2010-01-04 11:18:22 +00:00
Script Kiddy
5e03111218 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/plasma/generic/containmentactions/test/; revision=1069851
2010-01-04 10:25:36 +00:00
Aaron J. Seigo
4a1849b4cd PulserShadow belongs in the animations directory
svn path=/trunk/KDE/kdelibs/; revision=1069848
2010-01-04 10:21:48 +00:00
Aaron J. Seigo
b31f9ca8c0 UserToolBox, more consistent with other such enums
svn path=/trunk/KDE/kdelibs/; revision=1069847
2010-01-04 10:21:32 +00:00
Marco Martin
00ffbc6616 save and restore weren't necessary here
svn path=/trunk/KDE/kdelibs/; revision=1069824
2010-01-04 10:06:25 +00:00
Marco Martin
d550c9dac2 smooth rotations
svn path=/trunk/KDE/kdelibs/; revision=1069741
2010-01-04 09:27:29 +00:00
Aaron J. Seigo
f3063c4fa9 make sure we have an m_under object before using it
svn path=/trunk/KDE/kdelibs/; revision=1069733
2010-01-04 09:23:55 +00:00
Aaron J. Seigo
7a46df7066 adapt to Animation API cleanup
svn path=/trunk/KDE/kdelibs/; revision=1069731
2010-01-04 09:19:08 +00:00
Aaron J. Seigo
8ccd1a0d9c * adapt to API
* coding style fixes

svn path=/trunk/KDE/kdelibs/; revision=1069730
2010-01-04 09:18:11 +00:00
Aaron J. Seigo
b931262030 * adapt to API changes
* don't leak the m_under object
* only paint what's necessary (the exposed rect)
* keep track of the target in PulserShadow

svn path=/trunk/KDE/kdelibs/; revision=1069729
2010-01-04 09:17:49 +00:00
Aaron J. Seigo
9f405a1425 API cleansing:
* missing const on widgetToAnimate()
* widgetToAnimation -> targetWidget to be consistent with naming in QVariantAnimation which uses targetObject
* targetWidget is not virtual; all set up can be done in the stateChange method

svn path=/trunk/KDE/kdelibs/; revision=1069728
2010-01-04 09:16:41 +00:00
Aaron J. Seigo
abc51630c5 --debug;
svn path=/trunk/KDE/kdelibs/; revision=1069707
2010-01-04 06:43:30 +00:00
Aaron J. Seigo
50726d7f08 rework the toolboxes so that they actually mesh with the API of AbstractToolBox:
* have setShowing call the show/hide feature, not the other way around (fixes bug 202549)
* put the actions in order by the tags applied so that things appear ordered
* allow the toolbox to define what the parent of the tools should be (so the desktop toolbox can use the backing as the parent)
* use a layout in the desktop toolbox background that the tools are in; waaaaaay simpler code as a result
* keep only one svg object around for the desktop toolbox background, not two
* use a QtKinetic animation for the show/hide

i'm not happy with the precise positioning of the desktop toolbox nor with the animation (just a fade in/out right now.. meh) but the hard work is done with this commit and the rest is twiddling (which i'll do in the coming days)
BUG:202549

svn path=/trunk/KDE/kdelibs/; revision=1069706
2010-01-04 06:41:43 +00:00
Aaron J. Seigo
1181a53e3c tag the actions; now the desktop toolbox is sanely ordered
svn path=/trunk/KDE/kdelibs/; revision=1069705
2010-01-04 06:37:41 +00:00
Aaron J. Seigo
9a1a29125c new enum for tagging actions that will end up in a toolbox with
svn path=/trunk/KDE/kdelibs/; revision=1069704
2010-01-04 06:34:55 +00:00
Aaron J. Seigo
e9cd616bca erf, API addition that has been sitting on disk here for weeks :/
svn path=/trunk/KDE/kdelibs/; revision=1069239
2010-01-03 01:49:52 +00:00
Aaron J. Seigo
c2cda2375a this looks like what it was meant to be doing, but perhaps there's some odd sg theme thing at play here? Marco, can you check this? thanks
CCMAIL:notmart@gmail.com

svn path=/trunk/KDE/kdelibs/; revision=1069238
2010-01-03 01:49:00 +00:00
Marco Martin
429b000af3 use windowTranslucencyEnabled() instead of caching the value frm kwindowsystem
svn path=/trunk/KDE/kdelibs/; revision=1069170
2010-01-02 20:48:44 +00:00
Marco Martin
6d3387453d set a rectangular mask when composite is enabled, much faster
svn path=/trunk/KDE/kdelibs/; revision=1069040
2010-01-02 16:11:32 +00:00
Marco Martin
643076efa0 update apidox for single query mode
svn path=/trunk/KDE/kdelibs/; revision=1069037
2010-01-02 15:55:29 +00:00
Sebastian Kügler
039cb40aa1 Forgot to commit this one ...
It's part of the "make runners configurable while they use the same plugin" and
used in the mediawiki runner. Review and all that has already happened, I just forgot
to hit commit on this. Sorry for being lax & late here...

svn path=/trunk/KDE/kdelibs/; revision=1069031
2010-01-02 15:38:14 +00:00
Davide Bettio
5449cdbd82 Small string change: replaced Ok with OK.
It shouldn't hurt anyone.

svn path=/trunk/KDE/kdelibs/; revision=1068691
2010-01-01 20:44:56 +00:00
Davide Bettio
e6097845d9 Added icons to buttons.
svn path=/trunk/KDE/kdelibs/; revision=1068690
2010-01-01 20:43:49 +00:00
Marco Martin
ccc2e7be40 draw halo only for dark text
svn path=/trunk/KDE/kdelibs/; revision=1068659
2010-01-01 19:34:40 +00:00
Marco Martin
38d6c5bed9 don't cut halos
svn path=/trunk/KDE/kdelibs/; revision=1068658
2010-01-01 19:31:44 +00:00