Plasma
Go to the documentation of this file.
20#ifndef PLASMA_CHECKBOX_H
21#define PLASMA_CHECKBOX_H
23#include <QtGui/QGraphicsProxyWidget>
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;
Provides a Plasma-themed checkbox.
Namespace for everything in libplasma.
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by
doxygen 1.9.6 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.