GroupingDesktop
#include <handle.h>
Public Types | |
enum | ButtonType { NoButton, MoveButton, RotateButton, ConfigureButton, RemoveButton, ResizeButton, MaximizeButton } |
Signals | |
void | disappearDone (Handle *self) |
void | widgetMoved (QGraphicsWidget *widget) |
Public Member Functions | |
Handle (GroupingContainment *parent, Plasma::Applet *applet) | |
Handle (GroupingContainment *parent, AbstractGroup *group) | |
virtual | ~Handle () |
Plasma::Applet * | applet () const |
GroupingContainment * | containment () const |
QGraphicsView * | currentView () const |
virtual void | detachWidget () |
AbstractGroup * | group () const |
virtual void | setHoverPos (const QPointF &hoverPos) |
QGraphicsWidget * | widget () const |
Protected Member Functions | |
bool | leaveCurrentView (const QPoint &pos) const |
void | switchContainment (GroupingContainment *containment, const QPointF &pos) |
Detailed Description
Member Enumeration Documentation
enum Handle::ButtonType |
Constructor & Destructor Documentation
Handle::Handle | ( | GroupingContainment * | parent, |
Plasma::Applet * | applet | ||
) |
Definition at line 51 of file handle.cpp.
Handle::Handle | ( | GroupingContainment * | parent, |
AbstractGroup * | group | ||
) |
Definition at line 63 of file handle.cpp.
|
virtual |
Definition at line 75 of file handle.cpp.
Member Function Documentation
Plasma::Applet * Handle::applet | ( | ) | const |
Definition at line 85 of file handle.cpp.
GroupingContainment * Handle::containment | ( | ) | const |
Definition at line 95 of file handle.cpp.
QGraphicsView * Handle::currentView | ( | ) | const |
Definition at line 100 of file handle.cpp.
|
virtual |
Reimplemented in GridHandle.
Definition at line 105 of file handle.cpp.
|
signal |
AbstractGroup * Handle::group | ( | ) | const |
Definition at line 90 of file handle.cpp.
|
protected |
Definition at line 124 of file handle.cpp.
|
virtual |
Reimplemented in FreeHandle, and GridHandle.
Definition at line 173 of file handle.cpp.
|
protected |
move our widget to another containment
- Parameters
-
containment the containment to move to pos the (scene-relative) position to place it at
Definition at line 140 of file handle.cpp.
QGraphicsWidget * Handle::widget | ( | ) | const |
Definition at line 80 of file handle.cpp.
|
signal |
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Mon Oct 13 2014 22:55:04 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.