Commit Graph

943 Commits

Author SHA1 Message Date
Brian David Pritchett
2d98d307f2 I accidently deleted a file that was needed! Readding.
svn path=/trunk/KDE/kdelibs/; revision=1149245
2010-07-13 01:07:30 +00:00
Brian David Pritchett
53a227a43f This adds the first iteration of data caching for dataengines.
svn path=/trunk/KDE/kdelibs/; revision=1149185
2010-07-12 20:51:12 +00:00
Marco Martin
396972c468 be sure to not insert the same action two times
svn path=/trunk/KDE/kdelibs/; revision=1147196
2010-07-07 15:59:02 +00:00
Thiago Macieira
b94b7b1d54 Don't call setPriority on a non-started thread.
QThread documentation says this doesn't do anything, so it's just
pointless. More than that, though, it's printing a warning.

svn path=/trunk/KDE/kdelibs/; revision=1146963
2010-07-07 07:22:19 +00:00
Marco Martin
59211cfea4 remove old unused variable
svn path=/trunk/KDE/kdelibs/; revision=1143742
2010-06-28 16:29:37 +00:00
Marco Martin
60b151b23e discard the stored active tab rectangle if the animation is not running
BUG:225355

svn path=/trunk/KDE/kdelibs/; revision=1143717
2010-06-28 16:08:30 +00:00
Marco Martin
791fa67a23 recalculate the active tab rectangle when a tab gets added or removed
BUG:243002

svn path=/trunk/KDE/kdelibs/; revision=1143660
2010-06-28 13:00:54 +00:00
Alexis Ménard
052b87d74e Better fix and also make the normal build works.
svn path=/trunk/KDE/kdelibs/; revision=1141400
2010-06-22 18:16:13 +00:00
Alexis Ménard
628c9fbf2f Compile fix with Mobile profile enabled.
svn path=/trunk/KDE/kdelibs/; revision=1141384
2010-06-22 17:29:18 +00:00
Alexis Ménard
c6a70060ed Usual ARM compilation fixes.
svn path=/trunk/KDE/kdelibs/; revision=1140767
2010-06-21 13:17:45 +00:00
Marco Martin
c2d8eee98a save the last size for formfactor, helps when the applet changes containment and back again
BUG:241857

svn path=/trunk/KDE/kdelibs/; revision=1138648
2010-06-16 12:26:23 +00:00
Marco Martin
3e3fd09aab clean up from the sources if somebody deletes a DataContainer
BUG:235881

svn path=/trunk/KDE/kdelibs/; revision=1136398
2010-06-09 18:04:28 +00:00
Aaron J. Seigo
7ef4c10667 SVN_SILENT: ws
svn path=/trunk/KDE/kdelibs/; revision=1136117
2010-06-09 01:16:45 +00:00
Aaron J. Seigo
1f0ecedca3 put all the applet restore/init code in one place so that the order of ops is more obvious when debugging
svn path=/trunk/KDE/kdelibs/; revision=1134668
2010-06-04 21:36:28 +00:00
Aaron J. Seigo
1d23580ea7 a binary slipped into kdelibs/plasma; move it to kdebase/runtime/
svn path=/trunk/KDE/kdelibs/; revision=1134613
2010-06-04 17:58:38 +00:00
Aaron J. Seigo
d6e1845d3e use the previously undocument (and not working) in-memory-only KConfig mode
svn path=/trunk/KDE/kdelibs/; revision=1134604
2010-06-04 17:28:07 +00:00
Aaron J. Seigo
637555e477 a bit redundant, really
svn path=/trunk/KDE/kdelibs/; revision=1134325
2010-06-03 22:08:18 +00:00
Marco Martin
d386d44a1b commit this piece too
svn path=/trunk/KDE/kdelibs/; revision=1131710
2010-05-28 19:02:15 +00:00
Marco Martin
f99d57fdc1 support drag in vertical tabbars
BUG:239020

svn path=/trunk/KDE/kdelibs/; revision=1131253
2010-05-27 20:30:05 +00:00
Marco Martin
b8893a8044 too much classes clobbers with the Extender's private, protect d->applet behind a QWeakPointer
BUG:195369
BUG:232408
CCBUG:233563
BUG:239022

svn path=/trunk/KDE/kdelibs/; revision=1131248
2010-05-27 19:59:15 +00:00
Aaron J. Seigo
b152bae01f don't crash if we're handed a null action
BUG:238847

svn path=/trunk/KDE/kdelibs/; revision=1130679
2010-05-26 00:50:55 +00:00
Aaron J. Seigo
6a286f380e move the IconWidget version of the tools into the desktop tool box; it is what uses them and this prevents having to keep fixing the "tools are showing in the panel" bug every time something in the toolboxes and/or panel containments and/or panel views changes ;)
svn path=/trunk/KDE/kdelibs/; revision=1130635
2010-05-25 21:07:09 +00:00
Aaron J. Seigo
376b6cbb88 PopupApplet now respects the configured size
svn path=/trunk/KDE/kdelibs/; revision=1130581
2010-05-25 18:21:04 +00:00
Aaron J. Seigo
aa5e85e3fa provide a (rather hidden, unfortunately) slot for applets and containments to attach custom widgets to to enable/disable a Apply button with. welcome the settingsModified() slot
svn path=/trunk/KDE/kdelibs/; revision=1129003
2010-05-21 00:26:23 +00:00
Marco Martin
fef01419ba use KGlobalSettings::dndEventDelay()
svn path=/trunk/KDE/kdelibs/; revision=1128948
2010-05-20 18:47:07 +00:00
Chani Armitage
3a10a5c507 added lastScreen and lastDesktop, to remember where things belong
svn path=/trunk/KDE/kdelibs/; revision=1128358
2010-05-19 02:43:07 +00:00
Aaron J. Seigo
58ae4b444f don't show private classes
svn path=/trunk/KDE/kdelibs/; revision=1128260
2010-05-18 20:13:26 +00:00
Marco Martin
6eade776e2 correctly disable glow on focus out
svn path=/trunk/KDE/kdelibs/; revision=1128229
2010-05-18 18:32:18 +00:00
Marco Martin
610b3c85df store the under mouse value, avoids a sync cursor position call
svn path=/trunk/KDE/kdelibs/; revision=1127792
2010-05-17 16:35:27 +00:00
Marco Martin
bf5beef483 try to avoid managing eventfilter on delete objects
svn path=/trunk/KDE/kdelibs/; revision=1127690
2010-05-17 10:44:34 +00:00
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
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
Aaron J. Seigo
c4ed36ca0e zoom anim doesn't need to be a member, and this way it doesn't mess up when lots of applets are added at the same time
svn path=/trunk/KDE/kdelibs/; revision=1070142
2010-01-04 23:45:38 +00:00
Aaron J. Seigo
4a1849b4cd PulserShadow belongs in the animations directory
svn path=/trunk/KDE/kdelibs/; revision=1069848
2010-01-04 10:21:48 +00:00
Aaron J. Seigo
b31f9ca8c0 UserToolBox, more consistent with other such enums
svn path=/trunk/KDE/kdelibs/; revision=1069847
2010-01-04 10:21:32 +00:00
Marco Martin
00ffbc6616 save and restore weren't necessary here
svn path=/trunk/KDE/kdelibs/; revision=1069824
2010-01-04 10:06:25 +00:00
Marco Martin
d550c9dac2 smooth rotations
svn path=/trunk/KDE/kdelibs/; revision=1069741
2010-01-04 09:27:29 +00:00
Aaron J. Seigo
7a46df7066 adapt to Animation API cleanup
svn path=/trunk/KDE/kdelibs/; revision=1069731
2010-01-04 09:19:08 +00:00
Aaron J. Seigo
b931262030 * adapt to API changes
* don't leak the m_under object
* only paint what's necessary (the exposed rect)
* keep track of the target in PulserShadow

svn path=/trunk/KDE/kdelibs/; revision=1069729
2010-01-04 09:17:49 +00:00
Aaron J. Seigo
abc51630c5 --debug;
svn path=/trunk/KDE/kdelibs/; revision=1069707
2010-01-04 06:43:30 +00:00
Aaron J. Seigo
50726d7f08 rework the toolboxes so that they actually mesh with the API of AbstractToolBox:
* have setShowing call the show/hide feature, not the other way around (fixes bug 202549)
* put the actions in order by the tags applied so that things appear ordered
* allow the toolbox to define what the parent of the tools should be (so the desktop toolbox can use the backing as the parent)
* use a layout in the desktop toolbox background that the tools are in; waaaaaay simpler code as a result
* keep only one svg object around for the desktop toolbox background, not two
* use a QtKinetic animation for the show/hide

i'm not happy with the precise positioning of the desktop toolbox nor with the animation (just a fade in/out right now.. meh) but the hard work is done with this commit and the rest is twiddling (which i'll do in the coming days)
BUG:202549

svn path=/trunk/KDE/kdelibs/; revision=1069706
2010-01-04 06:41:43 +00:00
Marco Martin
ccc2e7be40 draw halo only for dark text
svn path=/trunk/KDE/kdelibs/; revision=1068659
2010-01-01 19:34:40 +00:00
Marco Martin
38d6c5bed9 don't cut halos
svn path=/trunk/KDE/kdelibs/; revision=1068658
2010-01-01 19:31:44 +00:00
Marco Martin
42962c662a use halo painter behind the text
svn path=/trunk/KDE/kdelibs/; revision=1068654
2010-01-01 19:17:17 +00:00
Marco Martin
a0162ccdef even tough extender is private in Applet, applet has too many friends, so to be sure it's properly guarded, use a weak pointer
BUG:220482

svn path=/trunk/KDE/kdelibs/; revision=1067549
2009-12-29 19:38:37 +00:00
John Layt
6e9943e36c krazy fixes, mostly include guards and copyright tags
svn path=/trunk/KDE/kdelibs/; revision=1066779
2009-12-27 22:16:11 +00:00
André Wöbbeking
4c1f9b51d3 removed some QT_VERSION checks, we're requiring 4.6 now
svn path=/trunk/KDE/kdelibs/; revision=1066716
2009-12-27 20:00:30 +00:00
Dario Freddi
efad503bed Licenses and a small fix
svn path=/trunk/KDE/kdelibs/; revision=1066558
2009-12-27 12:35:13 +00:00
Marco Martin
a69bcc4827 try harder to enforce a minimum size of 16x16
svn path=/trunk/KDE/kdelibs/; revision=1066278
2009-12-26 16:19:38 +00:00
Marco Martin
b521f3e158 -autocollapse property to extendergroup: if it's on when the group collapses/expands theextenderItem collapses/expands as well (default false)
-isGroupcollapsed/setGroupCollapsed to unform APi with ExtenderItem

svn path=/trunk/KDE/kdelibs/; revision=1066229
2009-12-26 13:02:53 +00:00
Marco Martin
353e1ca88d add a new member to the tooltip data that decides if the window highlight effect is to be enabled by default or not
svn path=/trunk/KDE/kdelibs/; revision=1065864
2009-12-24 14:54:48 +00:00
Marco Martin
16fb457bbe always hide when hide is called:
otherwise when zooming in the toolbox will stay in toolbar mode and be visible over the desktop (oh boy how much rhis needs to be scrapped)

svn path=/trunk/KDE/kdelibs/; revision=1065542
2009-12-23 16:07:37 +00:00
Marco Martin
fdae3f0d59 This patch forward the "stateChanged" signal emitted from the private kinetic scroll animation all the way to Plasma::ScrollWidget, which then forwards this signal to its childs. This enables an object which derives from Plasma::ScrollWidget to know the kinetic scrolling animation state.
Patch by Bruno Abinader

svn path=/trunk/KDE/kdelibs/; revision=1064768
2009-12-21 18:36:39 +00:00
Marco Martin
09fc589dce always ensure the geometry is the corret one
svn path=/trunk/KDE/kdelibs/; revision=1064760
2009-12-21 17:30:21 +00:00
Adenilson Cavalcanti Da Silva
53c47204af Some widgets may use exposedRect of style (e.g. QGraphicsWebView) and would fail
if no value was set (the default is 0,0).

Suggestion by Andre Pedralho <andre.pedralho@openbossa.org>.


svn path=/trunk/KDE/kdelibs/; revision=1063546
2009-12-18 19:30:02 +00:00
Adenilson Cavalcanti Da Silva
32121a4bdf Migrating Plasma::Containment appear animation to ZoomAnimation (it works
smoother and the code is simpler).


svn path=/trunk/KDE/kdelibs/; revision=1063088
2009-12-16 22:33:30 +00:00
Marco Martin
2afa60e695 don't mix scene coordinates and parent ones
so don't move widgets in totally absurd places

svn path=/trunk/KDE/kdelibs/; revision=1063024
2009-12-16 18:51:08 +00:00
Fredrik Höglund
744065edab Tweak the halo effect for long strings.
svn path=/trunk/KDE/kdelibs/; revision=1061622
2009-12-12 14:31:05 +00:00
Anne-Marie Mahfouf
a57ac6ee4b fix build
svn path=/trunk/KDE/kdelibs/; revision=1061574
2009-12-12 10:25:12 +00:00
Marco Martin
8f2da96f51 again forgotten the private header in r1061477, sorry :(
svn path=/trunk/KDE/kdelibs/; revision=1061554
2009-12-12 08:25:00 +00:00
Carlo Segato
5ad6ec030b add missing extenderItemDestroyed declaration
svn path=/trunk/KDE/kdelibs/; revision=1061533
2009-12-12 01:36:45 +00:00
Adenilson Cavalcanti Da Silva
48af57c6ce Migrating Plasma Applet disappear animation to ZoomAnimation (it works
smoother and the code is simpler).


svn path=/trunk/KDE/kdelibs/; revision=1061465
2009-12-11 19:53:55 +00:00
Adenilson Cavalcanti Da Silva
5a721b9bad Creating a QEasingCurve object in AnimationPrivate and allowing access to
it to all Animation derived classes.

The idea is that the user can select the easing curve (if the it makes sense
in the animation).


svn path=/trunk/KDE/kdelibs/; revision=1060687
2009-12-09 16:28:27 +00:00
Adenilson Cavalcanti Da Silva
b8e57d0ca0 Removing non longer necessary data members of AnimationPrivate.
svn path=/trunk/KDE/kdelibs/; revision=1060665
2009-12-09 15:18:58 +00:00
Igor Trindade Oliveira
9e736804c9 add support for easing curves
svn path=/trunk/KDE/kdelibs/; revision=1060395
2009-12-08 19:29:03 +00:00
Ambroz Bizjak
07fcab757c Simplify some math
svn path=/trunk/KDE/kdelibs/; revision=1059914
2009-12-07 16:54:25 +00:00
Beat Wolf
438abba607 fix scaling, patch by Rickard Närström.
BUG:186188

svn path=/trunk/KDE/kdelibs/; revision=1059840
2009-12-07 14:28:38 +00:00
Ambroz Bizjak
4da40dc616 Fix the rest of rotation and resizing.
svn path=/trunk/KDE/kdelibs/; revision=1059590
2009-12-07 00:56:22 +00:00
Ambroz Bizjak
4325dd1e40 Calculate initial m_angle, simplify _k_rotatePoint
svn path=/trunk/KDE/kdelibs/; revision=1059568
2009-12-06 23:17:33 +00:00
Marco Martin
ac7e75f460 unfortunately this has to be disabled since blocks clicks on webview :/
svn path=/trunk/KDE/kdelibs/; revision=1059153
2009-12-05 22:18:15 +00:00
Aaron J. Seigo
e29ca567bc sync up the dptr to what's actually used now
svn path=/trunk/KDE/kdelibs/; revision=1058153
2009-12-04 01:02:54 +00:00
Adenilson Cavalcanti Da Silva
818e93a576 Amazon sized patch... So many changes that I can hardly remember what they are,
but this is the list from what I can recall:
- removing expand animation (it is a case of grow animation)
- removing AbstractAnimation and using QAbstractAnimation as the common base
- animations are non longer factories, but real animation (so it is just no
issue to mesh then with user created animations)
- animation group will correctly revert the direction of all subanimations
(useful for rewinding an animation)
- fixed opacity effect in pulse animation (now it works correctly)
- there is not 'forward' property, but animation 'direction' (this is how
rewinding an animation must be done)
- direction now is movementDirection property (used in SlideAnimation and RotationStacked)
- the weakpointer for the actual animaiton is non longer in AnimationPrivate but
in each specialized animation class
- hide property is being removed (in progress) since it really is a case of Fade

I guess this is it, now is just a matter of iron out the remaining bugs and polish
the public API.



svn path=/trunk/KDE/kdelibs/; revision=1057993
2009-12-03 19:30:02 +00:00
Bruno Bigras
65455b418b Revert "Fix a bug when a plasmoid could be resized to a smaller value than it's minimumSize"
Fix _k_rotatePoint so it returns 0,0 when rotating a 0,0 point

svn path=/trunk/KDE/kdelibs/; revision=1057684
2009-12-03 06:13:38 +00:00
Bruno Bigras
7e35361bf4 Fix a bug when a plasmoid could be resized to a smaller value than it's minimumSize
svn path=/trunk/KDE/kdelibs/; revision=1057530
2009-12-02 18:51:06 +00:00
Alexis Ménard
4493bbd4f7 ARM compile++
qreal is float on ARM.

svn path=/trunk/KDE/kdelibs/; revision=1057466
2009-12-02 14:17:34 +00:00
Marco Martin
db8ece1921 use qpropertyanimation: massively simplify the code
svn path=/trunk/KDE/kdelibs/; revision=1057438
2009-12-02 12:23:56 +00:00
Fredrik Höglund
82759f1094 Fix the squashed line edits.
svn path=/trunk/KDE/kdelibs/; revision=1056867
2009-12-01 00:58:28 +00:00
Fredrik Höglund
1deb1a958a Add a margin between the button contents and the frame, and put some
space between the icon and the label.

svn path=/trunk/KDE/kdelibs/; revision=1056854
2009-12-01 00:39:44 +00:00
Marco Martin
bb659b52fc dd missing members, fix build
svn path=/trunk/KDE/kdelibs/; revision=1055722
2009-11-28 15:54:49 +00:00
Marco Martin
6d38a2a3b6 use different focus and hover for horizontal and vertical sliders
svn path=/trunk/KDE/kdelibs/; revision=1055167
2009-11-27 13:42:00 +00:00
Marco Martin
495a00cc59 when the size changes resize all frames
svn path=/trunk/KDE/kdelibs/; revision=1054744
2009-11-26 17:26:06 +00:00
Marco Martin
08ae083579 now the toolbox can be accessed by subclasses, so funny things can happen, bury it under a QWeakPointer so
svn path=/trunk/KDE/kdelibs/; revision=1054267
2009-11-25 19:46:33 +00:00
Jacopo De Simoi
132b963dbe Single runner mode in libplasma
svn path=/trunk/KDE/kdelibs/; revision=1053993
2009-11-25 09:37:47 +00:00
Aaron J. Seigo
c43ef1bcb8 make sure that we don't get hung up with old jobs that aren't enqueued anymore by checking for that case more often
svn path=/trunk/KDE/kdelibs/; revision=1053930
2009-11-25 01:54:44 +00:00
Aaron J. Seigo
5b61dd019e private headers
svn path=/trunk/KDE/kdelibs/; revision=1053919
2009-11-25 01:08:35 +00:00
Marco Martin
a045136fe0 when resizing/rotating with multitouch, spply a transform, resize to the proper size only at touch end event
svn path=/trunk/KDE/kdelibs/; revision=1053705
2009-11-24 16:26:28 +00:00
Marco Martin
f97924aee3 move the geometry to a correct center
svn path=/trunk/KDE/kdelibs/; revision=1053216
2009-11-23 16:48:18 +00:00
Marco Martin
3b7483877d if the widget can't scroll neither up or down, don't attempt to bounce
svn path=/trunk/KDE/kdelibs/; revision=1051560
2009-11-19 19:55:54 +00:00
Igor Trindade Oliveira
ad028bab20 clean ups
svn path=/trunk/KDE/kdelibs/; revision=1051540
2009-11-19 19:05:50 +00:00
Igor Trindade Oliveira
e1b3fb48a7 fix scrollAnimation parent
svn path=/trunk/KDE/kdelibs/; revision=1051528
2009-11-19 18:18:55 +00:00
Igor Trindade Oliveira
7468dea5da fix disconnect
svn path=/trunk/KDE/kdelibs/; revision=1051480
2009-11-19 15:25:25 +00:00
Aaron J. Seigo
94da57f819 put dataEngine() support into AbstractRunner, joining the ranks of Applet, ContainmentActions, Wallpaper and the private PlasmoidService
svn path=/trunk/KDE/kdelibs/; revision=1051212
2009-11-19 00:19:11 +00:00
Adenilson Cavalcanti Da Silva
952612d95f Removing debug messages.
svn path=/trunk/KDE/kdelibs/; revision=1051111
2009-11-18 21:47:10 +00:00
Adenilson Cavalcanti Da Silva
de36a7c42f Fixing pulser position while animating (with less and more efficient
code). Suggestion by notmart.


svn path=/trunk/KDE/kdelibs/; revision=1051108
2009-11-18 21:33:24 +00:00
Marco Martin
62fb0d35ce s/viewportGeometry/contentsSize/
svn path=/trunk/KDE/kdelibs/; revision=1051071
2009-11-18 19:55:59 +00:00
Igor Trindade Oliveira
af17b151d4 fix regression: make vertical and horizontal wheel event works again
svn path=/trunk/KDE/kdelibs/; revision=1051064
2009-11-18 19:30:56 +00:00
Igor Trindade Oliveira
939c85aafb clean ups: remove warnings and constify
svn path=/trunk/KDE/kdelibs/; revision=1051044
2009-11-18 17:59:56 +00:00
Igor Trindade Oliveira
d0ddbe7b21 port kineticscrolling to Qt 4.6
svn path=/trunk/KDE/kdelibs/; revision=1051040
2009-11-18 17:35:50 +00:00
Aaron J. Seigo
fde2d95376 only show the busy widget if we've been busy for at least .5s (perhaps a full second would be ok?)
svn path=/trunk/KDE/kdelibs/; revision=1050748
2009-11-18 02:21:43 +00:00
Adenilson Cavalcanti Da Silva
acda971fa0 Set of changes:
- moved transformation reference inside of the the shadow pulse
class
 - ensuring that the local pointer in pulser will correctly point to the
shadow object
 - recreating the pixmap if the animated widget geometry has changed


svn path=/trunk/KDE/kdelibs/; revision=1050711
2009-11-17 22:53:08 +00:00
Marco Martin
862fb4cb70 manage touch events
svn path=/trunk/KDE/kdelibs/; revision=1050580
2009-11-17 17:34:27 +00:00
Petri Damstén
6fa744bb10 Call initScript in wallpaper init, otherwise initWallpaper might be called before initScript.
svn path=/trunk/KDE/kdelibs/; revision=1050504
2009-11-17 13:29:40 +00:00
David Faure
8d4cd6f3b3 missing header protection for enable-final
svn path=/trunk/KDE/kdelibs/; revision=1050278
2009-11-17 01:53:23 +00:00
Aaron J. Seigo
825b5d4dd7 fix enable final
svn path=/trunk/KDE/kdelibs/; revision=1050277
2009-11-17 01:48:12 +00:00
Marco Martin
644d5e363e tabs--
svn path=/trunk/KDE/kdelibs/; revision=1050130
2009-11-16 18:20:18 +00:00
Panagiotis Papadopoulos
f6ab4863fb Checkbox labels do not need a full stop according to KDE HIG
svn path=/trunk/KDE/kdelibs/; revision=1049572
2009-11-15 13:41:00 +00:00
Marco Martin
4988229770 support for touchEvents
svn path=/trunk/KDE/kdelibs/; revision=1049191
2009-11-14 17:33:00 +00:00
Laurent Montel
1602530c5c compile
svn path=/trunk/KDE/kdelibs/; revision=1048307
2009-11-13 07:16:25 +00:00
Adenilson Cavalcanti Da Silva
702920c810 Starting to implement pixmap based pulse animation. The first implementation
assumed that there would exist a complete copy of the animated widget to
do the pulse (where another object is kept translucent and when the animation
is triggered, it will expand and fade at same time).

But is expensive to copy the whole widget, so the idea is to draw the target
widget in a pixmap and then do the pulse effect on the pixmap itself.

It is still broken, for some reason the opacity is failing to animate (should
fix this tomorrow).


svn path=/trunk/KDE/kdelibs/; revision=1048277
2009-11-13 01:20:51 +00:00
Marco Martin
377e6bf9c1 kineticscroll accepts keyboard events too, scrollwidget scrollbars don't
accept focus

svn path=/trunk/KDE/kdelibs/; revision=1048165
2009-11-12 20:44:02 +00:00
Marco Martin
ae59a44b81 support horizontal scrollwheels
svn path=/trunk/KDE/kdelibs/; revision=1048147
2009-11-12 20:17:30 +00:00
Igor Trindade Oliveira
fbd5f0411b fix properties
svn path=/trunk/KDE/kdelibs/; revision=1048146
2009-11-12 20:15:43 +00:00
Marco Martin
86682cb176 the focus indicator can load also simple svg elements instead of
framesvgs
the slider uses it to show a glow behind the handle on mouse over or
keyboard focus

svn path=/trunk/KDE/kdelibs/; revision=1048126
2009-11-12 19:31:39 +00:00
Petri Damstén
5b2b221562 * Add translation support for runner and dataengine packages
* Use pladmoid package for runners too.

svn path=/trunk/KDE/kdelibs/; revision=1047782
2009-11-12 06:38:16 +00:00
Aaron J. Seigo
27a02128a5 * consolidate the popup config group name by putting a convenience method in PopupAppletPrivate to fetch it
* move the check for the view lower in updateDialogPosition so that even if we don't have a view, we at least do the sizing, if not the positioning (which is all the view is needed for)

svn path=/trunk/KDE/kdelibs/; revision=1047715
2009-11-11 21:47:56 +00:00
Aaron J. Seigo
b0c24dd7a2 a bit more readable
svn path=/trunk/KDE/kdelibs/; revision=1047696
2009-11-11 20:51:59 +00:00
Marco Martin
01790c83c3 highlight the thumbnail under the mouse
svn path=/trunk/KDE/kdelibs/; revision=1047608
2009-11-11 15:28:40 +00:00
Marco Martin
fda0f6c4de put the windows in tooltips in the list of the highlight effect
svn path=/trunk/KDE/kdelibs/; revision=1047602
2009-11-11 15:18:52 +00:00
Aaron J. Seigo
b9ea759162 split out the private class into its own file
svn path=/trunk/KDE/kdelibs/; revision=1047325
2009-11-11 00:25:27 +00:00
Aaron J. Seigo
4aba68d9d7 filter all offers lists consistently with the constraints
svn path=/trunk/KDE/kdelibs/; revision=1047324
2009-11-11 00:24:49 +00:00
Marco Martin
76c1377ed9 the destroy action is now accessible with action("close")
svn path=/trunk/KDE/kdelibs/; revision=1047295
2009-11-10 22:13:00 +00:00
Marco Martin
22d9d97acc add missing member
svn path=/trunk/KDE/kdelibs/; revision=1047084
2009-11-10 12:34:13 +00:00
Aaron J. Seigo
6de1341e1b fix resize-after-move, which was seriously annoying me for a while now; thankfully it was an easy fix :)
svn path=/trunk/KDE/kdelibs/; revision=1045892
2009-11-06 22:34:22 +00:00
Aaron J. Seigo
75e482fae2 only insert a delay before moving the drop zone the first time its shown; be sure to also reset the drop point
svn path=/trunk/KDE/kdelibs/; revision=1045332
2009-11-05 20:27:08 +00:00
Aaron J. Seigo
7acbfbc47f be sure to always have a containment!
BUG:206379

svn path=/trunk/KDE/kdelibs/; revision=1045316
2009-11-05 19:17:00 +00:00
Aaron J. Seigo
8f3e0d5494 unhighlight when setShow is called; fixes the toolbox in the panel not going back to grey when the toolbox is hidden by clicking on another window
svn path=/trunk/KDE/kdelibs/; revision=1045294
2009-11-05 18:03:33 +00:00
Aaron J. Seigo
16b5fcc766 cache whether or not the wallaper is actually a full package (dir + metadata) and on render hints changing just look for the best paper if we are a full package; preserves rendering for single image papers in the wallpaper config
BUG:212930

svn path=/trunk/KDE/kdelibs/; revision=1044424
2009-11-03 18:35:40 +00:00
Marco Martin
4fa7e72b1b if the tooltip contains windows, highlight it too
svn path=/trunk/KDE/kdelibs/; revision=1042991
2009-10-31 12:33:08 +00:00
Petri Damstén
289b9ac1eb Add WallpaperScript.
Review: http://reviewboard.kde.org/r/1984/

svn path=/trunk/KDE/kdelibs/; revision=1042086
2009-10-29 05:54:11 +00:00
Marco Martin
dd581265cf move the extra border in the size hint
svn path=/trunk/KDE/kdelibs/; revision=1041792
2009-10-28 14:19:34 +00:00
Marco Martin
6808c61eca when the internal widget won't scroll in -any- direction ignore the
wheel

svn path=/trunk/KDE/kdelibs/; revision=1041331
2009-10-27 20:16:51 +00:00
Marco Martin
d86cac78e4 crash--
svn path=/trunk/KDE/kdelibs/; revision=1041323
2009-10-27 19:48:00 +00:00
Marco Martin
25d1f3f5b6 if the sub widget can't scroll at all, just ignore the mouse event
svn path=/trunk/KDE/kdelibs/; revision=1041272
2009-10-27 18:04:02 +00:00
Adenilson Cavalcanti Da Silva
1049afdab6 First step to improve new animations memory model.
Now the QAbstractAnimations will be cached when running an animation
(instead of creating and destroying them everytime the animation runs).

The next step is to cache *also* the configuration parameters (as aseigo suggested,
by having an event filter to detect changes in the animated widgets and reseting
the animation parameters as needed).


svn path=/trunk/KDE/kdelibs/; revision=1039531
2009-10-23 18:39:57 +00:00
Petri Damstén
042ed56b39 * Add support to load PopupApplet and Containment from path
* AppletScript::addStandardConfigurationPages adds also publish page
* AppletScript::standardConfigurationDialog does not add standard pages (there is addStandardConfigurationPages)

svn path=/trunk/KDE/kdelibs/; revision=1039471
2009-10-23 13:48:29 +00:00
Marco Martin
d9de800d36 SVN_SILENT: less awfully long line
svn path=/trunk/KDE/kdelibs/; revision=1039434
2009-10-23 12:07:48 +00:00
Aaron J. Seigo
c765e808a7 * the drop position is always relative to the containment; don't need to do store the scene pos. this fixes drops on panels
* allow drops on the toolbox, this gives is a place to drop things on the panel at all times, similar to the context menu on toolbox
* small delay on showing the drop zone indicator so that when dragging into the tasks widget, for example, we don't end up flickering as it crosses the panel containment edge

svn path=/trunk/KDE/kdelibs/; revision=1039186
2009-10-22 22:14:22 +00:00
Andrew Coles
242868a972 Fixed minor typo: don't use exclamation points in messages.
SVN_SILENT


svn path=/trunk/KDE/kdelibs/; revision=1039153
2009-10-22 20:48:59 +00:00
Marco Martin
2f7ba10bfc return the proper shape
svn path=/trunk/KDE/kdelibs/; revision=1039146
2009-10-22 20:38:32 +00:00
Marco Martin
a45a20c32c return the proper boundingRect()
svn path=/trunk/KDE/kdelibs/; revision=1039144
2009-10-22 20:32:36 +00:00
Marco Martin
82177676af better gradient when the handle is at left
svn path=/trunk/KDE/kdelibs/; revision=1039135
2009-10-22 20:01:19 +00:00
Aaron J. Seigo
be914e1196 SVN_SILENT: tabs to spaces
svn path=/trunk/KDE/kdelibs/; revision=1039130
2009-10-22 19:36:29 +00:00
Marco Martin
03bb063c62 migrate focusindicator to the new api
change the api of fade to be abe to set a start and an end taget
opacities

svn path=/trunk/KDE/kdelibs/; revision=1039087
2009-10-22 17:39:43 +00:00
Adenilson Cavalcanti Da Silva
8a930cbaca Moving rotation related only parameters back to RotationAnimation.
The idea is to keep in AbstractAnimationPrivate only what is shared by all
(or at least most) of animations.


svn path=/trunk/KDE/kdelibs/; revision=1039035
2009-10-22 15:35:08 +00:00
Adenilson Cavalcanti Da Silva
d82ac07001 Adding missing documentation.
svn path=/trunk/KDE/kdelibs/; revision=1039029
2009-10-22 15:20:17 +00:00
Igor Trindade Oliveira
67ffbf7ff3 janitor job: make it works
svn path=/trunk/KDE/kdelibs/; revision=1039010
2009-10-22 13:58:35 +00:00
Igor Trindade Oliveira
fd62504373 fix: make animation works again, add fowards attribute
svn path=/trunk/KDE/kdelibs/; revision=1039003
2009-10-22 13:40:30 +00:00
Marco Martin
a7573ce263 clean up a bit of old wronghish code and no more jumping behaviour
svn path=/trunk/KDE/kdelibs/; revision=1038795
2009-10-21 21:04:03 +00:00
Adenilson Cavalcanti Da Silva
a1bf0fd085 Moving rotation related parameters to common location (now it should
be possible to use AbstractAnimation properties to use rotation
animation).


svn path=/trunk/KDE/kdelibs/; revision=1038337
2009-10-21 05:32:04 +00:00
Aaron J. Seigo
73b60b9a55 * keep the non-deprecated stuff out of deprecated/, such as the new animator factory method
* don't be lazy with the names (Anim->Animation)

svn path=/trunk/KDE/kdelibs/; revision=1038307
2009-10-21 01:51:31 +00:00
Aaron J. Seigo
353c7d9aca one more API shift
svn path=/trunk/KDE/kdelibs/; revision=1038236
2009-10-20 21:21:40 +00:00
Aaron J. Seigo
8b9830dc2b API cleanups
svn path=/trunk/KDE/kdelibs/; revision=1038232
2009-10-20 21:14:46 +00:00
Aaron J. Seigo
b29d0a79aa sort out the API a bit and don't have private classes that are named the same
svn path=/trunk/KDE/kdelibs/; revision=1038220
2009-10-20 21:04:49 +00:00
Aaron J. Seigo
30dc3caf9b * move remotedataengine.h to remotedataengine_p.h as it's private
* allow queueing for un-ready remote services
* always double check that the RemoteServiceJob is really Ok to send; things like operation being ready may have changed, for instance

svn path=/trunk/KDE/kdelibs/; revision=1038181
2009-10-20 19:15:32 +00:00
Aaron J. Seigo
979d295565 * queue the job in the service if the service isn't ready
* check the validity of a job before executing; things may have changed!

svn path=/trunk/KDE/kdelibs/; revision=1038158
2009-10-20 18:23:32 +00:00
Aaron J. Seigo
8df22fd9b1 * always create a job (it'll just queue itself)
* provide getters for the busy/ready states
* check the queue when we become ready

svn path=/trunk/KDE/kdelibs/; revision=1038156
2009-10-20 18:22:38 +00:00
Marco Martin
6b0a4590d2 Export a really simple AbstractToolBox
add a setToolBox function

svn path=/trunk/KDE/kdelibs/; revision=1038024
2009-10-20 14:14:53 +00:00
Igor Trindade Oliveira
cbc0f99d2a add Easing Curve Type Property
svn path=/trunk/KDE/kdelibs/; revision=1038000
2009-10-20 13:08:23 +00:00
Aaron J. Seigo
dd2b126960 * when sources and services are called too early, add them to "pending" lists and clear them as soon as we are set up properly to do so
* always call setData in sourceRequestEvent otherwise DataEngine will think nothing has been set up

svn path=/trunk/KDE/kdelibs/; revision=1037795
2009-10-20 02:57:26 +00:00
Aaron J. Seigo
9500388d8d don't crash when serviceForSource is called "too early" on a remote data engine
svn path=/trunk/KDE/kdelibs/; revision=1037790
2009-10-20 01:28:02 +00:00
Marco Martin
ed950edc24 correctly sync with parent geometry
svn path=/trunk/KDE/kdelibs/; revision=1037755
2009-10-19 22:19:04 +00:00
Marco Martin
b2bb69732a provide the Animator::registerScrollingManager(qgraphicsidget) function.
the animator creates a kineticscroll and associates it with the widget.
in this way we can use kineticscroll outside of libplasma with a single
call.

svn path=/trunk/KDE/kdelibs/; revision=1037751
2009-10-19 22:10:25 +00:00
Marco Martin
89e73cecd2 animate the highlight with the new animation framework. we got a glow
item called FocusIndicaotr, it's private for now and probably it should
remain so

svn path=/trunk/KDE/kdelibs/; revision=1037733
2009-10-19 21:13:54 +00:00
Artur Duque de Souza
e9f98cd0d8 Use "Share" instead of "Publish" in remote widgets UI.
It's more user friendly and avoids misconceptions like "Publish"
being a way to publish to kde-apps for example.

svn path=/trunk/KDE/kdelibs/; revision=1037544
2009-10-19 13:29:29 +00:00
Adenilson Cavalcanti Da Silva
10d9afacb4 SlideAnimation is done now.
svn path=/trunk/KDE/kdelibs/; revision=1036795
2009-10-17 19:40:44 +00:00
Adenilson Cavalcanti Da Silva
6142e913f6 Moving AnimationPrivate to private directory and removing
privat members in GrowAnimation.

Next: do the same with other animations.


svn path=/trunk/KDE/kdelibs/; revision=1036737
2009-10-17 17:35:02 +00:00
Marco Martin
342489ea62 ignore the scroll event if the widget is totally scrolled
svn path=/trunk/KDE/kdelibs/; revision=1035777
2009-10-15 20:46:07 +00:00
Marco Martin
c4b42df8e8 use an eventfilter instead to have to manually forward each event,
should be less error prone and require less api

svn path=/trunk/KDE/kdelibs/; revision=1035740
2009-10-15 19:11:34 +00:00
Marco Martin
7fb7eefa8b use weakpointer, hopefully a crash less
svn path=/trunk/KDE/kdelibs/; revision=1035683
2009-10-15 16:42:41 +00:00
Aaron J. Seigo
c5833d1939 handles are now children of the applet, so we don't need to destroy them ourselves; we do need to clear the applet pointer in the handle before it is destroyed, however.
BUG:209058

svn path=/trunk/KDE/kdelibs/; revision=1035446
2009-10-15 03:25:07 +00:00
Aaron J. Seigo
5a36b63df8 use QGraphicsObject, another nicety in Qt 4.6
svn path=/trunk/KDE/kdelibs/; revision=1035320
2009-10-14 18:59:44 +00:00
Aaron J. Seigo
ee461e739e activity naming consistency, take 2
svn path=/trunk/KDE/kdelibs/; revision=1034920
2009-10-13 23:07:35 +00:00