liblancelot
ExtenderButton.cpp
Go to the documentation of this file.
virtual void setGroupByName(const QString &groupName)
Sets this widget's group by group name.
Definition: Widget.cpp:134
L_Override void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=0)
Definition: ExtenderButton.cpp:428
Provides a common appearance with an icon, title and a description.
Definition: BasicWidget.h:44
Definition: lancelot.h:32
Definition: lancelot.h:42
L_Override void hoverLeaveEvent(QGraphicsSceneHoverEvent *event)
Definition: ExtenderButton.cpp:377
QString title() const
void setTitle(const QString &title)
Sets title of this Lancelot::BasicWidget.
Definition: BasicWidget.cpp:449
int activationMethod() const
QRectF geometry() const
void setCheckable(bool checkable)
Makes the button checkable when set to true.
Definition: ExtenderButton.cpp:472
void toggled(bool checked)
Emitted when the state of a checkable button is changed.
ExtenderButton(QGraphicsItem *parent=0)
Creates a new Lancelot::ExtenderButton.
Definition: ExtenderButton.cpp:299
QSizeF size() const
qreal top() const
QGraphicsScene * scene() const
virtual void timerEvent(QTimerEvent *event)
bool disconnect(const QObject *sender, const char *signal, const QObject *receiver, const char *method)
qreal left() const
void update(const QRectF &rect)
void setHeight(qreal height)
QSizeF size() const
qreal bottom() const
QString number(int n, int base)
void paintForeground(QPainter *painter)
Common implementation of icon/text/description rendering.
Definition: BasicWidget.cpp:177
Definition: lancelot.h:36
QList< QGraphicsView * > views() const
bool isEmpty() const
Definition: lancelot.h:35
void paintBackground(QPainter *painter)
Paints the widget background using the widget's SVG.
Definition: Widget.cpp:158
void moveLeft(qreal x)
void setExtenderPosition(int position)
Sets the position of the extender.
Definition: ExtenderButton.cpp:383
qreal right() const
Definition: lancelot.h:34
int extenderPosition() const
void setTopLeft(const QPointF &position)
L_Override void setGroup(Group *group=NULL)
Sets this widget's group.
Definition: ExtenderButton.cpp:340
L_Override QRectF boundingRect() const
Definition: ExtenderButton.cpp:355
void setWidth(qreal width)
L_Override void hoverEnterEvent(QGraphicsSceneHoverEvent *event)
Definition: Widget.cpp:59
L_Override void hoverLeaveEvent(QGraphicsSceneHoverEvent *event)
Definition: Widget.cpp:71
L_Override void hideEvent(QHideEvent *event)
Definition: ExtenderButton.cpp:371
int timerId() const
L_Override void hoverEnterEvent(QGraphicsSceneHoverEvent *event)
Definition: ExtenderButton.cpp:360
QGraphicsItem * parentItem() const
qreal height() const
void moveTop(qreal y)
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
QObject * parent() const
Definition: lancelot.h:40
virtual bool contains(const QPointF &point) const
virtual void resizeEvent(QGraphicsSceneResizeEvent *event)
void setActivationMethod(int method)
Sets the activation method of the ExtenderButton.
Definition: ExtenderButton.cpp:396
qreal width() const
Definition: lancelot.h:41
L_Override void resizeEvent(QGraphicsSceneResizeEvent *event)
Definition: ExtenderButton.cpp:422
Definition: lancelot.h:33
L_Override void setShortcutKey(const QString &key)
Sets a shortcut key.
Definition: ExtenderButton.cpp:487
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:43:01 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:43:01 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.