Plasma
pushbutton.h
Go to the documentation of this file.
void setCheckable(bool checkable)
Sets whether or not this button can be toggled on/off.
Definition pushbutton.cpp:309
QSizeF sizeHint(Qt::SizeHint which, const QSizeF &constraint) const
Definition pushbutton.cpp:519
void setStyleSheet(const QString &stylesheet)
Sets the stylesheet used to control the visual display of this PushButton.
Definition pushbutton.cpp:273
void hoverLeaveEvent(QGraphicsSceneHoverEvent *event)
Definition pushbutton.cpp:499
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=0)
Definition pushbutton.cpp:353
void setChecked(bool checked)
Sets whether or not this button is checked.
Definition pushbutton.cpp:319
void hoverEnterEvent(QGraphicsSceneHoverEvent *event)
Definition pushbutton.cpp:474
void clicked()
Emitted when the button is pressed then released, completing a click.
void setImage(const QString &path)
Sets the path to an image to display.
Definition pushbutton.cpp:234
void pressed()
Emitted when the button is pressed down; usually the clicked() signal will suffice,...
void resizeEvent(QGraphicsSceneResizeEvent *event)
Definition pushbutton.cpp:344
void setAction(QAction *action)
Associate an action with this IconWidget this makes the button follow the state of the action,...
Definition pushbutton.cpp:284
void released()
Emitted when the button is released; usually the clicked() signal will suffice, however.
void setText(const QString &text)
Sets the display text for this PushButton.
Definition pushbutton.cpp:223
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.