#include <Plasma/Widgets/RadioButton>
Provides a plasma-themed QRadioButton.
Definition at line 39 of file radiobutton.h.
◆ RadioButton()
◆ ~RadioButton()
Plasma::RadioButton::~RadioButton |
( |
| ) |
|
◆ changeEvent()
void Plasma::RadioButton::changeEvent |
( |
QEvent * |
event | ) |
|
|
protected |
◆ image()
QString Plasma::RadioButton::image |
( |
| ) |
const |
- Returns
- the image path being displayed currently, or an empty string if none.
Definition at line 129 of file radiobutton.cpp.
◆ isChecked()
bool Plasma::RadioButton::isChecked |
( |
| ) |
const |
◆ nativeWidget()
QRadioButton * Plasma::RadioButton::nativeWidget |
( |
| ) |
const |
◆ resizeEvent()
void Plasma::RadioButton::resizeEvent |
( |
QGraphicsSceneResizeEvent * |
event | ) |
|
|
protected |
◆ setChecked()
void Plasma::RadioButton::setChecked |
( |
bool |
checked | ) |
|
Sets the checked state.
- Parameters
-
checked | true if checked, false if not |
Definition at line 155 of file radiobutton.cpp.
◆ setImage()
void Plasma::RadioButton::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 101 of file radiobutton.cpp.
◆ setStyleSheet()
void Plasma::RadioButton::setStyleSheet |
( |
const QString & |
stylesheet | ) |
|
◆ setText()
void Plasma::RadioButton::setText |
( |
const QString & |
text | ) |
|
Sets the display text for this RadioButton.
- Parameters
-
text | the text to display; should be translated. |
Definition at line 91 of file radiobutton.cpp.
◆ styleSheet()
QString Plasma::RadioButton::styleSheet |
( |
| ) |
|
- Returns
- the stylesheet currently used with this widget
◆ text()
QString Plasma::RadioButton::text |
( |
| ) |
const |
◆ toggled
void Plasma::RadioButton::toggled |
( |
bool |
| ) |
|
|
signal |
◆ checked
bool Plasma::RadioButton::checked |
|
readwrite |
◆ image
QString Plasma::RadioButton::image |
|
readwrite |
◆ nativeWidget
QRadioButton * Plasma::RadioButton::nativeWidget |
|
read |
◆ parentWidget
◆ styleSheet
QString Plasma::RadioButton::styleSheet |
|
readwrite |
◆ text
QString Plasma::RadioButton::text |
|
readwrite |
The documentation for this class was generated from the following files:
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.