Plasma
Go to the documentation of this file. 20 #ifndef PLASMA_RADIOBUTTON_H 21 #define PLASMA_RADIOBUTTON_H 23 #include <QtGui/QGraphicsProxyWidget> 32 class RadioButtonPrivate;
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(QRadioButton *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 QRadioButton *nativeWidget() const;
100 void setChecked(
bool checked);
105 bool isChecked() const;
111 void resizeEvent(QGraphicsSceneResizeEvent *event);
112 void changeEvent(QEvent *event);
117 RadioButtonPrivate * const d;
118 Q_PRIVATE_SLOT(d,
void setPalette())
123 #endif // multiple inclusion guard
Namespace for everything in libplasma.
This file is part of the KDE documentation.
Documentation copyright © 1996-2018 The KDE developers.
Generated on Sun Jun 3 2018 13:15:09 by
doxygen 1.8.12 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.