Plasma
Go to the documentation of this file.
20 #ifndef PLASMA_SLIDER_H
21 #define PLASMA_SLIDER_H
23 #include <QtGui/QGraphicsProxyWidget>
44 Q_PROPERTY(
int maximum READ maximum WRITE setMaximum)
45 Q_PROPERTY(
int minimum READ minimum WRITE setMinimum)
46 Q_PROPERTY(
int value READ value WRITE setValue NOTIFY valueChanged)
47 Q_PROPERTY(Qt::Orientation orientation READ orientation WRITE setOrientation)
48 Q_PROPERTY(QString styleSheet READ styleSheet WRITE setStyleSheet)
49 Q_PROPERTY(QSlider *nativeWidget READ nativeWidget)
73 Qt::Orientation orientation()
const;
80 void setStyleSheet(
const QString &stylesheet);
90 QSlider *nativeWidget()
const;
94 void wheelEvent(QGraphicsSceneWheelEvent *event);
100 void setMaximum(
int maximum);
105 void setMinimum(
int minimum);
110 void setRange(
int minimum,
int maximum);
118 void setValue(
int value);
123 void setOrientation(Qt::Orientation orientation);
142 SliderPrivate *
const d;
147 #endif // multiple inclusion guard
Namespace for everything in libplasma.
Provides a plasma-themed QSlider.
void sliderMoved(int value)
This signal is emitted when the user drags the slider.
void valueChanged(int value)
This signal is emitted when the slider value has changed, with the new slider value as argument.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Thu Aug 27 2020 00:00:00 by
doxygen 1.8.20 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.