#include <Plasma/Widgets/Slider>
Provides a plasma-themed QSlider.
Definition at line 39 of file slider.h.
◆ Slider()
◆ ~Slider()
Plasma::Slider::~Slider |
( |
| ) |
|
◆ maximum()
int Plasma::Slider::maximum |
( |
| ) |
const |
- Returns
- the maximum value
Definition at line 197 of file slider.cpp.
◆ minimum()
int Plasma::Slider::minimum |
( |
| ) |
const |
- Returns
- the minimum value
Definition at line 207 of file slider.cpp.
◆ nativeWidget()
QSlider * Plasma::Slider::nativeWidget |
( |
| ) |
const |
◆ orientation()
Qt::Orientation Plasma::Slider::orientation |
( |
| ) |
const |
- Returns
- the orientation of the slider
Definition at line 232 of file slider.cpp.
◆ paint()
◆ setMaximum
void Plasma::Slider::setMaximum |
( |
int |
maximum | ) |
|
|
slot |
Sets the maximum value the slider can take.
Definition at line 192 of file slider.cpp.
◆ setMinimum
void Plasma::Slider::setMinimum |
( |
int |
minimum | ) |
|
|
slot |
Sets the minimum value the slider can take.
Definition at line 202 of file slider.cpp.
◆ setOrientation
void Plasma::Slider::setOrientation |
( |
Qt::Orientation |
orientation | ) |
|
|
slot |
Sets the orientation of the slider.
Definition at line 227 of file slider.cpp.
◆ setRange
void Plasma::Slider::setRange |
( |
int |
minimum, |
|
|
int |
maximum |
|
) |
| |
|
slot |
Sets the minimum and maximum values the slider can take.
Definition at line 212 of file slider.cpp.
◆ setStyleSheet()
void Plasma::Slider::setStyleSheet |
( |
const QString & |
stylesheet | ) |
|
Sets the stylesheet used to control the visual display of this Slider.
- Parameters
-
Definition at line 237 of file slider.cpp.
◆ setValue
void Plasma::Slider::setValue |
( |
int |
value | ) |
|
|
slot |
Sets the value of the slider.
If it is outside the range specified by minimum() and maximum(), it will be adjusted to fit.
Definition at line 217 of file slider.cpp.
◆ sliderMoved
void Plasma::Slider::sliderMoved |
( |
int |
value | ) |
|
|
signal |
This signal is emitted when the user drags the slider.
In fact, it is emitted whenever the sliderMoved(int) signal of QSlider would be emitted. See the Qt documentation for more information.
◆ styleSheet()
QString Plasma::Slider::styleSheet |
( |
| ) |
|
- Returns
- the stylesheet currently used with this widget
◆ value()
int Plasma::Slider::value |
( |
| ) |
const |
- Returns
- the current value
Definition at line 222 of file slider.cpp.
◆ valueChanged
void Plasma::Slider::valueChanged |
( |
int |
value | ) |
|
|
signal |
This signal is emitted when the slider value has changed, with the new slider value as argument.
◆ wheelEvent()
void Plasma::Slider::wheelEvent |
( |
QGraphicsSceneWheelEvent * |
event | ) |
|
|
protected |
◆ maximum
int Plasma::Slider::maximum |
|
readwrite |
◆ minimum
int Plasma::Slider::minimum |
|
readwrite |
◆ nativeWidget
QSlider * Plasma::Slider::nativeWidget |
|
read |
◆ orientation
Qt::Orientation Plasma::Slider::orientation |
|
readwrite |
◆ parentWidget
◆ styleSheet
QString Plasma::Slider::styleSheet |
|
readwrite |
◆ value
int Plasma::Slider::value |
|
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.