Commit Graph

5765 Commits

Author SHA1 Message Date
Marco Martin
2f8e70b7ab make the webview widget use scrollwidget for flicking
still some issues to fix, but most of the behaviour is ported.
patch based on zack's work
CCMAIL:zack@kde.org

svn path=/trunk/KDE/kdelibs/; revision=1108058
2010-03-27 17:44:16 +00:00
Aaron J. Seigo
803bd9b463 since ExtenderItem relies on the Extender pointer it has, go through and delete all such items
svn path=/trunk/KDE/kdelibs/; revision=1107522
2010-03-25 21:44:45 +00:00
Aaron J. Seigo
fb209051f2 inverted
svn path=/trunk/KDE/kdelibs/; revision=1106793
2010-03-23 22:54:01 +00:00
Aaron J. Seigo
b16960c73b allow loading of individual runners, including from packages
svn path=/trunk/KDE/kdelibs/; revision=1106782
2010-03-23 22:43:34 +00:00
Aaron J. Seigo
f2e0fc2d93 access to the icon
svn path=/trunk/KDE/kdelibs/; revision=1106781
2010-03-23 22:42:07 +00:00
Aaron J. Seigo
f7cab7fcf2 move this into a more appropriate place
svn path=/trunk/KDE/kdelibs/; revision=1106778
2010-03-23 22:41:57 +00:00
Marco Martin
422a8bc297 reposition wen adjusting borders: size could have changed
svn path=/trunk/KDE/kdelibs/; revision=1106721
2010-03-23 18:52:08 +00:00
Fredrik Höglund
c1d7ea80ce Rename _KDE_NET_WM_BLUR_REGION to _KDE_NET_WM_BLUR_BEHIND_REGION.
svn path=/trunk/KDE/kdelibs/; revision=1106459
2010-03-22 22:04:08 +00:00
Marco Martin
07ad834e81 scroll horizontally when the scroll is vertical and there was no space to scroll vertically
and vice versa for horizontal scroll

svn path=/trunk/KDE/kdelibs/; revision=1106404
2010-03-22 18:36:57 +00:00
Zack Rusin
a0fe64f519 Reduce debugging output a bit
especially since it's unconditional
SVN_SILENT


svn path=/trunk/KDE/kdelibs/; revision=1106171
2010-03-22 03:19:37 +00:00
Björn Ruberg
b14a9ed2d8 Removed doubled call to setElementPrefix("normal")
svn path=/trunk/KDE/kdelibs/; revision=1106026
2010-03-21 17:46:28 +00:00
Adenilson Cavalcanti Da Silva
3958e203be Paint only if the item is visible.
svn path=/trunk/KDE/kdelibs/; revision=1105303
2010-03-19 19:47:52 +00:00
Marco Martin
76d131a501 experiment two behavioural changes:
- don't flick when the contents are smaller than the view (or flick only for the axis where the contents are bigger)
- still pass mouse moves to childrens so they can initiate drags (useful? annoying? still to be found, but necessary for netbook sal to work at the moment)

svn path=/trunk/KDE/kdelibs/; revision=1105167
2010-03-19 12:09:08 +00:00
Shaun Reich
0a92453ba5 Commit my sok project that has been laying around for a while. Shows an overlay on a file's icon, that a KIO job is being performed (e.g download/copy/move) on that same file/folder. Helps in associating regular job notifications with the file managers. If something has broken in KIO wrt job notifications (poke me), it's probably this. Not to say that I didn't test it a lot, just that there could be unforeseen consequences. Feature requires a simple kdirmodel && kfileitemdelegate call to be made to enable it. also note: KIO jobs talk directly to kuiserver, the latter of which acts as a relay to anything interested in that information.(inseparable from workspace & runtime previous commit)
svn path=/trunk/KDE/kdelibs/; revision=1104957
2010-03-19 02:13:41 +00:00
Marco Martin
26a4b3f20d register/unregoster as drag handles is deprecated now since it's automatic
svn path=/trunk/KDE/kdelibs/; revision=1104888
2010-03-18 20:22:03 +00:00
Zack Rusin
3c0cffc506 Implement wheel scrolling and add a way of disabling overshoot.
plus some doc cleanups.

svn path=/trunk/KDE/kdelibs/; revision=1104868
2010-03-18 19:22:52 +00:00
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