Commit Graph

5327 Commits

Author SHA1 Message Date
Aaron J. Seigo
1f7370376b support setting the direction forwards or backwards; conflicts with direction so used a bool instead of an enum, makes more sense anyways imho. the use of an enum in QAbstractAnimation seems a bit overkill
svn path=/trunk/KDE/kdelibs/; revision=1038850
2009-10-22 04:00:48 +00:00
Aaron J. Seigo
a9a4fc471b set a start value so it can go backwards
svn path=/trunk/KDE/kdelibs/; revision=1038849
2009-10-22 04:00:02 +00:00
Aaron J. Seigo
fd48743847 set start value; now it can go backwards too
svn path=/trunk/KDE/kdelibs/; revision=1038848
2009-10-22 03:59:46 +00:00
Aaron J. Seigo
545164b5b8 add PauseAnimation
svn path=/trunk/KDE/kdelibs/; revision=1038847
2009-10-22 03:59:27 +00:00
Aaron J. Seigo
b460485f1e export duration as a property
svn path=/trunk/KDE/kdelibs/; revision=1038834
2009-10-22 02:59:36 +00:00
Aaron J. Seigo
51c2785743 obey the duration
svn path=/trunk/KDE/kdelibs/; revision=1038833
2009-10-22 02:59:24 +00:00
Aaron J. Seigo
3abdca0a1b start() is virtual and so we crash; if we need a pre-starting method, that should go into the animation class returned?
svn path=/trunk/KDE/kdelibs/; revision=1038832
2009-10-22 02:50:58 +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
Marco Martin
c470055a37 revert the last patch: when there is clipping the borders can't be
children of the scrolling widget

svn path=/trunk/KDE/kdelibs/; revision=1038759
2009-10-21 19:47:20 +00:00
Giulio Camuffo
016d870394 use QGraphicsOpacityEffect instead of simple setOpacity. this solves a bug with Plasma::Label and possibly other
widgets

svn path=/trunk/KDE/kdelibs/; revision=1038688
2009-10-21 16:29:00 +00:00
Marco Martin
7e80fdd8f1 use anchorlayout, quite a good quantity of code wiped out,
workaround to an annoying anchorlayout crasher tough

svn path=/trunk/KDE/kdelibs/; revision=1038665
2009-10-21 15:26:08 +00:00
Marco Martin
637a50e17c disable the clipping hack
svn path=/trunk/KDE/kdelibs/; revision=1038652
2009-10-21 15:01:06 +00:00
Marco Martin
7423a261dd keep a 1 pixel border
svn path=/trunk/KDE/kdelibs/; revision=1038647
2009-10-21 14:48:14 +00:00
Marco Martin
9f806ddf48 decide based on the sizehint whether resize the internal widget or not
svn path=/trunk/KDE/kdelibs/; revision=1038632
2009-10-21 14:32:24 +00:00
Martin Gräßlin
cdfbfc2a8f Adding a highlevel method to activate the present windows effect for a desktop or a group of windows.
svn path=/trunk/KDE/kdelibs/; revision=1038529
2009-10-21 10:51:36 +00:00
Script Kiddy
848de50e21 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1038500
2009-10-21 10:06:47 +00:00
Aaron J. Seigo
8814c2b2c0 * consolidate the start() methods
* make some changes needed for bindings

svn path=/trunk/KDE/kdelibs/; revision=1038369
2009-10-21 07:51:11 +00:00
Aaron J. Seigo
172e467929 SVN_SILENT: ws
svn path=/trunk/KDE/kdelibs/; revision=1038367
2009-10-21 07:47:05 +00:00
Adenilson Cavalcanti Da Silva
38726c368a Coding style.
svn path=/trunk/KDE/kdelibs/; revision=1038339
2009-10-21 05:35:56 +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
e802b2d224 use the qobject parent system
svn path=/trunk/KDE/kdelibs/; revision=1038330
2009-10-21 04:16:27 +00:00
Aaron J. Seigo
2a524aae11 * dptr
* use the qobject parent system instead of tracking it ourselves

svn path=/trunk/KDE/kdelibs/; revision=1038329
2009-10-21 04:15:52 +00:00
Aaron J. Seigo
27dbf07aec * take a qobject parent
* the dtor is implemented, not pure virt

svn path=/trunk/KDE/kdelibs/; revision=1038328
2009-10-21 04:15:04 +00:00
Aaron J. Seigo
28e7a91ff2 make the animated widget a property
svn path=/trunk/KDE/kdelibs/; revision=1038310
2009-10-21 02:28:08 +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
05e84d1684 mark and move AnimationDriver as being deprecated
svn path=/trunk/KDE/kdelibs/; revision=1038305
2009-10-21 01:50:37 +00:00
Adenilson Cavalcanti Da Silva
666ff44596 Making Animator factory method static.
svn path=/trunk/KDE/kdelibs/; revision=1038254
2009-10-20 21:54:48 +00:00
Adenilson Cavalcanti Da Silva
1379d29481 Improved factory, it will set the animation parent.
svn path=/trunk/KDE/kdelibs/; revision=1038248
2009-10-20 21:40:36 +00:00
Marco Martin
82317bda2d take in consideration the size hint of the internal widget for the own
sized hint

svn path=/trunk/KDE/kdelibs/; revision=1038245
2009-10-20 21:37:46 +00:00
Aaron J. Seigo
2e18ea7af8 some apidox noting when they appeared
svn path=/trunk/KDE/kdelibs/; revision=1038238
2009-10-20 21:25:39 +00:00
Aaron J. Seigo
db5fd60cc8 SVN_SILENT: cosmetics
svn path=/trunk/KDE/kdelibs/; revision=1038237
2009-10-20 21:24:06 +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
Adenilson Cavalcanti Da Silva
5b9120cae1 Implementing the factory in plasma::Animator for new animation objects.
The user should call Animator::create() with the animation type desired
(e.g. FadeAnimation, GrowAnimation, PulseAnimation, etc).

Next: move animation classes to private directory and rename then
so we can use a proper enumeration name.


svn path=/trunk/KDE/kdelibs/; revision=1038194
2009-10-20 19:54:22 +00:00
Adenilson Cavalcanti Da Silva
c849327042 Adding some new enumerations to map to new animation classes.
The idea is to provide a factory to build those objects.


svn path=/trunk/KDE/kdelibs/; revision=1038185
2009-10-20 19:19:11 +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
Adenilson Cavalcanti Da Silva
54b7836134 Removing empty spaces in comments.
svn path=/trunk/KDE/kdelibs/; revision=1038165
2009-10-20 18:40:34 +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
Aaron J. Seigo
118d75bf89 SVN_SILENT: fix up the ws
svn path=/trunk/KDE/kdelibs/; revision=1038117
2009-10-20 16:47:38 +00:00
Aaron J. Seigo
a84cf857e6 simplify this a bit for readability's sake
svn path=/trunk/KDE/kdelibs/; revision=1038116
2009-10-20 16:47:18 +00:00
Aaron J. Seigo
f9b2ad74fc api docs and note an API wart that should be fixed in the next BIC release
svn path=/trunk/KDE/kdelibs/; revision=1038110
2009-10-20 16:37:25 +00:00
Igor Trindade Oliveira
799e2dc3fb create arguments default
svn path=/trunk/KDE/kdelibs/; revision=1038079
2009-10-20 15:56:57 +00:00
Igor Trindade Oliveira
cd443a3ff9 add properties for animations
svn path=/trunk/KDE/kdelibs/; revision=1038078
2009-10-20 15:53:53 +00:00
Marco Martin
fbae18a177 not a static cast since it can fail
svn path=/trunk/KDE/kdelibs/; revision=1038049
2009-10-20 14:53:49 +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