Commit Graph

116 Commits

Author SHA1 Message Date
Aaron J. Seigo
0bc65a788d allow custom image, html and css resources in tooltips
svn path=/trunk/KDE/kdelibs/; revision=884026
2008-11-14 00:52:29 +00:00
Beat Wolf
a387ff3a29 correct import for kmenu
svn path=/trunk/KDE/kdelibs/; revision=884024
2008-11-14 00:34:36 +00:00
Beat Wolf
675b4b59b8 add general way to add context menus to containments. Reviewed by aseigo
svn path=/trunk/KDE/kdelibs/; revision=884003
2008-11-13 23:08:58 +00:00
Aaron J. Seigo
51c912969b don't move the tools more than they need to move; makes it possible to hit the buttons agian!
i see several issues with this method, however, that already existed and will fix that along with implementing save/hide and available space respect later tonight.

svn path=/trunk/KDE/kdelibs/; revision=883080
2008-11-12 03:57:01 +00:00
Aaron J. Seigo
cdf562df11 simplify toolbox positioining and drawing
svn path=/trunk/KDE/kdelibs/; revision=882672
2008-11-11 08:12:20 +00:00
Aaron J. Seigo
0eb079d33b ensure the toolbox fits in the panel; makes small panels work better
svn path=/trunk/KDE/kdelibs/; revision=882654
2008-11-11 05:26:52 +00:00
Aaron J. Seigo
4e964a2ec8 update the hover pos to make the entry point the last hovered location
BUG:172075

svn path=/trunk/KDE/kdelibs/; revision=882611
2008-11-11 00:57:08 +00:00
Aaron J. Seigo
e8eb11a3b7 tell the tooltip widget about the source so it can tel it when it disappears and to prompt it for updates appropriately
svn path=/trunk/KDE/kdelibs/; revision=882588
2008-11-10 23:30:19 +00:00
Rob Scheepmaker
cfb43a7632 Correct sizehints for extender containing applets on the desktop. Also renamed the private adjustSize() function to adjustSizeHints() to avoid confusion.
svn path=/trunk/KDE/kdelibs/; revision=882356
2008-11-10 15:49:31 +00:00
Aaron J. Seigo
7afd2e9d99 first draft of draggable toolbox; doesn't work quite properly yet due to historical oddnesses of the toolbox itself. will finish up in the days to comes; all TODOs are documented
svn path=/trunk/KDE/kdelibs/; revision=882217
2008-11-10 03:53:35 +00:00
Aaron J. Seigo
249a44ab8d don't overload the meaning of hasConfigurationInterface for containments, since that makes things difficult for applets-that-are-containments, e.g. folderview
svn path=/trunk/KDE/kdelibs/; revision=882205
2008-11-10 01:26:27 +00:00
Aaron J. Seigo
d6ac15c20f 4->2, makes amarokers more happy too
svn path=/trunk/KDE/kdelibs/; revision=882103
2008-11-09 19:51:31 +00:00
Aaron J. Seigo
89f4735cc9 call the right parent class methods
svn path=/trunk/KDE/kdelibs/; revision=881295
2008-11-07 18:03:16 +00:00
Aaron J. Seigo
aca23afb4a a bit of a clean up on the overlay stuff; makes it easy to add overlay messages in the future (planned for 4.3)
svn path=/trunk/KDE/kdelibs/; revision=880833
2008-11-06 15:52:13 +00:00
Aaron J. Seigo
c948455956 use ktabbar here, as per krazy's suggestion
svn path=/trunk/KDE/kdelibs/; revision=880622
2008-11-05 23:28:07 +00:00
Aaron J. Seigo
cf1dfdaf31 SVN_SILENT: shut up krazy
svn path=/trunk/KDE/kdelibs/; revision=880621
2008-11-05 23:27:43 +00:00
Kevin Ottens
f29bbbab07 Comply to the new version of SODEP.
svn path=/branches/work/~ervin/sodep/; revision=880515
2008-11-05 18:48:16 +00:00
Marco Martin
d9a77cf958 add functions setBusy(bool) and isBusy()
used to easily display a busy indicator as an overlay of the applet when
is loading stuff

svn path=/trunk/KDE/kdelibs/; revision=880089
2008-11-04 18:22:55 +00:00
Aaron J. Seigo
beaa49aeb2 ++compile
svn path=/trunk/KDE/kdelibs/; revision=879800
2008-11-04 02:39:56 +00:00
Aaron J. Seigo
1b523b9054 ok, this time JUST the plasma dir ;)
svn path=/trunk/KDE/kdelibs/; revision=879759
2008-11-03 23:08:39 +00:00
Aaron J. Seigo
fa5a2d87d9 bum-de-dum! plasma to kdelibs.
svn path=/trunk/KDE/kdelibs/; revision=879757
2008-11-03 23:03:26 +00:00
Rob Scheepmaker
babf165d5d A last couple of api changes before the move to kdelibs:
* in class Extender rename setExtenderAppearance to setAppearance.
* in class ExtenderItem rename moveBackToSource to returnToSource.
* in class ExtenderItem addition of showCloseAction() and hideCloseAction().
... and some minor tweaks in the implementation.


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=879670
2008-11-03 19:49:14 +00:00
Aaron J. Seigo
e603f32c33 some more fiddling; doesn't really accomplish anything but doesn't hurt either. at least now i know why it "jitters" at times. going to be annoying to fix ...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=879374
2008-11-03 06:14:26 +00:00
Aaron J. Seigo
80874e9ad7 put the code in a central place, back out the NET stuff as it breaks more than it fixes
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=879365
2008-11-03 05:03:36 +00:00
Aaron J. Seigo
ce90860d4d combine the move+resize on x11
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=879364
2008-11-03 04:52:34 +00:00
Albert Astals Cid
45edd84dfc add context
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=879206
2008-11-02 17:38:52 +00:00
Aaron J. Seigo
4b8da2000a give it a bit of a curve
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=878942
2008-11-02 07:31:51 +00:00
Aaron J. Seigo
7d5c604245 animate that mofo tip!
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=878938
2008-11-02 07:25:56 +00:00
Aaron J. Seigo
d8f1ce657c use only one actual tip widget, store the data otherwise
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=878933
2008-11-02 06:55:10 +00:00
Aaron J. Seigo
1c75cca9e2 break out Plasma::ToolTipManager::Content to Plasma::ToolTipContent and prep it for BC
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=878923
2008-11-02 05:58:42 +00:00
Kevin Ottens
f66b4d819b API changes as announced:
* ConfigXml becomes ConfigLoader
  * Containment::(add|remove)ToolBoxTool(QAction *action) becomes
    Containment::(add|remove)ToolBoxAction(QAction *action)
  * Flash becomes FlashingLabel
  * Icon becomes IconWidget
  * PanelSvg becomes FrameSvg

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=877504
2008-10-29 17:46:33 +00:00
Aaron J. Seigo
5eb18a635b allow tips to autohide; having them just stay there forever and ever is an annoyance. some tips need to be permanent to be useful though (e.g. on the clock) so introduced a way to make that happen. needed to get this in before we go BC =)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=876166
2008-10-26 16:55:54 +00:00
Rob Scheepmaker
241d38ad65 A bit more sourceApplet correctness:
* Removed sourceApplet() function, it has no place in public api. That was also discussed in the api review, but I forgot to actually remove it.
* Update sourceApplet's pointer and remove the "return to source" button when the source applet is removed.


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=875290
2008-10-23 22:42:58 +00:00
Alexis Ménard
fdbafa0337 Fix a crash when you change between desktops with tooltip activated
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=874774
2008-10-22 12:54:04 +00:00
Simon Edwards
2b932160e6 Added a pluginName() method to DataEngine to match the one in Applet. (Useful for scripting.)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=874609
2008-10-21 22:22:57 +00:00
Aaron J. Seigo
b56a365200 tell the user we failed if we fail
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=874562
2008-10-21 20:19:57 +00:00
Aaron J. Seigo
195cfe61a4 move this somewhere i can get to for testing purposes again
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=874555
2008-10-21 20:13:00 +00:00
Aaron J. Seigo
6fe3502be7 we have workspace/libs/ for a reason
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=874257
2008-10-21 02:31:43 +00:00
Aaron J. Seigo
7abb5164a5 remove gratuitous "ToolTip"s
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=874244
2008-10-21 01:33:32 +00:00
Rob Scheepmaker
a26b73b6bb Give extenders the 'stacked' look from Pinheiro's mockup. It still needs some minor tweaks, but it allready looks quite sexy.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=873867
2008-10-20 10:58:37 +00:00
Aaron J. Seigo
b31b4da0ba ok, this is a much, much easier way to approach the grouping and doesn't require QDesktopWidget either
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=873703
2008-10-20 00:42:50 +00:00
Aaron J. Seigo
3fb4975896 swap the magic number for a constant
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=873689
2008-10-19 23:21:03 +00:00
Marco Martin
42d446525d fix scrollbar arrows
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=872652
2008-10-17 18:42:44 +00:00
Aaron J. Seigo
59b5ac3080 allow PackageStructures to provide their own online browsers
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=871119
2008-10-13 22:40:00 +00:00
Allen Winter
81d09742bb fix spelling
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=870322
2008-10-12 11:12:24 +00:00
Allen Winter
3674a94a99 more coding style fixes
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=870169
2008-10-11 23:28:20 +00:00
Rob Scheepmaker
51e03dc5e3 Add return to source icon the the plasma theme, and use this in extender items.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=870089
2008-10-11 17:56:07 +00:00
Rob Scheepmaker
3824adb381 Allow theming the background of ExtenderItems, and react to theme changes. Capabilities still
have to be improved to make it look like the lovely pinheiro mockup.


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=868933
2008-10-07 16:15:33 +00:00
Marco Martin
0dc100928d style the tabbar scroll buttons with plasma colors
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=868202
2008-10-05 17:53:37 +00:00
Fredrik Höglund
5da0fde1b3 Fix the crash on exit bug in PopupApplet.
The Plasma::Dialog is initially created without a parent, but can later be
reparented to the Plasma::View. The problem with this is that when plasma
quits, the view and its children are deleted before the scene and its children.
So when the PopupApplet destructor is invoked, it tries to delete what is now
a dangling pointer.

Solve this problem by wrapping the dialog pointer in a QPointer.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=867830
2008-10-04 15:36:09 +00:00