Commit Graph

5549 Commits

Author SHA1 Message Date
Zack Rusin
82702e7043 Improve kinetic scrolling on ScrollWidget
As previously discussed with this approach we can actually properly intercept events from child items. Furthermore now we properly "steal" events which cause a flick (it's important for child items to properly act on mouseReleaseEvents and not on mousePressEvents as some like to do, since it's the release events that cause a flick) so items don't get clicks when flicked. The physics and especially the overshoot behavior is a lot better in this code as well.
Review http://reviewboard.kde.org/r/3312/


svn path=/trunk/KDE/kdelibs/; revision=1104841
2010-03-18 18:14:39 +00:00
Aaron J. Seigo
34ca7fdba5 clarify the apidox a bit
svn path=/trunk/KDE/kdelibs/; revision=1104443
2010-03-17 18:15:28 +00:00
Aaron J. Seigo
3e6f6ab670 This patch splits themeUpdated() into a set of methods that do the border checking and mask updating so that only the necessary work is actually done. The resize and move events now also cooperate in the scheduling of calls to checkBorders (reducing them by 50% or more during resizing). Calls to update(), which trigger full repaints, are also minimized.
svn path=/trunk/KDE/kdelibs/; revision=1104141
2010-03-16 20:40:59 +00:00
Aaron J. Seigo
813f6a088f clear this bit of code up
svn path=/trunk/KDE/kdelibs/; revision=1104111
2010-03-16 18:35:07 +00:00
Aaron J. Seigo
786913a995 a complete wtf, don't know how this one got past all of us (esp me :/)
svn path=/trunk/KDE/kdelibs/; revision=1103759
2010-03-15 20:39:24 +00:00
Script Kiddy
1ea36b497c SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1103446
2010-03-15 07:04:19 +00:00
Aaron J. Seigo
c477a8c2c2 once disconnected, stop caring about the object's destruction; prevents those "no such slot" warnings at runtime (and probably a tiny optimization to boot)
svn path=/trunk/KDE/kdelibs/; revision=1101797
2010-03-10 23:05:39 +00:00
Aaron J. Seigo
645419f2f5 protect against stupid DataEngineScript implementations
BUG:230225

svn path=/trunk/KDE/kdelibs/; revision=1101773
2010-03-10 21:41:37 +00:00
Aaron J. Seigo
bfe45534fc catch an edge condition where propAnim isn't created on fade out
BUG:230159

svn path=/trunk/KDE/kdelibs/; revision=1101747
2010-03-10 20:26:17 +00:00
Aaron J. Seigo
78201bdf2c scripted popup applets must also have Plasma/Applet in their ServiceTypes; remove code working around buggy plasmoids
svn path=/trunk/KDE/kdelibs/; revision=1101740
2010-03-10 19:47:34 +00:00
David Faure
c093832d1f forwardport 1101692: Fix compilation error with Qt-4.6.0,
plasma/svgwidget.moc:53: error: 'staticMetaObject' is not a member of 'Plasma'
Apparently moc is more clever in Qt-4.6.3, but anyway http://bugreports.qt.nokia.com/browse/QTBUG-2151 is right,
the property is only usable if declared with Q_DECLARE_METATYPE, isn't it?

svn path=/trunk/KDE/kdelibs/; revision=1101693
2010-03-10 16:38:54 +00:00
Marco Martin
60d5462c3f don't hide the popup if it lost focus but ithe icon is pressed.
not too pretty solution to
BUG:230157

svn path=/trunk/KDE/kdelibs/; revision=1101663
2010-03-10 14:20:20 +00:00
Aaron J. Seigo
041e15f953 don't crash when failing multiple times
svn path=/trunk/KDE/kdelibs/; revision=1101318
2010-03-09 21:52:22 +00:00
Aaron J. Seigo
12f67240ba properties need to be fully qualified
svn path=/trunk/KDE/kdelibs/; revision=1101266
2010-03-09 20:00:28 +00:00
Aaron J. Seigo
a1b6257416 save some memory
svn path=/trunk/KDE/kdelibs/; revision=1101263
2010-03-09 19:59:34 +00:00
Davide Bettio
4f4fca109f Wallpaper renderer has now QThread::LowPriority priority on every platform except Linux.
This might fix this bug on other platforms: https://bugs.kde.org/show_bug.cgi?id=213708

svn path=/trunk/KDE/kdelibs/; revision=1101239
2010-03-09 17:51:51 +00:00
Aaron J. Seigo
5505c4a7b0 allow arbitrary in-package paths with empty filetypes
svn path=/trunk/KDE/kdelibs/; revision=1100981
2010-03-09 05:57:57 +00:00
Aaron J. Seigo
01b3fd2286 connect even if the action is initially disabled
svn path=/trunk/KDE/kdelibs/; revision=1100978
2010-03-09 05:15:13 +00:00
Aaron J. Seigo
0aebf5936c guard against multiple connections due to errant StartupCompleted constraints
svn path=/trunk/KDE/kdelibs/; revision=1100976
2010-03-09 05:11:37 +00:00
Aaron J. Seigo
639b39a9cd if we show the message in a popup, ensure it can at least be dismissed
BUG:229832

svn path=/trunk/KDE/kdelibs/; revision=1100957
2010-03-09 03:07:29 +00:00
Aaron J. Seigo
bb75767105 don't remove an item that isn't in the layout
svn path=/trunk/KDE/kdelibs/; revision=1100924
2010-03-09 00:12:31 +00:00
Marco Martin
6842d43101 reverting last commit, was plain useless
svn path=/trunk/KDE/kdelibs/; revision=1100845
2010-03-08 20:42:06 +00:00
Marco Martin
2116cf8681 delaying setView seems to save some crashes
svn path=/trunk/KDE/kdelibs/; revision=1100837
2010-03-08 20:16:41 +00:00
Marco Martin
f7169d811c unbreak painting
svn path=/trunk/KDE/kdelibs/; revision=1100826
2010-03-08 19:03:20 +00:00
Marco Martin
2f308de3da always reset the icon change timer: will cause less unneeded animations
svn path=/trunk/KDE/kdelibs/; revision=1100808
2010-03-08 17:44:59 +00:00
Aaron J. Seigo
0ad75a51db svg can be null; patch by Nikita Melnichenko
CCBUG:229668

svn path=/trunk/KDE/kdelibs/; revision=1100082
2010-03-06 18:44:07 +00:00
Fredrik Höglund
48c6fcbe8e Set the blur region for tooltips and dialogs.
svn path=/trunk/KDE/kdelibs/; revision=1100074
2010-03-06 18:25:24 +00:00
Fredrik Höglund
caf251058b Add a method for setting the blur region for a window.
svn path=/trunk/KDE/kdelibs/; revision=1100073
2010-03-06 18:15:55 +00:00
Script Kiddy
222504cc9a SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1099844
2010-03-06 06:53:35 +00:00
Aaron J. Seigo
f9027d26fa * record where the mouse was in drag
* get the parenting right, prevents crashes
BUG:229566

svn path=/trunk/KDE/kdelibs/; revision=1099727
2010-03-06 01:43:44 +00:00
Aaron J. Seigo
f261f87e6f allow setting the mouse offset for better drop positioning
svn path=/trunk/KDE/kdelibs/; revision=1099726
2010-03-06 01:41:46 +00:00
Aaron J. Seigo
9554b17ce8 * don't remove items from our scene if they aren't part of our scene (avoid a warning from inside qt)
* always reset the borders of dragged extender items when needed
* minor cleanup in appletActions

svn path=/trunk/KDE/kdelibs/; revision=1099725
2010-03-06 01:41:18 +00:00
Aaron J. Seigo
28e876bc0c properly enable/disable the config action
BUG:229620

svn path=/trunk/KDE/kdelibs/; revision=1099718
2010-03-06 01:10:53 +00:00
Marco Martin
5d5aa2d545 drop the maskType nonsense, only one mask makes sense in the framesvg
svn path=/trunk/KDE/kdelibs/; revision=1099661
2010-03-05 22:37:44 +00:00
Marco Martin
573438a9a8 set the mask only when needed
override kwin shadow

svn path=/trunk/KDE/kdelibs/; revision=1099659
2010-03-05 22:36:20 +00:00
Marco Martin
270ffa55d5 unset the masks when they should and set overrideshadow on each window show
svn path=/trunk/KDE/kdelibs/; revision=1099654
2010-03-05 22:31:04 +00:00
Marco Martin
885b1271f4 WA_NoSystemBackground causes huge graphical glitches combined with the slidingpopups kwin effect
svn path=/trunk/KDE/kdelibs/; revision=1099566
2010-03-05 19:04:09 +00:00
Benjamin Reed
eeac4bb2d8 merge 1099489 from 4.4: add a custom Info.plist bundle to make kded invisible on OSX
svn path=/trunk/KDE/kdelibs/; revision=1099490
2010-03-05 17:32:44 +00:00
Marco Martin
3ba74c0fe8 export wordwrap in api and Q_PROPERTY
svn path=/trunk/KDE/kdelibs/; revision=1099291
2010-03-05 12:36:38 +00:00
Aaron J. Seigo
35113fd94e SVN_SILENT: missing @since
svn path=/trunk/KDE/kdelibs/; revision=1099154
2010-03-05 01:25:58 +00:00
Aaron J. Seigo
2ca8a1d2ee allow telling the wallpaper that it is in previewing mode
BUG:229450

svn path=/trunk/KDE/kdelibs/; revision=1099127
2010-03-05 00:54:30 +00:00
Davide Bettio
3c262b40ea Now also cached images loading is async with threads.
svn path=/trunk/KDE/kdelibs/; revision=1099054
2010-03-04 23:22:24 +00:00
Aaron J. Seigo
5ed6f6d546 cleanup the pixmaps before app exit, otherwise they can leak into x
svn path=/trunk/KDE/kdelibs/; revision=1099009
2010-03-04 22:28:39 +00:00
Aaron J. Seigo
841200fe6a SVN_SILENT: more pedantry; i should stop reading through the code ;)
svn path=/trunk/KDE/kdelibs/; revision=1099008
2010-03-04 22:27:43 +00:00
Aaron J. Seigo
8a059f5997 SVN_SILENT: pedantic spacing
svn path=/trunk/KDE/kdelibs/; revision=1099006
2010-03-04 22:27:03 +00:00
Davide Bettio
99855d8afd Async cache image save with QRunnable.
http://reviewboard.kde.org/r/3123/

svn path=/trunk/KDE/kdelibs/; revision=1098980
2010-03-04 21:04:45 +00:00
Marco Martin
67e72fb8ff sizeFromIconSize should be usable from javascript
svn path=/trunk/KDE/kdelibs/; revision=1098964
2010-03-04 19:47:06 +00:00
Marco Martin
6d8783b5e8 export Q_PROPERTY, live happy
svn path=/trunk/KDE/kdelibs/; revision=1098949
2010-03-04 18:38:21 +00:00
Script Kiddy
34598aa9f1 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/plasma/generic/containmentactions/test/; revision=1098905
2010-03-04 16:46:17 +00:00
Davide Bettio
3411b5c8cd This commit adds support to multiple render threads in Plasma::Wallpaper and rendering queuing support.
This commit will fix at least one bug (but it might fix more bugs as side effect).
http://reviewboard.kde.org/r/3092/

svn path=/trunk/KDE/kdelibs/; revision=1098658
2010-03-04 01:33:19 +00:00