Commit Graph

683 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
Aaron J. Seigo
ae078e1b32 add a data directory definition to the applet package type
svn path=/trunk/KDE/kdelibs/; revision=1097196
2010-02-28 17:03:21 +00:00
Artur Duque de Souza
060bf4148f Let corona layout the containments
Now corona will layout it's containments instead of letting
them do this task. This was created as a slot so we could preserve
BC. Subclasses of Plasma::Corona must be sure to skip containments
of Panel type during layouting if they wish to reimplement it to
have their own layout.

If subclasses doesn't care about it, just leave it alone and
everything will work just as before. :)

Reviewed-by: aseigo, notmart

svn path=/trunk/KDE/kdelibs/; revision=1095549
2010-02-24 14:24:52 +00:00
Davide Bettio
bbcac34592 Accept touch events.
svn path=/trunk/KDE/kdelibs/; revision=1094827
2010-02-23 10:26:42 +00:00
Davide Bettio
bb79950031 Kinetic scroll zoom.
svn path=/trunk/KDE/kdelibs/; revision=1094768
2010-02-23 08:35:02 +00:00
Davide Bettio
dc3e921b36 Added grabGesture()
svn path=/trunk/KDE/kdelibs/; revision=1094755
2010-02-23 08:08:16 +00:00
Davide Bettio
c8cd5ca258 Sorry, I commited the wrong file.
svn path=/trunk/KDE/kdelibs/; revision=1094591
2010-02-22 23:24:05 +00:00
Davide Bettio
abe1ca242a Fixed broken if.
svn path=/trunk/KDE/kdelibs/; revision=1094587
2010-02-22 23:15:09 +00:00
Davide Bettio
46eb95e995 Little fix for VC++
svn path=/trunk/KDE/kdelibs/; revision=1094583
2010-02-22 23:04:46 +00:00
Davide Bettio
ae50fe2e25 Added support to pinch multitouch gesture.
svn path=/trunk/KDE/kdelibs/; revision=1094411
2010-02-22 18:14:59 +00:00
Marco Martin
ce3762373f add an explicit way to stop
svn path=/trunk/KDE/kdelibs/; revision=1094245
2010-02-22 11:21:30 +00:00
Marco Martin
2b9a4f4e63 when a moveevent occurs, is not by the animation, that sets the geometry instead, so we can safely use it to notice when somebody else has moved the contents by had. is really important in this case to immediately stop the animation
svn path=/trunk/KDE/kdelibs/; revision=1094135
2010-02-22 09:36:20 +00:00
Alexis Ménard
d4683537c9 Build fix on ARM.
svn path=/trunk/KDE/kdelibs/; revision=1092055
2010-02-18 07:39:28 +00:00
Davide Bettio
d982f20609 Plasma::WebView has been ported to KGraphicsWebView. http://reviewboard.kde.org/r/2990/
svn path=/trunk/KDE/kdelibs/; revision=1091982
2010-02-17 23:59:14 +00:00
Marco Martin
69ca0bd767 setData() was actually wrong there
this fixes remote notifications
(where the data is set exactly once after sourceadded)

svn path=/trunk/KDE/kdelibs/; revision=1091959
2010-02-17 23:10:16 +00:00
Marco Martin
ac7b1cce29 emit sourceadded or sourceremoved when it notices sources have been added or removed remotely
svn path=/trunk/KDE/kdelibs/; revision=1091937
2010-02-17 22:15:58 +00:00
Aaron J. Seigo
adfdadd43a catch extender deletion when they are still extender items
BUG:219194

svn path=/trunk/KDE/kdelibs/; revision=1088121
2010-02-10 08:43:08 +00:00
Aaron J. Seigo
ead4cc9d62 use khns3 dialog; look ma, no more memory leaks as a bonus!
svn path=/trunk/KDE/kdelibs/; revision=1084570
2010-02-03 10:27:44 +00:00
Aaron J. Seigo
9e1aa5472f keep the position bounded to what setColorAt wants
svn path=/trunk/KDE/kdelibs/; revision=1084461
2010-02-03 08:41:25 +00:00
Aaron J. Seigo
8fc5c0d2b0 be sure to remove the tool from the tool collection if it gets deleted because the action was removed
svn path=/trunk/KDE/kdelibs/; revision=1084451
2010-02-03 08:18:43 +00:00
Aaron J. Seigo
cc2a593588 unneeded
svn path=/trunk/KDE/kdelibs/; revision=1082175
2010-01-29 21:49:01 +00:00
Igor Trindade Oliveira
99cd8006e6 remove private class from meter.cpp and support some properties on it.
The properties are useful to be used in animation.

svn path=/trunk/KDE/kdelibs/; revision=1080846
2010-01-27 02:50:47 +00:00
Aaron J. Seigo
5eb78f23ea zooming is gone; activity switching can be done for now using the activity switcher or the keyboard shortcuts. a new activity manager will be built up from here
svn path=/trunk/KDE/kdelibs/; revision=1080793
2010-01-26 23:35:32 +00:00
Aaron J. Seigo
a56fc2ed44 alter the toolbox backer layout when the items change
BUG:224278

svn path=/trunk/KDE/kdelibs/; revision=1080323
2010-01-26 06:06:43 +00:00
André Wöbbeking
1f08f5e5bb -pedantic
svn path=/trunk/KDE/kdelibs/; revision=1080061
2010-01-25 14:09:38 +00:00
Marco Martin
3403fea2ca be invisible when it's first created
svn path=/trunk/KDE/kdelibs/; revision=1079119
2010-01-23 17:34:50 +00:00
Igor Trindade Oliveira
291f30e9f9 move nativetabbar to the new animation api
svn path=/trunk/KDE/kdelibs/; revision=1077713
2010-01-20 18:38:37 +00:00
Igor Trindade Oliveira
36cda82e22 port desktoptoolbox to new animation api
svn path=/trunk/KDE/kdelibs/; revision=1077702
2010-01-20 18:06:29 +00:00
Igor Trindade Oliveira
c334033bf3 move panelttoolbox animation to new animation api
svn path=/trunk/KDE/kdelibs/; revision=1077220
2010-01-19 18:12:23 +00:00
Igor Trindade Oliveira
d7e63f903c move applethandle to new animation api.
svn path=/trunk/KDE/kdelibs/; revision=1077217
2010-01-19 17:59:24 +00:00
Rob Scheepmaker
fa74621c21 relicense to LGPL v2
svn path=/trunk/KDE/kdelibs/; revision=1076714
2010-01-18 18:24:57 +00:00
Marco Martin
d9a0865c3b fix the toolbox positioning when zoomed out
svn path=/trunk/KDE/kdelibs/; revision=1072152
2010-01-09 13:41:54 +00:00
Marco Martin
8f19e5f9cb don't reposition over and over again
svn path=/trunk/KDE/kdelibs/; revision=1071890
2010-01-08 23:36:43 +00:00
Aaron J. Seigo
4246f430ec fix positioning
svn path=/trunk/KDE/kdelibs/; revision=1071385
2010-01-07 22:14:19 +00:00
Aaron J. Seigo
d302d838d5 SVN_SILENT: hush
svn path=/trunk/KDE/kdelibs/; revision=1071383
2010-01-07 22:13:43 +00:00