Plasma
Go to the documentation of this file. 20 #ifndef PLASMA_CHECKBOX_H 21 #define PLASMA_CHECKBOX_H 23 #include <QtGui/QGraphicsProxyWidget> 32 class CheckBoxPrivate;
44 Q_PROPERTY(QString text READ text WRITE setText)
45 Q_PROPERTY(QString image READ image WRITE setImage)
46 Q_PROPERTY(QString styleSheet READ styleSheet WRITE setStyleSheet)
47 Q_PROPERTY(QCheckBox *nativeWidget READ nativeWidget)
48 Q_PROPERTY(
bool checked READ isChecked WRITE setChecked NOTIFY toggled)
59 void setText(const QString &text);
71 void setImage(const QString &path);
76 QString image() const;
83 void setStyleSheet(const QString &stylesheet);
93 QCheckBox *nativeWidget() const;
100 void setChecked(
bool checked);
105 bool isChecked() const;
111 void resizeEvent(QGraphicsSceneResizeEvent *event);
112 void changeEvent(QEvent *event);
115 Q_PRIVATE_SLOT(d,
void setPalette())
116 Q_PRIVATE_SLOT(d,
void setPixmap())
118 CheckBoxPrivate * const d;
123 #endif // multiple inclusion guard Namespace for everything in libplasma.
Provides a Plasma-themed checkbox.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sat Jan 18 2020 19:00:04 by
doxygen 1.8.15 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.