Commit Graph

5431 Commits

Author SHA1 Message Date
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
Aaron J. Seigo
3f57259d7a http://, man:/, file:/// and file:// all work as expected
svn path=/branches/KDE/4.4/kdelibs/; revision=1083284
2010-01-31 23:26:45 +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
Michael Pyne
b0737279cd Fix a regression introduced in one of the 4.4 RCs in KDE 4.4, bug 224204 (http / ftp
URLs do not open web browser in KRunner). Pretty sure I'd tested it, but not thouroughly
enough it appears. I will forwardport shortly.

Patch reviewed by Marco Martin.

CCBUG:224204

svn path=/branches/KDE/4.4/kdelibs/; revision=1083222
2010-01-31 21:20:59 +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
Script Kiddy
55853f7cb3 SVN_SILENT made messages (.desktop file)
svn path=/branches/KDE/4.4/kdelibs/; revision=1082806
2010-01-31 10:55:05 +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
502a2ad9d3 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=/branches/KDE/4.4/kdelibs/; revision=1082163
2010-01-29 21:24:25 +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
c85fbed752 Fix segfault at plasma_applet_animation_example from kdeexample
Patch-by: Andre L. V. Loureiro <loureiro.andrew@gmail.com>

svn path=/branches/KDE/4.4/kdelibs/; revision=1082153
2010-01-29 21:00:57 +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
Script Kiddy
2986feb951 SVN_SILENT made messages (.desktop file)
svn path=/branches/KDE/4.4/kdelibs/; revision=1081854
2010-01-29 10:12:11 +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
Marco Martin
9aed7f55a0 revert the popup menus detachment out of QGraphicsProxyWidget, but only in 4.4 branch.
this is unfortunate but triggers qt bug 7254
http://bugreports.qt.nokia.com/browse/QTBUG-7254
hope will be possible to revert this commit even in 4.4 lifetime

svn path=/branches/KDE/4.4/kdelibs/; revision=1081199
2010-01-27 22:05:46 +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
f77cf8c3e0 backport of r1081144:
make "run associated application" obey security

svn path=/branches/KDE/4.4/kdelibs/; revision=1081145
2010-01-27 20:35:52 +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
0fa82befaf Backport r1081054:
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=/branches/KDE/4.4/kdelibs/; revision=1081056
2010-01-27 16:32:47 +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
Aaron J. Seigo
91794a6bf7 need to call the parent method as well
svn path=/branches/KDE/4.4/kdelibs/; revision=1080745
2010-01-26 21:21:31 +00:00