Commit Graph

5774 Commits

Author SHA1 Message Date
Marco Martin
bd87a3f3b7 simplify a bit, now Svg can return directly a pixmap
svn path=/trunk/KDE/kdelibs/; revision=1091013
2010-02-16 14:38:58 +00:00
Aaron J. Seigo
2c84f169a1 in case a script engine does not add the standard pages (which is a bug in the script engine), at least don't crash
BUG:226823

svn path=/branches/KDE/4.4/kdelibs/; revision=1090828
2010-02-16 06:47:37 +00:00
Aaron J. Seigo
74ab090b72 in case a script engine does not add the standard pages (which is a bug in the script engine), at least don't crash
BUG:226823

svn path=/trunk/KDE/kdelibs/; revision=1090827
2010-02-16 06:46:39 +00:00
Aaron J. Seigo
f401ea55fc SVN_SILENT: pedanticism
svn path=/trunk/KDE/kdelibs/; revision=1090826
2010-02-16 06:45:56 +00:00
Davide Bettio
12300374db Plasma::WebView has KDE integration since now (using KWebKit)
svn path=/trunk/KDE/kdelibs/; revision=1090803
2010-02-16 02:41:14 +00:00
Aaron J. Seigo
70185eba03 initialComponents is unsigned, so can't -1 from it; just return if the components list is empty
CCBUG:227118

svn path=/branches/KDE/4.4/kdelibs/; revision=1090802
2010-02-16 02:40:19 +00:00
Aaron J. Seigo
32683cd664 initialComponents is unsigned, so can't -1 from it; just return if the components list is empty
BUG:227118

svn path=/trunk/KDE/kdelibs/; revision=1090799
2010-02-16 02:36:28 +00:00
Aaron J. Seigo
1b191f52ba set the view on the page; this is a but in QtWebkit, but at least this prevents crashing for now
svn path=/branches/KDE/4.4/kdelibs/; revision=1090789
2010-02-16 01:08:57 +00:00
Aaron J. Seigo
8b550a13ad set the view on the page; this is a but in QtWebkit, but at least this prevents crashing for now
svn path=/trunk/KDE/kdelibs/; revision=1090788
2010-02-16 01:07:25 +00:00
Davide Bettio
f5716b83cd Added missing Q_DECLARE_OPERATORS_FOR_FLAGS.
svn path=/trunk/KDE/kdelibs/; revision=1090757
2010-02-15 23:18:37 +00:00
Marco Martin
d661297dc3 unbreak actualElementId
svn path=/trunk/KDE/kdelibs/; revision=1090746
2010-02-15 22:55:43 +00:00
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
0d7b5e88d8 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
CCBUG:226391

svn path=/branches/KDE/4.4/kdelibs/; revision=1088931
2010-02-11 22:53:42 +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
60439c0ae5 catch the case where we have a containment, but the containment is not in a corona
CCBUG:214460

svn path=/branches/KDE/4.4/kdelibs/; revision=1088124
2010-02-10 08:49:00 +00:00
Aaron J. Seigo
18e67bfb56 catch the case where we have a containment, but the containment is not in a corona
CCBUG:214460

svn path=/branches/KDE/4.4/kdelibs/; revision=1088123
2010-02-10 08:48:20 +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
4670d21feb ensure the icon has an action before using it
BUG:224944

svn path=/branches/KDE/4.4/kdelibs/; revision=1088114
2010-02-10 08:18:44 +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