Marco Martin
f8adc81da3
don't initialize to hover
...
svn path=/trunk/KDE/kdelibs/; revision=1126735
2010-05-14 18:34:33 +00:00
Shaun Reich
a5da2705a9
introduce setDefaultService(serviceName) and createDefaultService(QObject*). allows the dataengine (inheritor) to specify which service should probably be used. so applet users don't have to know those things if it's just 1
...
svn path=/trunk/KDE/kdelibs/; revision=1126712
2010-05-14 17:41:40 +00:00
Marco Martin
1bbbe5f173
use focusindicator to do button shadows too (perfectly retrocompatible by the way).
...
this makes buttons be correctly aligned in layouts
svn path=/trunk/KDE/kdelibs/; revision=1126591
2010-05-14 12:45:54 +00:00
Aaron J. Seigo
ae9656bb59
add animations to the package
...
svn path=/trunk/KDE/kdelibs/; revision=1126033
2010-05-13 00:51:43 +00:00
Marco Martin
515249e7f4
suicide when the containment changes
...
BUG:237355
svn path=/trunk/KDE/kdelibs/; revision=1125948
2010-05-12 19:03:28 +00:00
Fredrik Höglund
309ae1dc84
Move these classes into the Plasma namespace.
...
svn path=/trunk/KDE/kdelibs/; revision=1125931
2010-05-12 17:47:52 +00:00
Chani Armitage
ffc6ae289e
API change: instead of Containment having activityId functions, it just
...
exposes the whole Context*.
The activity functions have to be left in for BC, and they still work as
they did before.
svn path=/trunk/KDE/kdelibs/; revision=1125570
2010-05-11 19:02:24 +00:00
Aaron J. Seigo
64238f5f7e
remove this old and now not only uneeded but bug-causing hack
...
BUG:234825
svn path=/trunk/KDE/kdelibs/; revision=1124340
2010-05-08 22:16:21 +00:00
Aaron J. Seigo
3cd7bb718d
listen to shortcut change signals
...
BUG:236650
svn path=/trunk/KDE/kdelibs/; revision=1124129
2010-05-07 20:57:03 +00:00
Marco Martin
aa33e4ade0
a new hint: hint-compose-over-border
...
the centr element will be rendered as big as the image, cropped with the alpha mask and the borderssuperimposed over it.
slightly slower but it's the only way to have radial gradients in the center element and have them rendered in a correct way
svn path=/trunk/KDE/kdelibs/; revision=1123651
2010-05-06 14:16:03 +00:00
Aaron J. Seigo
dcba3a27a6
aggregate applet status in the containment
...
CCBUG:236461
svn path=/trunk/KDE/kdelibs/; revision=1123366
2010-05-05 22:33:52 +00:00
Aaron J. Seigo
c529b14bab
SVN_SILENT: tidy
...
svn path=/trunk/KDE/kdelibs/; revision=1121283
2010-05-01 02:17:01 +00:00
Kevin Ottens
6a3240b051
libplasma becomes our first lib with profiles support.
...
svn path=/trunk/KDE/kdelibs/; revision=1120434
2010-04-29 05:57:34 +00:00
Aaron J. Seigo
876345d389
extend parent app checks to all applet lists
...
svn path=/trunk/KDE/kdelibs/; revision=1120366
2010-04-28 23:34:30 +00:00
Aaron J. Seigo
30551fb5c6
add the animations/ dir to the theme package def
...
svn path=/trunk/KDE/kdelibs/; revision=1120255
2010-04-28 17:58:03 +00:00
Aaron J. Seigo
dbd43adad7
use appear/disappear anims, not hardcoded stuff
...
svn path=/trunk/KDE/kdelibs/; revision=1120243
2010-04-28 17:42:12 +00:00
Aaron J. Seigo
aa3ea7d964
provide animation mappings
...
svn path=/trunk/KDE/kdelibs/; revision=1120237
2010-04-28 17:39:12 +00:00
Marco Martin
e394574587
snap with real center
...
svn path=/trunk/KDE/kdelibs/; revision=1118457
2010-04-24 19:49:41 +00:00
Marco Martin
9c0e6c20fd
hide the itembackground when the mouse leaes the toolbox
...
svn path=/trunk/KDE/kdelibs/; revision=1118442
2010-04-24 19:21:04 +00:00
Marco Martin
be75656033
hide th itembackground the first time
...
svn path=/trunk/KDE/kdelibs/; revision=1118439
2010-04-24 18:57:48 +00:00
Marco Martin
3c05185f64
use an itembackground
...
svn path=/trunk/KDE/kdelibs/; revision=1118438
2010-04-24 18:54:34 +00:00
Marco Martin
35cb858197
vertical size policy is fixed;
...
use a preferred icon size
svn path=/trunk/KDE/kdelibs/; revision=1118324
2010-04-24 12:10:16 +00:00
Marco Martin
7517afa198
when overriding the size policy, save the old one, should unbork a little contaiment switching
...
svn path=/trunk/KDE/kdelibs/; revision=1117160
2010-04-21 12:16:06 +00:00
Michael Jansen
8fda976c9e
Do not use #include "<KDebug>" in kdelibs itself. Use #include "kdebug.h"
...
.
svn path=/trunk/KDE/kdelibs/; revision=1116483
2010-04-19 15:40:16 +00:00
Bruno de Oliveira Abinader
4526c57515
Fixed last-minute bug when animating and resizing widget
...
svn path=/trunk/KDE/kdelibs/; revision=1116478
2010-04-19 15:24:12 +00:00
Bruno de Oliveira Abinader
ea49b36874
Initial ripple effect implementation
...
This ripple effect will be used by the WaterAnimation to generate a cool simulation of water flowing inside a plasma widget :)
svn path=/trunk/KDE/kdelibs/; revision=1116473
2010-04-19 15:03:02 +00:00
Marco Martin
fbe946ca4c
don't toggle the popup on activate, but actually show it
...
also set the state on needsattention.
if the view of the applet is not the same for its containment, call popupposition with the parent of the applet rather than the applet itself.
this fixes the popup appearing at funny places for applets in systemtray, like devicenotifier
svn path=/trunk/KDE/kdelibs/; revision=1115260
2010-04-15 19:25:30 +00:00
Aaron J. Seigo
42d4fe3edf
* provide a way to check that the standard items for a containment are around; allows earlier setting of containment type
...
* provide means to get preferred positions of containments
svn path=/trunk/KDE/kdelibs/; revision=1114488
2010-04-13 18:36:38 +00:00
Aaron J. Seigo
662c7fb0dd
be able to check if it is empty
...
svn path=/trunk/KDE/kdelibs/; revision=1114486
2010-04-13 18:33:56 +00:00
Marco Martin
d29ea0a926
-is possible to drop items at any place of an extender group
...
-fix build
svn path=/trunk/KDE/kdelibs/; revision=1113376
2010-04-10 16:43:56 +00:00
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