Plasma
checkbox.cpp
Go to the documentation of this file.
Q_INVOKABLE QString imagePath(const QString &name) const
Retrieve the path for an SVG image in the current theme.
Definition: theme.cpp:794
QCheckBox * nativeWidget() const
void setStyleSheet(const QString &styleSheet)
void toggled(bool)
void setAttribute(Qt::WidgetAttribute attribute, bool on)
void setText(const QString &text)
Sets the display text for this CheckBox.
Definition: checkbox.cpp:102
QString text() const
void setImage(const QString &path)
Sets the path to an image to display.
Definition: checkbox.cpp:112
void setWindowIcon(const QIcon &icon)
virtual void resizeEvent(QGraphicsSceneResizeEvent *event)
virtual void changeEvent(QEvent *event)
void setStyleSheet(const QString &stylesheet)
Sets the stylesheet used to control the visual display of this CheckBox.
Definition: checkbox.cpp:145
bool isEmpty() const
bool startsWith(const QString &s, Qt::CaseSensitivity cs) const
QString image() const
bool isRelativePath(const QString &path)
void resizeEvent(QGraphicsSceneResizeEvent *event)
Definition: checkbox.cpp:160
QWidget * widget() const
QString styleSheet()
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:23:11 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:23:11 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.