Commit Graph

5431 Commits

Author SHA1 Message Date
Marco Martin
2b9a4f4e63 when a moveevent occurs, is not by the animation, that sets the geometry instead, so we can safely use it to notice when somebody else has moved the contents by had. is really important in this case to immediately stop the animation
svn path=/trunk/KDE/kdelibs/; revision=1094135
2010-02-22 09:36:20 +00:00
Ivan Čukić
2e5064ca2f Changed method name
svn path=/trunk/KDE/kdelibs/; revision=1093946
2010-02-21 19:30:11 +00:00
Ivan Čukić
da3fcc1b67 Mime ddata support in runners
svn path=/trunk/KDE/kdelibs/; revision=1093881
2010-02-21 17:06:10 +00:00
Marco Martin
3a2a21d34a actually disable the fade when a bunch of fast changes (animation frames) happen
svn path=/trunk/KDE/kdelibs/; revision=1093280
2010-02-20 14:19:29 +00:00
Script Kiddy
05d70e7add SVN_SILENT made messages (.desktop file, second try)
svn path=/trunk/KDE/kdebase/workspace/plasma/generic/containmentactions/test/; revision=1092721
2010-02-19 12:22:00 +00:00
David Faure
dcf17f34c7 Fix widgets/webview.cpp:270: error: control reaches end of non-void function
svn path=/trunk/KDE/kdelibs/; revision=1092367
2010-02-18 19:54:47 +00:00
Marco Martin
c1d8b6211c unfortunately at the moment a remote dataengine can only poll.
as the sourceadded poll, this will have to become a push from the remote end

svn path=/trunk/KDE/kdelibs/; revision=1092101
2010-02-18 10:05:31 +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
Davide Bettio
d982f20609 Plasma::WebView has been ported to KGraphicsWebView. http://reviewboard.kde.org/r/2990/
svn path=/trunk/KDE/kdelibs/; revision=1091982
2010-02-17 23:59:14 +00:00
Marco Martin
69ca0bd767 setData() was actually wrong there
this fixes remote notifications
(where the data is set exactly once after sourceadded)

svn path=/trunk/KDE/kdelibs/; revision=1091959
2010-02-17 23:10:16 +00:00
Marco Martin
ac7b1cce29 emit sourceadded or sourceremoved when it notices sources have been added or removed remotely
svn path=/trunk/KDE/kdelibs/; revision=1091937
2010-02-17 22:15:58 +00:00
Aaron J. Seigo
5ae0574f54 turn this off in trunk
CCMAIL:chanika@gmail.com

svn path=/trunk/KDE/kdelibs/; revision=1091863
2010-02-17 18:26:28 +00:00
Marco Martin
fd3cb4d9a0 SVN_SILENT
less noise

svn path=/trunk/KDE/kdelibs/; revision=1091739
2010-02-17 12:39:23 +00:00
Marco Martin
a9cc788fb2 animate icon change with fade, but only if the chage doesn't happen too frequently (so is still possible to fo an animation by quicky change the icon)
svn path=/trunk/KDE/kdelibs/; revision=1091092
2010-02-16 17:24:35 +00:00
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
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
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
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
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