liblancelot
Go to the documentation of this file.
20 #ifndef LANCELOT_WIDGET_H
21 #define LANCELOT_WIDGET_H
23 #include <QtGui/QGraphicsWidget>
40 Q_PROPERTY(QString group READ groupName WRITE setGroupByName)
41 Q_PROPERTY(
bool down READ isDown WRITE setDown)
51 Widget(QGraphicsItem * parent = 0);
62 virtual
void setGroupByName(const QString & groupName);
67 QString groupName() const;
73 virtual
void setGroup(
Group * group = NULL);
78 Group * group() const;
83 bool isHovered() const;
92 const QSizeF & constraint = QSizeF()) const;
94 void setPaintBackwardsWhenRTL(
bool value);
100 void mouseHoverEnter();
105 void mouseHoverLeave();
131 void paintBackground(QPainter * painter);
138 void paintBackground(QPainter * painter, const QString & element);
145 void setHovered(
bool value);
152 void setDown(
bool value);
154 L_Override void hoverEnterEvent(QGraphicsSceneHoverEvent * event);
155 L_Override void hoverLeaveEvent(QGraphicsSceneHoverEvent * event);
157 L_Override void mousePressEvent(QGraphicsSceneMouseEvent * event);
158 L_Override void mouseReleaseEvent(QGraphicsSceneMouseEvent * event);
159 L_Override void hideEvent(QHideEvent * event);
162 const QStyleOptionGraphicsItem * option, QWidget * widget = 0);
Represents a group of object.
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Mon Oct 13 2014 22:55:07 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.