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
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
void paintForeground(QPainter *painter)
Common implementation of icon/text/description rendering.
Definition: BasicWidget.cpp:177
Definition: lancelot.h:36
Definition: lancelot.h:35
void paintBackground(QPainter *painter)
Paints the widget background using the widget's SVG.
Definition: Widget.cpp:158
void setExtenderPosition(int position)
Sets the position of the extender.
Definition: ExtenderButton.cpp:383
Definition: lancelot.h:34
int extenderPosition() const
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
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
L_Override void hoverEnterEvent(QGraphicsSceneHoverEvent *event)
Definition: ExtenderButton.cpp:360
Definition: lancelot.h:40
void setActivationMethod(int method)
Sets the activation method of the ExtenderButton.
Definition: ExtenderButton.cpp:396
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-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
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.