Commit Graph

5328 Commits

Author SHA1 Message Date
Script Kiddy
7f356b02c7 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1085562
2010-02-05 13:26:51 +00:00
Marco Martin
92730e9e15 (almost) fix the tabbar animation.
there are still repaint issues on the native tabbar tough

svn path=/trunk/KDE/kdelibs/; revision=1085531
2010-02-05 12:24:46 +00:00
Bruno de Oliveira Abinader
0928bed7ce Updated Plasma VideoWidget animation to use Plasma::Animator::SlideAnimation
svn path=/trunk/KDE/kdelibs/; revision=1085249
2010-02-04 18:33:24 +00:00
Marco Martin
877957aa18 remove the pressed state on hoverleaveevent. useful when an eventfilter steals the mousereleaseevent (like scrollwidget::registerAsDragHandle())
svn path=/trunk/KDE/kdelibs/; revision=1084837
2010-02-03 20:52:03 +00:00
Marco Martin
2e9b47d6bd if the user dragged less than KGlobalSettings::dndEventDelay() and releases, don't drag, but pass the click, start to drag after that threshold
svn path=/trunk/KDE/kdelibs/; revision=1084809
2010-02-03 20:08:57 +00:00
Aaron J. Seigo
342be4bd86 another use case, another way the code could fail; reorganize this code so that if a dialog isn't auto-generated (no matter why!) we fall back to the ScriptEngine's own implemenation
svn path=/trunk/KDE/kdelibs/; revision=1084746
2010-02-03 17:37:54 +00:00
Aaron J. Seigo
7d33f20f40 even better: if the UI file is bogus for whatever reason (not just "we can't open it") call the script's createConfigurationInterface to see if that works any better
svn path=/trunk/KDE/kdelibs/; revision=1084729
2010-02-03 16:18:37 +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
Aaron J. Seigo
9e9ccc663b the ui load can return a null pointer, so guard against that
svn path=/trunk/KDE/kdelibs/; revision=1084622
2010-02-03 10:48:53 +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
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