#include <Plasma/Widgets/CheckBox>
Provides a Plasma-themed checkbox.
Definition at line 39 of file checkbox.h.
◆ CheckBox()
◆ ~CheckBox()
| Plasma::CheckBox::~CheckBox |
( |
| ) |
|
◆ changeEvent()
| void Plasma::CheckBox::changeEvent |
( |
QEvent * | event | ) |
|
|
protected |
◆ image()
| QString Plasma::CheckBox::image |
( |
| ) |
const |
- Returns
- the image path being displayed currently, or an empty string if none.
Definition at line 140 of file checkbox.cpp.
◆ isChecked()
| bool Plasma::CheckBox::isChecked |
( |
| ) |
const |
◆ nativeWidget()
| QCheckBox * Plasma::CheckBox::nativeWidget |
( |
| ) |
const |
◆ resizeEvent()
| void Plasma::CheckBox::resizeEvent |
( |
QGraphicsSceneResizeEvent * | event | ) |
|
|
protected |
◆ setChecked()
| void Plasma::CheckBox::setChecked |
( |
bool | checked | ) |
|
Sets the checked state.
- Parameters
-
| checked | true if checked, false if not |
Definition at line 166 of file checkbox.cpp.
◆ setImage()
| void Plasma::CheckBox::setImage |
( |
const QString & | path | ) |
|
Sets the path to an image to display.
- Parameters
-
| path | the path to the image; if a relative path, then a themed image will be loaded. |
Definition at line 112 of file checkbox.cpp.
◆ setStyleSheet()
| void Plasma::CheckBox::setStyleSheet |
( |
const QString & | stylesheet | ) |
|
Sets the stylesheet used to control the visual display of this CheckBox.
- Parameters
-
Definition at line 145 of file checkbox.cpp.
◆ setText()
| void Plasma::CheckBox::setText |
( |
const QString & | text | ) |
|
Sets the display text for this CheckBox.
- Parameters
-
| text | the text to display; should be translated. |
Definition at line 102 of file checkbox.cpp.
◆ styleSheet()
| QString Plasma::CheckBox::styleSheet |
( |
| ) |
|
- Returns
- the stylesheet currently used with this widget
◆ text()
| QString Plasma::CheckBox::text |
( |
| ) |
const |
◆ toggled
| void Plasma::CheckBox::toggled |
( |
bool | | ) |
|
|
signal |
◆ checked
| bool Plasma::CheckBox::checked |
|
readwrite |
◆ image
| QString Plasma::CheckBox::image |
|
readwrite |
◆ nativeWidget
| QCheckBox * Plasma::CheckBox::nativeWidget |
|
read |
◆ parentWidget
◆ styleSheet
| QString Plasma::CheckBox::styleSheet |
|
readwrite |
◆ text
| QString Plasma::CheckBox::text |
|
readwrite |
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2026 The KDE developers.
Generated on
by
doxygen 1.15.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.