Commit Graph

3016 Commits

Author SHA1 Message Date
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
Petri Damstén
f7314fde0c set the key from name if empty
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=862370
2008-09-18 17:40:31 +00:00
Aaron J. Seigo
f505d063e7 and if it isn't acting as a containment, but an applet, then use the standard configuration mechanism as provided by Applet
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=862308
2008-09-18 14:58:06 +00:00
Script Kiddy
6561b92a30 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=862263
2008-09-18 11:04:36 +00:00
Aaron J. Seigo
c75d3cb257 SVN_SILENT: --debug
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=862124
2008-09-18 06:26:33 +00:00
Aaron J. Seigo
8f41f4c68e use a hash instead of a map as we don't care about sorting; don't loop through all items in the list once we have found our match; move the check for existence in the registration map to regsiterWidget
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=862120
2008-09-18 06:21:33 +00:00
Aaron J. Seigo
73f816a63a update the apidox to reflect the current reality
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=862111
2008-09-18 05:28:27 +00:00
Aaron J. Seigo
66ddad6aac being replaced by the new ontology from the nepomukians
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=862108
2008-09-18 05:08:01 +00:00
Aaron J. Seigo
e7e0914a11 SVN_SILENT: i don't look for XXX unless i'm looking for a lap dance. ;) FIXME is better...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=862106
2008-09-18 04:57:50 +00:00
Aaron J. Seigo
0fb739c044 SVN_SILENT: sshh
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=862105
2008-09-18 04:57:18 +00:00
Aaron J. Seigo
c7bbfea29e actually open the temp file so we don't write into the app's rc file
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=862102
2008-09-18 04:40:28 +00:00
Aaron J. Seigo
13698abc51 SVN_SILENT: shh
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=862101
2008-09-18 04:11:33 +00:00
Aaron J. Seigo
f24df9f3ed nasty little hack for when PopupApplet is in a focussable window; prior to this, a PopupApplet in plasmoidviewer would show the popup over and over and over
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=862100
2008-09-18 04:11:03 +00:00
Aaron J. Seigo
2a979b4e00 it's perfectly valid to get no view at a random screen position; not all plasma apps are full screen after all
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=862097
2008-09-18 03:56:41 +00:00
Aaron J. Seigo
1459f1cd32 don't implicitly create the extender in the default implementation of graphicsWidget()
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=862090
2008-09-18 02:49:14 +00:00
Aaron J. Seigo
6e2506d5cc * use d->extender instead of extender() to prevent accidently creating extenders
* make PopupApplet a friend (PopupAppletPrivate already is)

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=862089
2008-09-18 02:47:25 +00:00
Aaron J. Seigo
d5820171d8 * cache value of widget() as we do graphicsWidget()
* have graphicsWidget() return the extender by default

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=862088
2008-09-18 02:44:53 +00:00
Aaron J. Seigo
0ae78795da don't use Applet::extender(); we're friends, after all
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=862087
2008-09-18 02:44:08 +00:00
Aaron J. Seigo
c5fe5cb285 automatically create a new extender if we don't have one and an extender is requested
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=862085
2008-09-18 02:38:27 +00:00
Sebastian Kügler
482c6a9f01 warnings--
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=862051
2008-09-17 22:38:05 +00:00
Aaron J. Seigo
8db733b45a * forget the global shorcut on applet destruction; prevents issues with collisions in the future
* be more agressive with claiming global shortcuts
* add some debug output to track global shorcut registration

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=862007
2008-09-17 19:16:36 +00:00
Aaron J. Seigo
04d66c614a connect activate to the togglePopup signal
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=862006
2008-09-17 19:15:24 +00:00
Rob Scheepmaker
ec98e6c6ba Avoid making extenderitems dissapear when moving them from an internal:extender to the
same internal:extender.


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=861903
2008-09-17 13:30:18 +00:00
Marco Martin
b424645a31 when a popupapplet is in the panel automatically switch between full
view and icons wiew when the containment size is enough to display all
the applet

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=861877
2008-09-17 11:31:26 +00:00
Aaron J. Seigo
874870aaee because KGlobalShorcuts is not exactly what i'd call symmetrical, we need to ensure the object name is constant at all costs. that design really needs to be rethough in KDE5 as it lacks.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=861708
2008-09-16 22:55:21 +00:00
André Wöbbeking
80e89dff6f compile
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=861634
2008-09-16 17:16:26 +00:00
Rob Scheepmaker
c4733af68b Removed some debug spam, some obsolete stuff, and avoid creating 2 calendars in clocks.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=861613
2008-09-16 16:26:57 +00:00
Marco Martin
0f73af6f73 add missing camelcase include
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=861589
2008-09-16 14:48:30 +00:00
Script Kiddy
706c945fc3 SVN_SILENT made messages (.desktop file, second try)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=861509
2008-09-16 11:34:46 +00:00
Marco Martin
0e4ad264c3 a new widget that contains little monocrome svg icons to be used around
plasma and make the applet handle use that

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=861319
2008-09-15 20:08:21 +00:00
Aaron J. Seigo
0d9957048c it's imagePath, not filePath =)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=861254
2008-09-15 15:32:01 +00:00
Petri Damstén
7fefa21903 return valid path also for package root.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=861218
2008-09-15 13:35:17 +00:00
Script Kiddy
f13d5127b8 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=861162
2008-09-15 11:01:35 +00:00
Rob Scheepmaker
f24cd77e45 Close popup after detaching the last item.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=861034
2008-09-14 22:43:53 +00:00
Rob Scheepmaker
635ec0419c Add some margins around the widget in an extenderitem. Removed some commented out code.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=861032
2008-09-14 22:10:55 +00:00
Rob Scheepmaker
982c940f55 Don't insert emptyExtenderLabel if there's allready a spacer in the extender.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=860906
2008-09-14 15:38:30 +00:00
Script Kiddy
f6272211fe SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=860795
2008-09-14 11:13:09 +00:00