Plasma
toolbutton.h
Go to the documentation of this file.
void clicked()
QSizeF sizeHint(Qt::SizeHint which, const QSizeF &constraint) const
Definition toolbutton.cpp:450
void resizeEvent(QGraphicsSceneResizeEvent *event)
Definition toolbutton.cpp:306
void setImage(const QString &path)
Sets the path to an image to display.
Definition toolbutton.cpp:232
QVariant itemChange(GraphicsItemChange change, const QVariant &value)
Definition toolbutton.cpp:439
void setAutoRaise(bool raise)
Sets if the toolbutton has an autoraise behaviour.
Definition toolbutton.cpp:211
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=0)
Definition toolbutton.cpp:329
void setAction(QAction *action)
Associate an action with this IconWidget this makes the button follow the state of the action,...
Definition toolbutton.cpp:201
void setText(const QString &text)
Sets the display text for this ToolButton.
Definition toolbutton.cpp:221
void pressed()
void hoverEnterEvent(QGraphicsSceneHoverEvent *event)
Definition toolbutton.cpp:385
void released()
void setStyleSheet(const QString &stylesheet)
Sets the stylesheet used to control the visual display of this ToolButton.
Definition toolbutton.cpp:291
void hoverLeaveEvent(QGraphicsSceneHoverEvent *event)
Definition toolbutton.cpp:406
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.