Commit Graph

5406 Commits

Author SHA1 Message Date
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
Marco Martin
42962c662a use halo painter behind the text
svn path=/trunk/KDE/kdelibs/; revision=1068654
2010-01-01 19:17:17 +00:00
Script Kiddy
ad230a1e2d SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/plasma/generic/containmentactions/test/; revision=1068486
2010-01-01 11:09:03 +00:00
Script Kiddy
2fe26af348 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/plasma/generic/containmentactions/test/; revision=1068118
2009-12-31 11:34:58 +00:00
Script Kiddy
a5e78c8d42 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1068117
2009-12-31 11:29:57 +00:00
Marco Martin
563d77102b remove this optimization, calling setcollapsed with the same value turns out is the only way to not make the layout go nuts
svn path=/trunk/KDE/kdelibs/; revision=1067848
2009-12-30 18:54:41 +00:00
Chani Armitage
a2e7f090a1 give wallpaper priority over containmentactions in all events
CCMAIL: plasma-devel@kde.org
note that the wallpaper is only getting wheel events and move events
when itemAt != this, which is different from the "if there's no applet
there" logic that's used for containmentactions stuff. this could
have... odd... effects for containments that use graphicsitems, like
folderview.
in general it seems like this code's gotten crufty and could do with
some cleanup, once someone decides what the 'proper' behaviour actually
is.

svn path=/trunk/KDE/kdelibs/; revision=1067596
2009-12-29 23:23:25 +00:00
Michał Dutkiewicz
4def4009c6 Set flag in setNativeWidget() so it will be set also when using custom widgets
svn path=/trunk/KDE/kdelibs/; revision=1067584
2009-12-29 21:59:29 +00:00
Marco Martin
cd884edd21 revert old bogus stuff that got in in the last commit, sorry :)
svn path=/trunk/KDE/kdelibs/; revision=1067567
2009-12-29 21:30:12 +00:00
Marco Martin
a0162ccdef even tough extender is private in Applet, applet has too many friends, so to be sure it's properly guarded, use a weak pointer
BUG:220482

svn path=/trunk/KDE/kdelibs/; revision=1067549
2009-12-29 19:38:37 +00:00
Marco Martin
edc2fccdf4 don't get bigger than the desktop area, makes the notifications problem slightly less worse
svn path=/trunk/KDE/kdelibs/; revision=1067535
2009-12-29 18:58:10 +00:00
Script Kiddy
e976e8622c SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/plasma/generic/containmentactions/test/; revision=1067354
2009-12-29 12:23:43 +00:00
Script Kiddy
8a2c2e9480 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1067352
2009-12-29 12:19:32 +00:00
Marco Martin
06341cfb73 put all context menus in a separate window, resolving cutting and z-order issues
BUG:207956

svn path=/trunk/KDE/kdelibs/; revision=1067048
2009-12-28 19:52:54 +00:00
Marco Martin
eaa5b602be autocollapse is false as default
svn path=/trunk/KDE/kdelibs/; revision=1066938
2009-12-28 12:02:42 +00:00
Script Kiddy
9e2264f980 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1066899
2009-12-28 10:27:02 +00:00