Bruno de Oliveira Abinader
51a9b1ac72
Added Plasma::Animator::easingCurve() pre-defined easing curves factory.
...
Using this, Plasma::PendulumCurve now longer needs to be public :-)
svn path=/trunk/KDE/kdelibs/; revision=1118090
2010-04-23 20:55:46 +00:00
Bruno de Oliveira Abinader
2375cd6ce8
Added Plasma::PendulumCurve class plus make it work with RotationAnimation
...
svn path=/trunk/KDE/kdelibs/; revision=1117942
2010-04-23 13:39:34 +00:00
Bruno de Oliveira Abinader
abd0dd20b5
Missed RotationStacked QEasingCurve double call fix :-)
...
svn path=/trunk/KDE/kdelibs/; revision=1117941
2010-04-23 13:38:38 +00:00
Bruno de Oliveira Abinader
75b66bdd8b
Avoid double call for QEasingCurve's valueForProgress() (now executed by EasingAnimation before calling updateEffectiveTime), causing a minor corruption of the effective animation progress values.
...
svn path=/trunk/KDE/kdelibs/; revision=1117762
2010-04-22 23:10:29 +00:00
Bruno de Oliveira Abinader
a8975d2e2d
Initial WaterAnimation implementation
...
This water animation uses the RippleEffect class to simulate a cool water animation on the target widget
svn path=/trunk/KDE/kdelibs/; revision=1116474
2010-04-19 15:09:36 +00:00
Bruno de Oliveira Abinader
daffafb9fe
s/pulsershadow/widgetsnapshot
...
svn path=/trunk/KDE/kdelibs/; revision=1115254
2010-04-15 18:51:26 +00:00
Aaron J. Seigo
892d8ae1c0
use the easing curve in all of our animations
...
svn path=/trunk/KDE/kdelibs/; revision=1112612
2010-04-08 17:07:33 +00:00
Bruno de Oliveira Abinader
4f301b339f
Reverting "Added bouncing effect for Rotation animation"
...
svn path=/trunk/KDE/kdelibs/; revision=1112210
2010-04-07 15:56:21 +00:00
Bruno de Oliveira Abinader
7507808e7c
Added bouncing effect for Rotation animation
...
svn path=/trunk/KDE/kdelibs/; revision=1112192
2010-04-07 15:19:07 +00:00
Marco Martin
8269a5055e
fix fade out
...
svn path=/trunk/KDE/kdelibs/; revision=1109248
2010-03-30 21:24:04 +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
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
Igor Trindade Oliveira
65ee24a2a3
use qfuzzycompare to resolse black frame in pixmap transitions
...
svn path=/trunk/KDE/kdelibs/; revision=1095410
2010-02-24 08:53:10 +00:00
Adenilson Cavalcanti Da Silva
af1a619c06
Including 'moc' files, should speed up compilation.
...
svn path=/trunk/KDE/kdelibs/; revision=1095303
2010-02-23 23:31:45 +00:00
Adenilson Cavalcanti Da Silva
6265ebb629
We no longer need this to be a slot.
...
svn path=/trunk/KDE/kdelibs/; revision=1095302
2010-02-23 23:31:20 +00:00
Adenilson Cavalcanti Da Silva
4dec145f85
Safeguards in case of invalid image.
...
svn path=/trunk/KDE/kdelibs/; revision=1094589
2010-02-22 23:18:30 +00:00
Adenilson Cavalcanti Da Silva
5506f87e55
Trying to get the center right.
...
svn path=/trunk/KDE/kdelibs/; revision=1094577
2010-02-22 22:31:14 +00:00
Adenilson Cavalcanti Da Silva
02d3966f3c
Setting the scale (it works now, there is a problem with centering).
...
svn path=/trunk/KDE/kdelibs/; revision=1094558
2010-02-22 22:17:17 +00:00
Adenilson Cavalcanti Da Silva
3b589bbd68
Implementing now the support for 'bigger icons' in the animation itself (it is
...
missing the setting of the scale factor), but at least there is not
any regression in the code.
svn path=/trunk/KDE/kdelibs/; revision=1094544
2010-02-22 22:06:05 +00:00
Adenilson Cavalcanti Da Silva
04e16a4261
Implementing support for larger pre-scaled widget raster representation.
...
svn path=/trunk/KDE/kdelibs/; revision=1094534
2010-02-22 21:58:21 +00:00
Adenilson Cavalcanti Da Silva
24ea07b548
Fixing behavior showed in IconWidget (thanks aseigo for helping, I owne you
...
ein WEISSBIER!).
svn path=/trunk/KDE/kdelibs/; revision=1094514
2010-02-22 21:38:22 +00:00
Adenilson Cavalcanti Da Silva
ee1b3166f7
Adding a todo.
...
svn path=/trunk/KDE/kdelibs/; revision=1094499
2010-02-22 21:22:08 +00:00
Adenilson Cavalcanti Da Silva
ed33fab95e
Same case.
...
svn path=/trunk/KDE/kdelibs/; revision=1094498
2010-02-22 21:21:27 +00:00
Adenilson Cavalcanti Da Silva
c64e8beb83
Adding missing documentation.
...
svn path=/trunk/KDE/kdelibs/; revision=1094497
2010-02-22 21:20:53 +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
Marco Martin
ef3e69f672
never make the pixmap fully opaque, because the alpha channel would get disabled, obtaining a so pretty black rectangle
...
svn path=/trunk/KDE/kdelibs/; revision=1088460
2010-02-10 21:54:12 +00:00
Bruno de Oliveira Abinader
262289bd48
Fix a glitch when the action widget pixmap alpha reaches near 100%
...
svn path=/trunk/KDE/kdelibs/; revision=1087295
2010-02-08 19:24:47 +00:00
Bruno de Oliveira Abinader
68bb384587
Fixed QPainter debug message when m_currentTarget was not set and m_startPixmap is null
...
svn path=/trunk/KDE/kdelibs/; revision=1087268
2010-02-08 18:36:11 +00:00
Marco Martin
afb1279b21
center the pixmaps in the first anim frame too
...
svn path=/trunk/KDE/kdelibs/; revision=1084667
2010-02-03 12:46:54 +00:00
Bruno de Oliveira Abinader
d69885df4d
MovementDirection and Reference enumerators are now QFlags (using Q_DECLARE_FLAGS), as suggested by aseigo
...
svn path=/trunk/KDE/kdelibs/; revision=1084090
2010-02-02 13:36:23 +00:00
Bruno de Oliveira Abinader
38bf1d8725
Removed implicit enumerated animation movement direction combinations (i.e. MoveUpRight) and added support for combinations (i.e. MoveUp|MoveLeft). Currently used by RotationStacked and Slide animations, which were previously adapted to this clean design
...
svn path=/trunk/KDE/kdelibs/; revision=1083641
2010-02-01 18:06:01 +00:00
Bruno de Oliveira Abinader
ed5c03e6b2
Added support for animation movement direction combinations (i.e. MoveUp|MoveLeft) to Slide
...
svn path=/trunk/KDE/kdelibs/; revision=1083640
2010-02-01 18:02:53 +00:00
Bruno de Oliveira Abinader
cb7f6a2f2b
Added support for animation movement direction combinations (i.e. MoveUp|MoveLeft) to RotationStacked
...
svn path=/trunk/KDE/kdelibs/; revision=1083639
2010-02-01 18:01:40 +00:00
Aaron J. Seigo
1e6e5e7469
--compileWarnings;
...
svn path=/trunk/KDE/kdelibs/; revision=1083237
2010-01-31 21:44:11 +00:00
Bruno de Oliveira Abinader
6086b03de5
Moved sideAngle to be a static const member
...
svn path=/trunk/KDE/kdelibs/; revision=1083081
2010-01-31 15:54:14 +00:00
Bruno de Oliveira Abinader
f820ea872d
Fix segfault at plasma_applet_animation_example from kdeexamples
...
Patch-by: Andre L. V. Loureiro <loureiro.andrew@gmail.com>
svn path=/trunk/KDE/kdelibs/; revision=1082144
2010-01-29 20:36:32 +00:00
Marco Martin
54eeaa5f91
support for fade in/fade out to transparent
...
svn path=/trunk/KDE/kdelibs/; revision=1081537
2010-01-28 17:08:07 +00:00
Bruno de Oliveira Abinader
0c442d4834
Fixed Plasma::RotationStackedAnimation animation origin for the following cases:
...
- Front and back widgets have different sizes;
- Front and back widgets changes their sizes after creating the animation;
svn path=/trunk/KDE/kdelibs/; revision=1081150
2010-01-27 20:43:56 +00:00
Igor Trindade Oliveira
586e18576b
The layout now assigns to their childs the effectiveRect, which is more safe than the raw rectangle. Also fixed some minor typos.
...
Patch-by: Bruno Abinader <brunoabinader@gmail.com>
svn path=/trunk/KDE/kdelibs/; revision=1080692
2010-01-26 18:40:51 +00:00
Igor Trindade Oliveira
f074b75d7d
updates, cleans up and finishes the remaining Plasma::RotationStackedAnimation transformations. Now every combination of animation origin ( Up, Up | Left, Up | Right, Down, Down | Left, Down | Right, Left, Right) works with the animation movement directions ( MoveUp, MoveUpLeft, MoveUpRight, MoveDown, MoveDownLeft, MoveDownRight, MoveLeft, MoveRight).
...
Patch by: Bruno Abinader <brunoabinader@gmail.com>
svn path=/trunk/KDE/kdelibs/; revision=1080054
2010-01-25 13:37:57 +00:00
Igor Trindade Oliveira
d42e7f8b7b
SlideAnimation: add a new movement direction movement any, it is useful when the user just know where is the finish position of widget like tabbar slide animation
...
svn path=/trunk/KDE/kdelibs/; revision=1078733
2010-01-22 18:55:37 +00:00
Marco Martin
92c25ee0d1
behave nicely when pixmaps are changed while the animation is running
...
svn path=/trunk/KDE/kdelibs/; revision=1078298
2010-01-21 23:31:45 +00:00
Igor Trindade Oliveira
eb8c97dcae
fixes a small bug on RotationStackedAnimation which uses a wrong delta for the back widget rotation animation angle. The back widget was rotating from 90 (0.25 * 360) degrees to 180 (0.5 * 360), but the correct rotation is from 270 (0.75 * 360) to 360 (1.00 * 360). This patch also fixes code indentation.
...
Patch by: Bruno Abinader <brunoabinader@gmail.com>
svn path=/trunk/KDE/kdelibs/; revision=1078228
2010-01-21 20:15:03 +00:00
Marco Martin
586df4c6ac
a class to handle transitions betwen pixmap.
...
puhbutton port in the works too
svn path=/trunk/KDE/kdelibs/; revision=1077924
2010-01-21 07:23:18 +00:00
Adenilson Cavalcanti Da Silva
71dc3dea64
Fixing a segfault by -1 in plasma-netbook (special thanks to notmart).
...
svn path=/trunk/KDE/kdelibs/; revision=1075973
2010-01-17 06:05:54 +00:00
Aaron J. Seigo
5755627da7
this is now completely unecessary
...
svn path=/trunk/KDE/kdelibs/; revision=1073814
2010-01-12 22:31:12 +00:00
Aaron J. Seigo
18640f63e3
* kill some memory leaks
...
* mark appropriate ctors with explicit
* Direction -> MovementDirection so it doesn't conflict with QAbstractAnimation::Direction
svn path=/trunk/KDE/kdelibs/; revision=1073809
2010-01-12 22:24:58 +00:00
Aaron J. Seigo
1bdc28c19e
AnimationDirection should be Animation::Direction ... glad i caught this before 4.4.0 was rolled!
...
svn path=/trunk/KDE/kdelibs/; revision=1073436
2010-01-12 09:54:42 +00:00
Aaron J. Seigo
bd94befc48
center is a more sensible default
...
svn path=/trunk/KDE/kdelibs/; revision=1073434
2010-01-12 09:42:07 +00:00
Aaron J. Seigo
6d71722209
declare the enumeration so scripts can get at it
...
svn path=/trunk/KDE/kdelibs/; revision=1073432
2010-01-12 09:40:51 +00:00