Commit Graph

2802 Commits

Author SHA1 Message Date
Marco Martin
1e12bfe8ca style with the PushButton svg elements when is not editable
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=866345
2008-09-30 16:17:49 +00:00
Marco Martin
c1a7cb7ce7 pixmap fading transition effect in paintutils taken from
KFileItemDelegate::Private::transition()
now icon widget uses it

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=866344
2008-09-30 16:15:00 +00:00
Aaron J. Seigo
266765dd9b take an optional parent parameter, always be sure the job has a parent
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=866341
2008-09-30 16:03:11 +00:00
Aaron J. Seigo
443a3b3352 * support TryExec
* fix include order

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=866331
2008-09-30 15:41:21 +00:00
Aaron J. Seigo
1b266963bb one property we don't use anymore, and one we now do
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=866330
2008-09-30 15:40:46 +00:00
Aaron J. Seigo
a236434b99 this is still messed up =/
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=866084
2008-09-29 23:52:02 +00:00
Script Kiddy
87f30291ec SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=865874
2008-09-29 11:19:40 +00:00
Aaron J. Seigo
367936cc09 * remove the check for layout() in setFormFactor; that's no longer valid
* emit config needs saving signals when these things change
* only write the changes if the values actually do change

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=865206
2008-09-27 01:54:24 +00:00
Aaron J. Seigo
d732923026 save changes as they happen
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=865205
2008-09-27 01:51:52 +00:00
Aaron J. Seigo
7dd036c4ab fix the test
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=865200
2008-09-27 00:17:07 +00:00
Petri Damstén
fdfdb97adb Add support for defaultPackageRoot and servicePrefix to package handling.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=865083
2008-09-26 15:43:32 +00:00
Aaron J. Seigo
02ba0e68a1 delete the script before the package!
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=864836
2008-09-25 16:27:49 +00:00
Aaron J. Seigo
e1a0d5bb9c * save the size/rotation shortly after it's made .. should help preserve those changes in cases of crashes mor consistently
* delete the script before deleting the items it might rely on (e.g. the package!)

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=864835
2008-09-25 16:26:04 +00:00
Frederik Schwarzer
ee8d547da8 let me introduce: typo of the year "the the"
mostly seen as
"the the" -> "the"
"the the" -> "to the"
and in its best case
"a the the" -> "" :)

svn path=/trunk/KDE/kdelibs/; revision=864814
2008-09-25 15:05:22 +00:00
Dario Freddi
9556863db5 Fixing a typo that caused segfault, added a comment for reviewing config loading
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=864775
2008-09-25 12:40:13 +00:00
Sebastian Kügler
eba90f900b Less random size for the extender's title ;)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=864554
2008-09-25 03:09:24 +00:00
Aaron J. Seigo
b28cd641ce more careful
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=864514
2008-09-24 21:55:37 +00:00
Aaron J. Seigo
c676e5130b there is always an extender item
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=864510
2008-09-24 21:46:37 +00:00
Aaron J. Seigo
e2b8fa258a use the config defined in the constructor for runner settings as well
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=864402
2008-09-24 18:13:21 +00:00
Marco Martin
7e975d764c make it compile on arm
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=864367
2008-09-24 15:59:29 +00:00
Laurent Montel
8e9aed75a6 Be sure to delete it
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=864270
2008-09-24 11:44:39 +00:00
Aaron J. Seigo
d9a206dc22 SVN_SILENT: ws
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=864141
2008-09-24 02:49:21 +00:00
Marco Martin
94b4c8cfa7 pixmap() works also with containsMultipleImages
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=863958
2008-09-23 15:52:45 +00:00
Petri Damstén
8eef2c7764 Get group from config group and use that as a parent.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=863901
2008-09-23 12:21:19 +00:00
Script Kiddy
56e353da9b SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=863855
2008-09-23 11:24:55 +00:00
Aaron J. Seigo
d3bff41f31 make it easy for when source == dest, which is a common case
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=863721
2008-09-22 23:15:57 +00:00
Aaron J. Seigo
cd7e48a164 a bit less convoluted and does the same thing
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=863697
2008-09-22 21:50:01 +00:00
Marco Martin
2e8dba5df2 smooth animation until the end ensuring the repaint is scheduled before
the delete by emitting the signal in the paint event and with a
singleshot timer

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=863664
2008-09-22 19:28:11 +00:00
Aaron J. Seigo
a90457d7a1 only care about mucking about with the focus item if it isn't null
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=863641
2008-09-22 18:35:24 +00:00
Aaron J. Seigo
a680170b8f * fix div-by-zero
* based frame count on the animation duration

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=863639
2008-09-22 18:34:58 +00:00
Aaron J. Seigo
56a9ad52ce make it harder for people to fall into the temptation of nesting containments
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=863619
2008-09-22 17:50:23 +00:00
Aaron J. Seigo
b4b2a4a96a qFuzzyCompare doesn't work well with 0.0, so compare against 1.0 instead; interesting to know
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=863599
2008-09-22 16:37:36 +00:00
Marco Martin
b2e27747b9 move the gradient to the opposite side of the sliding animation, so acts
like a clip but with a smooth edge

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=863334
2008-09-21 20:55:18 +00:00
Jason Stubbs
3ecd0da73e Any PopupApplet that manages its appearance was failing if it happened to
use a layout. I guess my applet is the only one attempting to do so. ;)

This code should perhaps be moved elsewhere? I can't tell what its purpose
is from looking at the surrounding code - I just know that it shouldn't be
removing items from my layout.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=863216
2008-09-21 13:13:20 +00:00
Laurent Montel
22a1c819b3 Don't leak QPixmap
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=863136
2008-09-21 09:30:23 +00:00
Marco Martin
da12953de9 don't pre-render the configure button when it's not needed
no more configure instead of close icon on applets that don't have
config options

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=863126
2008-09-21 08:02:54 +00:00
Aaron J. Seigo
de163b5e37 proper fix; now if we take the offset into consideration, they should even disappear perfectly behind translucent things =)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=862853
2008-09-20 06:26:26 +00:00
Aaron J. Seigo
c302aa3ff4 * try not to call view() if possible
* code clarifications, simplicity++

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=862852
2008-09-20 06:08:28 +00:00
Aaron J. Seigo
f9244362a4 we cache the view for a reason
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=862851
2008-09-20 05:48:38 +00:00
Aaron J. Seigo
b9bd00fdae smoooooooth, faaaaaaaaaast
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=862849
2008-09-20 05:47:18 +00:00
Aaron J. Seigo
2753276dbb increase quality of anims
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=862847
2008-09-20 05:46:45 +00:00
Aaron J. Seigo
afb72ab0c7 * make flash not reset the flash every time the text/pixmap is set if it already in the process of showing.
* clean up a lot of the code
* don't use single shots, as they may need to be interupted

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=862833
2008-09-20 01:03:30 +00:00
Aaron J. Seigo
88ac98fdb0 fix up the rest of the math here, now anims are appropriately smooth according to the AnimationDriver settings
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=862832
2008-09-20 01:02:20 +00:00
Aaron J. Seigo
ae3986568f make Applet::name Activity aware
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=862758
2008-09-19 19:16:53 +00:00
Aaron J. Seigo
e99497b67f * Svg::pixmap
* ++apidox
* clean up SvgPrivate::findInCache a bit

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=862695
2008-09-19 16:41:39 +00:00
Rob Scheepmaker
1f7f9b95ed Support setting QGraphicsItems in ExtenderItem as discussed in the extender api review
discussion on the mailing list.


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=862687
2008-09-19 16:23:08 +00:00
Aaron J. Seigo
8d1e6cdf85 call a private constraints event on the PopupApplet so that subclasses don't have to think about it
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=862502
2008-09-19 03:26:24 +00:00
Aaron J. Seigo
15da8e1555 * ensure we only ever call the about to show method once
* attempt to tip if the widget is registered, even if it has no tip associated with it

this allows for 100% on-demand tips; important as some of our tips are expensive

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=862469
2008-09-18 21:55:09 +00:00
Aaron J. Seigo
832782fa73 * proper invokeMethod call, now items actually get notified when the tip is hidden
* allow throttling of the show call to prevent multiple method invokations on create->show

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=862467
2008-09-18 21:53:52 +00:00
Marco Martin
1cb382a09a new look and animation for applet handles, based on an old Nuno mockup,
that uses the standard applet background (will have new graphics).

also, don't use painter->setOpacity anymore, so should be a bit faster

the look is slightly different in 3 cases:
-the applet is smaller than the handle, the panelsvg gets drawn
completely and looks like the old thing
-shape not rectangular: the panelsvg is wider, so it's visible also for
instance behind the clock circle
-normal: only a bit of the panelsvg exits from the applet and is
visible, the hidden part has a few pixels fade out gradient to look less wrong with
transparent backgrounds like folderview or themes with all backgrounds
more transparent

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=862411
2008-09-18 19:40:46 +00:00