GroupingDesktop
#include <freehandle.h>
Public Types | |
enum | FadeType { FadeIn, FadeOut } |
Public Types inherited from Handle | |
enum | ButtonType { NoButton, MoveButton, RotateButton, ConfigureButton, RemoveButton, ResizeButton, MaximizeButton } |
Public Member Functions | |
FreeHandle (GroupingContainment *parent, Plasma::Applet *applet) | |
FreeHandle (GroupingContainment *parent, AbstractGroup *group) | |
virtual | ~FreeHandle () |
QRectF | boundingRect () const |
void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=0) |
void | setHoverPos (const QPointF &hoverPos) |
QPainterPath | shape () const |
void | startFading (FadeType anim, const QPointF &hoverPos, bool preserveSide=false) |
Public Member Functions inherited from Handle | |
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 |
QGraphicsWidget * | widget () const |
Protected Member Functions | |
void | hoverEnterEvent (QGraphicsSceneHoverEvent *event) |
void | hoverLeaveEvent (QGraphicsSceneHoverEvent *event) |
void | hoverMoveEvent (QGraphicsSceneHoverEvent *event) |
void | mouseMoveEvent (QGraphicsSceneMouseEvent *event) |
void | mousePressEvent (QGraphicsSceneMouseEvent *event) |
void | mouseReleaseEvent (QGraphicsSceneMouseEvent *event) |
bool | sceneEvent (QEvent *) |
bool | sceneEventFilter (QGraphicsItem *watched, QEvent *event) |
Protected Member Functions inherited from Handle | |
bool | leaveCurrentView (const QPoint &pos) const |
void | switchContainment (GroupingContainment *containment, const QPointF &pos) |
Properties | |
qreal | fadeAnimation |
Additional Inherited Members | |
Signals inherited from Handle | |
void | disappearDone (Handle *self) |
void | widgetMoved (QGraphicsWidget *widget) |
Detailed Description
Definition at line 44 of file freehandle.h.
Member Enumeration Documentation
enum FreeHandle::FadeType |
Enumerator | |
---|---|
FadeIn | |
FadeOut |
Definition at line 49 of file freehandle.h.
Constructor & Destructor Documentation
FreeHandle::FreeHandle | ( | GroupingContainment * | parent, |
Plasma::Applet * | applet | ||
) |
Definition at line 58 of file freehandle.cpp.
FreeHandle::FreeHandle | ( | GroupingContainment * | parent, |
AbstractGroup * | group | ||
) |
Definition at line 71 of file freehandle.cpp.
|
virtual |
Definition at line 84 of file freehandle.cpp.
Member Function Documentation
QRectF FreeHandle::boundingRect | ( | ) | const |
Definition at line 151 of file freehandle.cpp.
|
protected |
Definition at line 826 of file freehandle.cpp.
|
protected |
Definition at line 846 of file freehandle.cpp.
|
protected |
Definition at line 841 of file freehandle.cpp.
|
protected |
Definition at line 625 of file freehandle.cpp.
|
protected |
Definition at line 454 of file freehandle.cpp.
|
protected |
Definition at line 516 of file freehandle.cpp.
void FreeHandle::paint | ( | QPainter * | painter, |
const QStyleOptionGraphicsItem * | option, | ||
QWidget * | widget = 0 |
||
) |
Definition at line 196 of file freehandle.cpp.
|
protected |
Definition at line 769 of file freehandle.cpp.
|
protected |
Definition at line 871 of file freehandle.cpp.
|
virtual |
Reimplemented from Handle.
Definition at line 916 of file freehandle.cpp.
QPainterPath FreeHandle::shape | ( | ) | const |
Definition at line 156 of file freehandle.cpp.
void FreeHandle::startFading | ( | FadeType | anim, |
const QPointF & | hoverPos, | ||
bool | preserveSide = false |
||
) |
Definition at line 925 of file freehandle.cpp.
Property Documentation
|
readwrite |
Definition at line 47 of file freehandle.h.
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.