Commit Graph

5459 Commits

Author SHA1 Message Date
Marco Martin
de832d5e60 when asking to render an element, search before for one with a width-height- prefix. if not found, fallback to the usual one
svn path=/trunk/KDE/kdelibs/; revision=1090743
2010-02-15 22:49:19 +00:00
Marco Martin
9d7a9b3e70 document why id is needed
svn path=/trunk/KDE/kdelibs/; revision=1090738
2010-02-15 22:34:34 +00:00
Marco Martin
5f1cde4b29 try to align elements to the pixel grid, if it was not exactly alighed to integer positions and sizes
svn path=/trunk/KDE/kdelibs/; revision=1090708
2010-02-15 20:36:35 +00:00
Script Kiddy
2c6947925f SVN_SILENT made messages (.desktop file, second try)
svn path=/trunk/KDE/kdebase/workspace/plasma/generic/containmentactions/test/; revision=1089061
2010-02-12 10:55:37 +00:00
Aaron J. Seigo
b335bdb1b6 we should only muck with the minimum sizes of the popup applet when iconified if it is actually using an icon; otherwise we leave it up to the applet itself to do this properly as it normally would have to
BUG:226391

svn path=/trunk/KDE/kdelibs/; revision=1088928
2010-02-11 22:52:16 +00:00
Bruno de Oliveira Abinader
5571e3e549 Change the all Plasma::Animator::self() to Plasma::Animator::create in FlashingLable class.
Patch-by: Andre Loureiro <loureiro.andrew@gmail.com>

svn path=/trunk/KDE/kdelibs/; revision=1088729
2010-02-11 13:04:12 +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
Aaron J. Seigo
362872435e catch the case where we have a containment, but the containment is not in a corona
BUG:214460

svn path=/trunk/KDE/kdelibs/; revision=1088122
2010-02-10 08:47:12 +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
eb0f684143 api wart note
svn path=/trunk/KDE/kdelibs/; revision=1088019
2010-02-10 00:27:58 +00:00
Marco Martin
1aa1d4b2f0 return a geometry that makes sense or will have layouts problems forever
(actually just always return QGraphicsWidget::geometry() would make even more sense)

svn path=/trunk/KDE/kdelibs/; revision=1087924
2010-02-09 20:07:38 +00:00
David Faure
a43026ec4e forwardport 1087561: Actually create only one dbus connection per thread, and unregister when the thread exits.
Reviewed by Sebastian Trueg.

svn path=/trunk/KDE/kdelibs/; revision=1087569
2010-02-09 11:20:18 +00:00
Aaron J. Seigo
048a814eb8 ifdef the measurement code so i can easily turn it back on again for future debugging
svn path=/trunk/KDE/kdelibs/; revision=1087402
2010-02-08 23:39:05 +00:00
Marco Martin
ee81c23d18 check if the animation actually exists
svn path=/trunk/KDE/kdelibs/; revision=1087327
2010-02-08 20:47:29 +00:00
Bruno de Oliveira Abinader
22c390a768 Fixed IconWidget's item action animation (s/ZoomAnimation/PixmapTransitionAnimation)
svn path=/trunk/KDE/kdelibs/; revision=1087296
2010-02-08 19:27: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
Bruno de Oliveira Abinader
bf225098a9 Updated Plasma IconWidget to use new animation API + QPropertyAnimation
svn path=/trunk/KDE/kdelibs/; revision=1085753
2010-02-05 21:46:51 +00:00
Marco Martin
ed0f495b4e paint the pressed state too
svn path=/trunk/KDE/kdelibs/; revision=1085661
2010-02-05 17:41:42 +00:00
Script Kiddy
9419251043 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/plasma/generic/containmentactions/test/; revision=1085566
2010-02-05 13:31:20 +00:00
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
a4f2a6eb7f backport pressed state reset fix
svn path=/branches/KDE/4.4/kdelibs/; revision=1084840
2010-02-03 20:54:49 +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
d24d0eaeed backport drag treshold on dragHandles
svn path=/branches/KDE/4.4/kdelibs/; revision=1084810
2010-02-03 20:10:32 +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
0d51b21cab 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=/branches/KDE/4.4/kdelibs/; revision=1084747
2010-02-03 17:41:18 +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
ed37e1acc0 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=/branches/KDE/4.4/kdelibs/; revision=1084730
2010-02-03 16:20:10 +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
Script Kiddy
e924c9d534 SVN_SILENT made messages (.desktop file)
svn path=/branches/KDE/4.4/kdelibs/; revision=1084631
2010-02-03 11:01:14 +00:00
Aaron J. Seigo
3f52ba3c9f the ui load can return a null pointer, so guard against that
svn path=/branches/KDE/4.4/kdelibs/; revision=1084626
2010-02-03 10:50:47 +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
978d127094 for consistency use khns3 dialog; look ma, no more memory leaks as a bonus!
BUG:225360

svn path=/branches/KDE/4.4/kdelibs/; revision=1084578
2010-02-03 10:30:30 +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
e3cab4cc26 be sure to remove the tool from the tool collection if it gets deleted because the action was removed
svn path=/branches/KDE/4.4/kdelibs/; revision=1084456
2010-02-03 08:27:33 +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
2a7ab28951 Backport from trunk:
Replaced combined movement direction enumerations (i.e. MoveUpRight) with OR-combinations (i.e. MoveUp|MoveLeft) plus MovementDirection and Reference enumerators are now QFlags (using Q_DECLARE_FLAGS)


svn path=/branches/KDE/4.4/kdelibs/; revision=1084111
2010-02-02 14:24:21 +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
Script Kiddy
27a524216f SVN_SILENT made messages (.desktop file)
svn path=/branches/KDE/4.4/kdelibs/; revision=1084009
2010-02-02 10:37:00 +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