Plasma
Go to the documentation of this file.
21 #ifndef PLASMA_SCROLLBAR_H
22 #define PLASMA_SCROLLBAR_H
24 #include <QtGui/QScrollBar>
25 #include <QtGui/QGraphicsProxyWidget>
32 class ScrollBarPrivate;
43 Q_PROPERTY(
int singleStep READ singleStep WRITE setSingleStep)
44 Q_PROPERTY(
int pageStep READ pageStep WRITE setPageStep)
45 Q_PROPERTY(
int value READ value WRITE setValue NOTIFY valueChanged)
46 Q_PROPERTY(
int minimum READ minimum WRITE setMinimum)
47 Q_PROPERTY(
int maximum READ maximum WRITE setMaximum)
48 Q_PROPERTY(QString styleSheet READ styleSheet WRITE setStyleSheet)
49 Q_PROPERTY(QScrollBar *nativeWidget READ nativeWidget)
50 Q_PROPERTY(Qt::Orientation orientation READ orientation WRITE setOrientation)
65 void setRange(
int min,
int max);
72 void setSingleStep(
int val);
83 void setPageStep(
int val);
109 void setMinimum(const
int min) const;
115 void setMaximum(const
int max) const;
122 void setStyleSheet(const QString &stylesheet);
127 QString styleSheet();
132 QScrollBar *nativeWidget() const;
138 Qt::Orientation orientation() const;
141 void contextMenuEvent(QGraphicsSceneContextMenuEvent *event);
148 void setValue(
int val);
153 void setOrientation(Qt::Orientation orientation);
159 void valueChanged(
int value);
165 void sliderMoved(
int value);
168 ScrollBarPrivate * const d;
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:34 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.