#include <Plasma/Widgets/Slider>
Provides a plasma-themed QSlider.
Definition at line 39 of file slider.h.
Plasma::Slider::~Slider |
( |
| ) |
|
int Plasma::Slider::maximum |
( |
| ) |
const |
int Plasma::Slider::minimum |
( |
| ) |
const |
QSlider* Plasma::Slider::nativeWidget |
( |
| ) |
const |
- Returns
- the native widget wrapped by this Slider
Qt::Orientation Plasma::Slider::orientation |
( |
| ) |
const |
- Returns
- the orientation of the slider
void Plasma::Slider::setMaximum |
( |
int |
maximum | ) |
|
|
slot |
Sets the maximum value the slider can take.
Definition at line 192 of file slider.cpp.
void Plasma::Slider::setMinimum |
( |
int |
minimum | ) |
|
|
slot |
Sets the minimum value the slider can take.
Definition at line 202 of file slider.cpp.
void Plasma::Slider::setOrientation |
( |
Qt::Orientation |
orientation | ) |
|
|
slot |
Sets the orientation of the slider.
Definition at line 227 of file slider.cpp.
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.
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.
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.
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.
QString Plasma::Slider::styleSheet |
( |
| ) |
|
- Returns
- the stylesheet currently used with this widget
int Plasma::Slider::value |
( |
| ) |
const |
void Plasma::Slider::valueChanged |
( |
int |
value | ) |
|
|
signal |
This signal is emitted when the slider value has changed, with the new slider value as argument.
void Plasma::Slider::wheelEvent |
( |
QGraphicsSceneWheelEvent * |
event | ) |
|
|
protected |
int Plasma::Slider::maximum |
|
readwrite |
int Plasma::Slider::minimum |
|
readwrite |
QSlider * Plasma::Slider::nativeWidget |
|
read |
Qt::Orientation Plasma::Slider::orientation |
|
readwrite |
QString Plasma::Slider::styleSheet |
|
readwrite |
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-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:35 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.