Commit Graph

15 Commits

Author SHA1 Message Date
Richard Dale
695168a4bd Add getters and setters for PopupApplet::widget() and PopupApplet::graphicsWidget()
for use in scripting languages. Add a initScriptingExtenderItem() signal for script
engines to connect to and call their versions of Applet::initExtenderItem()


svn path=/trunk/KDE/kdelibs/; revision=998323
2009-07-17 12:31:08 +00:00
Marco Martin
2a0e957d14 move the status stuff into Applet, constify and also put a bit of apidox
svn path=/trunk/KDE/kdelibs/; revision=993895
2009-07-09 16:35:11 +00:00
Marco Martin
1300eea396 api to show/hide plasmoids from the systray, like NotificationItems
this REALLY needs api review
CCMAIL:plasma-devel@kde.org

svn path=/trunk/KDE/kdelibs/; revision=993364
2009-07-08 14:55:59 +00:00
Aaron J. Seigo
cd3a265b5a no longer exits
svn path=/trunk/KDE/kdelibs/; revision=964501
2009-05-06 19:11:26 +00:00
Aurélien Gâteau
7ff77020cc Do not let plasma popup appear over screensaver.
BUG: 179924

svn path=/trunk/KDE/kdelibs/; revision=955241
2009-04-17 08:45:46 +00:00
Ambroz Bizjak
5e46bcc2ef Don't wait for startup complete, it makes the applet obtain
proper geometry too late, which causes the desktop applet positioning
algorithm to calculate a wrong initial position.
CCBUG: 181854


svn path=/trunk/KDE/kdelibs/; revision=916941
2009-01-26 14:29:55 +00:00
Aaron J. Seigo
7c7218cf89 having two methods named the same thing was a bit insane.. WHICH togglePopup? =)
svn path=/trunk/KDE/kdelibs/; revision=903159
2008-12-30 02:06:06 +00:00
Aaron J. Seigo
e42452e847 * update the direction on location changes
* update the dialog, if it exists, when checking the border of the extender
BUG:177113

svn path=/trunk/KDE/kdelibs/; revision=894469
2008-12-08 18:03:23 +00:00
Aaron J. Seigo
4659724790 don't create an unused button
svn path=/trunk/KDE/kdelibs/; revision=889542
2008-11-27 06:03:53 +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
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
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
Aaron J. Seigo
22919a4b27 * remove an unused member (d->layout)
* try harder to create a layout when we might need one
* remove the "setting a default icon" stuff in the ctor; it was misguided and really just covering up for a bug in popupConstraintsEvent
* fix said bug in popupConstraintsEvent (don't check for icon before laying things out in non-vert/horiz formfactors)
* don't put an event filter on the graphics item. i have no idea what the idea behind that was (hooray for no comments! =), perhaps Richard S. can enlighten us as it was one of his commits ..

CCMAIL:r.scheepmaker@student.utwente.nl

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=867506
2008-10-03 17:20:01 +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