Use topleft of extenderitem to check if we're over a containment, since that point is also used when instantiating an extenderapplet, and otherwise the dropzone could be at a different position then the actual applet being created.
svn path=/trunk/KDE/kdelibs/; revision=888951
* 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
* trying to set the minimum size here is not helpful; this should be handle by layouts
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=874992
* one important line more than the diff in reviewboard
needed to correctly restore the aspectratio.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=872574
* 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
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
now if an empty icon is set the popup is always shown also in the
desktop and the applet area painting has to be done by the
implementation
first using it also in this patch is libplasmaclock
also, api change:
pupApplet::setIcon and icon() became setPopupIcon() and popupIcon()
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=860338
fitt law optimisation
- also save the new size of the popup (Plasma::Dialog) in the config file when user
resize it
- use popupPosition facilities in kickoff and remove the resize stuff on it since it
can be now directly dealed in Plasma::Dialog
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=860323
often and might not be really fast for applets that do all
the setting up of the widget in this function.
Also fix the indenting, in some places it was 3 instead
of 4 spaces.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=858350
the icon to not resize with the panel and set as constrainedsquare, as
applet icons should be
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=857535
breaking all around, and some random crashes are avoided too, all by making the
Dialog in PopupApplet no longer of the type Qt::Popup and installing an event filter
to still hide the dialog when you click somewhere else on your screen.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=857095
The popupApplet has now the capability to know if the dialog is displayed or not, then call popupEvent.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=855715