Commit Graph

5316 Commits

Author SHA1 Message Date
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
751e79c666 SVN_SILENT: remove some fairly silly debug output
svn path=/trunk/KDE/kdelibs/; revision=1083611
2010-02-01 16:23:08 +00:00
Michał Dutkiewicz
a006686201 Fix typo
svn path=/trunk/KDE/kdelibs/; revision=1083572
2010-02-01 14:00:09 +00:00
Marco Martin
fd7b4fa730 a bit smarter policy to enable/disable borders:
-if the dialog is far from the panel, don't disable the corresponding border
-if the panel is smaller then the dialog, don't disable the corresponding border


svn path=/trunk/KDE/kdelibs/; revision=1083523
2010-02-01 12:02:20 +00:00
Aaron J. Seigo
87548ab1b2 unit test for type detection in RunnerContext so that we avoid regressions in the future
svn path=/trunk/KDE/kdelibs/; revision=1083290
2010-01-31 23:39:32 +00:00
Aaron J. Seigo
73cb722f17 http://, man:/, file:/// and file:// all work as expected
svn path=/trunk/KDE/kdelibs/; revision=1083259
2010-01-31 22:26:58 +00:00
Aaron J. Seigo
1e6e5e7469 --compileWarnings;
svn path=/trunk/KDE/kdelibs/; revision=1083237
2010-01-31 21:44:11 +00:00
Marco Martin
989df58b2b -a size hint. hardcoded because here we can't really have infos but is already better than nothing
-if the alignment of lablels is left, paint with a point instead of a rect, so won't clip away the text

svn path=/trunk/KDE/kdelibs/; revision=1083230
2010-01-31 21:30:41 +00:00
Michael Pyne
1ae27ef35f Forwardport KDE 4.4 bugfix for KRunner (bug 224204, ftp/http URLs don't open web browser)
to KDE 4.5. Patch reviewed by Marco Martin.

BUG:224204

svn path=/trunk/KDE/kdelibs/; revision=1083225
2010-01-31 21:22:13 +00:00
Beat Wolf
cc7c0a3359 added debug output to measure kde startup time
svn path=/trunk/KDE/kdelibs/; revision=1083186
2010-01-31 19:45:48 +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
Aaron J. Seigo
cc2a593588 unneeded
svn path=/trunk/KDE/kdelibs/; revision=1082175
2010-01-29 21:49:01 +00:00
Aaron J. Seigo
dd96031f53 isBusy is the wrong name for the property; should be just 'busy', but it's too late at this point to remove isBusy, so just duplicate it. i'd rather have a consistent API and get people using that so that there is less heartache when we get rid of isBusy whenever we break BC
svn path=/trunk/KDE/kdelibs/; revision=1082161
2010-01-29 21:22:36 +00:00
Aaron J. Seigo
dd53f9bd7f make it easy to track if the configuration dialog is around or not
svn path=/trunk/KDE/kdelibs/; revision=1082160
2010-01-29 21:21:16 +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
Marco Martin
3618f03425 remove extra constructor
svn path=/trunk/KDE/kdelibs/; revision=1081212
2010-01-27 22:22: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
Chani Armitage
14c45f179f make "run associated application" obey security
svn path=/trunk/KDE/kdelibs/; revision=1081144
2010-01-27 20:34:55 +00:00
Fredrik Höglund
b6ab41d131 Don't crash in PaintUtils::transition() if the pixmap doesn't have a
paint engine.

This is sometimes the case when called from AbstractTaskItem::drawTask().

svn path=/trunk/KDE/kdelibs/; revision=1081054
2010-01-27 16:26:41 +00:00
Marco Martin
189289660c a ctor with a QGraphicsItem as parent as it should always had
svn path=/trunk/KDE/kdelibs/; revision=1081047
2010-01-27 16:03:47 +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
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
69e65f2df8 Oops ... s/graphicswidget/qgraphicswidget
Patch by: Bruno Abinader<brunoabinader@gmail.com>

svn path=/trunk/KDE/kdelibs/; revision=1080626
2010-01-26 15:43:23 +00:00
Igor Trindade Oliveira
4a01b71e47 Added missing Plasma::Frame parent resizeEvent() call
Patch by: Bruno Abinader <brunoabinader@gmail.com>

svn path=/trunk/KDE/kdelibs/; revision=1080622
2010-01-26 15:29:53 +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
Friedrich W. H. Kossebau
f8e3b015f6 fixed: animations/pixmaptransition.cpp was 2x listed
svn path=/trunk/KDE/kdelibs/; revision=1080143
2010-01-25 18:16:04 +00:00
André Wöbbeking
1f08f5e5bb -pedantic
svn path=/trunk/KDE/kdelibs/; revision=1080061
2010-01-25 14:09:38 +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
Marco Martin
5dba601d47 fix build, animationUpdate() is dead
svn path=/trunk/KDE/kdelibs/; revision=1079737
2010-01-24 22:05:25 +00:00
Marco Martin
ee7be144b1 use pixmaptransition animation
svn path=/trunk/KDE/kdelibs/; revision=1079688
2010-01-24 19:48:18 +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
157711c581 port tabbar to new animation api.
svn path=/trunk/KDE/kdelibs/; revision=1078747
2010-01-22 19:31:42 +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
Igor Trindade Oliveira
2d2dc8a37a remove debug message
svn path=/trunk/KDE/kdelibs/; revision=1078683
2010-01-22 16:05:39 +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
Marco Martin
d991db97ff a function to center two pixmaps. the final size will be the maximum width and height between the two and they will be centered
transition now uses it

svn path=/trunk/KDE/kdelibs/; revision=1078294
2010-01-21 23:13:56 +00:00
Marco Martin
b5aa2f6169 include missing file
svn path=/trunk/KDE/kdelibs/; revision=1078271
2010-01-21 22:31:20 +00:00
Igor Trindade Oliveira
94e48dc79f Oops .. fix property name used in qpropertyanimation
svn path=/trunk/KDE/kdelibs/; revision=1078268
2010-01-21 22:28:45 +00:00
Igor Trindade Oliveira
79db16ac7b port itembackground to new animation api.
svn path=/trunk/KDE/kdelibs/; revision=1078255
2010-01-21 21:53:01 +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
Igor Trindade Oliveira
323d93a0b1 go go go! port push button to new animation api
svn path=/trunk/KDE/kdelibs/; revision=1078224
2010-01-21 20:07:33 +00:00
Igor Trindade Oliveira
e3c568bcfd port Meter widget to new animatio api.
svn path=/trunk/KDE/kdelibs/; revision=1078101
2010-01-21 14:49:56 +00:00
Anne-Marie Mahfouf
35599c36e5 fix build
svn path=/trunk/KDE/kdelibs/; revision=1078064
2010-01-21 11:51:25 +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
Chani Armitage
5f91181d59 changing names works better when you change all instances ;)
svn path=/trunk/KDE/kdelibs/; revision=1077904
2010-01-21 06:00:24 +00:00