Aaron J. Seigo
556c51d2a5
* dump support for QGraphicsItems in Extenders. looks like it was already broken anyways (hooray for untested paths). supporting QGraphicsItems just doesn't make much sense anyways. this gets rid of a number of bugs and simplifies the code a lot
...
* use more QGraphicsWidget API and simplify the code even more
* put the title bar drawing into a class of its own, simplifying the code yet more
* use a Plasma::Label in the title bar so we don't have to draw our own text and ... well, you know what goes here by now ;)
one downside to this is that margins in title bar svg are *actually* honored, which means the titles take a bit more room. the svg can be tweaked, however.
svn path=/trunk/KDE/kdelibs/; revision=1111918
2010-04-07 02:04:52 +00:00
Aaron J. Seigo
5ed9e14f0e
propagate cursor changes to the native widget
...
svn path=/trunk/KDE/kdelibs/; revision=1111916
2010-04-07 01:44:56 +00:00
Aaron J. Seigo
d388ecebcb
* get rid of an unneeded layout in the toolbox
...
* recycle items instead of recreating them constantly
* get the margins at the top actually correct (still not sure why the toobox doesn't paint it's own background to make that all easier)
* set tooltips on the return and close buttons
svn path=/trunk/KDE/kdelibs/; revision=1111883
2010-04-06 21:56:32 +00:00
Aaron J. Seigo
b1ca5781b9
* fix titleRect calculation
...
* move some more unneeded-if-titlerect-is-empty code beneath the short circuiting if statement in the paint method
svn path=/trunk/KDE/kdelibs/; revision=1111862
2010-04-06 20:42:25 +00:00
Aaron J. Seigo
61ca96b034
don't paint the title if there isn't a title to paint
...
svn path=/trunk/KDE/kdelibs/; revision=1111855
2010-04-06 20:26:05 +00:00
Marco Martin
65ca45681f
put the proper margin on top of extenderitems
...
svn path=/trunk/KDE/kdelibs/; revision=1111853
2010-04-06 20:19:53 +00:00
Marco Martin
997e6b32ea
since imagePath is regularly used to check if images are present, be a bit more quiet
...
svn path=/trunk/KDE/kdelibs/; revision=1111731
2010-04-06 15:06:41 +00:00
Marco Martin
2cecd31fe2
move the dialog in relation to the delta of the size change when the applet localtion is bottom or right, instead of calling popupposition each time
...
svn path=/trunk/KDE/kdelibs/; revision=1111730
2010-04-06 15:04:33 +00:00
Marco Martin
3660bcf30d
adjust the width/height by the offset, don't calculte another offset that is plain wrong
...
svn path=/trunk/KDE/kdelibs/; revision=1111250
2010-04-05 09:20:59 +00:00
Script Kiddy
4f324d0fcc
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/workspace/plasma/generic/containmentactions/test/; revision=1111209
2010-04-05 05:58:02 +00:00
Aaron J. Seigo
434be1bfca
save dialog sizes "immediately"
...
svn path=/trunk/KDE/kdelibs/; revision=1111109
2010-04-04 21:08:54 +00:00
Albert Astals Cid
8de16871a6
Calling values and then foreach on a QHash is slower and more memory intensive than just foreach the QHash, this changes the first to the second.
...
Acked by Chani
svn path=/trunk/KDE/kdelibs/; revision=1111048
2010-04-04 18:15:51 +00:00
Marco Martin
8a9603eec6
propagate immutability of a containment to the applets (not backporting, still to see if it's really correct and the only use case has a different partial fix in branch)
...
svn path=/trunk/KDE/kdelibs/; revision=1111042
2010-04-04 17:59:12 +00:00
Marco Martin
7e27da128e
when the inner widget has scroll properties, invert the proper values in fixupanimation
...
svn path=/trunk/KDE/kdelibs/; revision=1111023
2010-04-04 16:54:42 +00:00
Marco Martin
067df57ed7
use a weakpointer
...
svn path=/trunk/KDE/kdelibs/; revision=1110975
2010-04-04 14:34:04 +00:00
Aaron J. Seigo
8b23c1a4ab
only do the resizing when we actually need to
...
svn path=/trunk/KDE/kdelibs/; revision=1110789
2010-04-04 01:55:56 +00:00
Marco Martin
46c6e72e4b
showdialog becomes a slot
...
svn path=/trunk/KDE/kdelibs/; revision=1110635
2010-04-03 21:58:35 +00:00
Marco Martin
2466bbd960
AbstractDialogManager: will needed for shells to radically change the applets config dialogs (and possibly other dialogs) look and feel
...
svn path=/trunk/KDE/kdelibs/; revision=1110584
2010-04-03 19:10:32 +00:00
Marco Martin
7d853de323
still experimental and to me made work better: extendergroups store items in a scrollwidget
...
svn path=/trunk/KDE/kdelibs/; revision=1109959
2010-04-01 11:43:51 +00:00
Marco Martin
1ce5890d24
toolbox positioning based on layouts
...
svn path=/trunk/KDE/kdelibs/; revision=1109934
2010-04-01 10:01:56 +00:00
Marco Martin
8f7d7bc782
crash--
...
svn path=/trunk/KDE/kdelibs/; revision=1109929
2010-04-01 09:22:22 +00:00
Marco Martin
5809b052d6
when is possible (i.e. when widget is actually a QGraphicsWidget) use real layouts
...
svn path=/trunk/KDE/kdelibs/; revision=1109927
2010-04-01 09:18:00 +00:00
Marco Martin
6fc15a4687
move the popup before adjusting borders, makes it a bit less jumpy
...
svn path=/trunk/KDE/kdelibs/; revision=1109701
2010-03-31 19:48:22 +00:00
Marco Martin
8269a5055e
fix fade out
...
svn path=/trunk/KDE/kdelibs/; revision=1109248
2010-03-30 21:24:04 +00:00
Marco Martin
580b91d111
a bit more precision
...
svn path=/trunk/KDE/kdelibs/; revision=1108830
2010-03-29 21:36:33 +00:00
Jonathan Riddell
9ea9f63a7e
Check for actual metadata file, else it will try to load the plasmoid from ~/.kde if only the directory exists even though the plasmoid might be in /usr
...
BUG:231761
"Python plasmoids can no longer run from system directory"
svn path=/trunk/KDE/kdelibs/; revision=1108640
2010-03-29 13:55:07 +00:00
Script Kiddy
aeb6fdb3cb
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdelibs/; revision=1108500
2010-03-29 05:38:53 +00:00
Marco Martin
4d12fc818f
less translated shadow
...
svn path=/trunk/KDE/kdelibs/; revision=1108417
2010-03-28 20:57:59 +00:00
Marco Martin
5560dae986
scale coherently also the old icon during the animation
...
svn path=/trunk/KDE/kdelibs/; revision=1108404
2010-03-28 19:55:51 +00:00
Marco Martin
aa4544bd78
look for elements in the translucent folder when we have the blurback effect enabled
...
svn path=/trunk/KDE/kdelibs/; revision=1108402
2010-03-28 19:37:29 +00:00
Marco Martin
621ead5280
IconMargin is useful only to give good proportion when there is text,
...
when there isn't we want the whole size to be really precise with size
calculations
svn path=/trunk/KDE/kdelibs/; revision=1108320
2010-03-28 15:59:45 +00:00
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