#include <qslider.h>

Public Types |
|
| enum | TickPosition
{ NoTicks = 0, TicksAbove = 1, TicksLeft = TicksAbove, TicksBelow = 2, TicksRight = TicksBelow, TicksBothSides = 3 } |
Public Member Functions |
|
| QSlider (QWidget *parent=0) | |
| QSlider (Qt::Orientation orientation, QWidget *parent=0) | |
| ~QSlider () | |
| QSize | sizeHint () const |
| QSize | minimumSizeHint () const |
| void | setTickPosition (TickPosition position) |
| TickPosition | tickPosition () const |
| void | setTickInterval (int ti) |
| int | tickInterval () const |
| bool | event (QEvent *event) |
Protected Member Functions |
|
| void | paintEvent (QPaintEvent *ev) |
| void | mousePressEvent (QMouseEvent *ev) |
| void | mouseReleaseEvent (QMouseEvent *ev) |
| void | mouseMoveEvent (QMouseEvent *ev) |
| void | initStyleOption (QStyleOptionSlider *option) const |
Properties |
|
| TickPosition | tickPosition |
| int | tickInterval |
Friends |
|
| Q_GUI_EXPORT QStyleOptionSlider | qt_qsliderStyleOption (QSlider *slider) |
| enum TickPosition |
Definition at line 66 of file qslider.h.
{
NoTicks = 0,
TicksAbove = 1,
TicksLeft = TicksAbove,
TicksBelow = 2,
TicksRight = TicksBelow,
TicksBothSides = 3
#if defined(QT3_SUPPORT) && !defined(Q_MOC_RUN)
,NoMarks = NoTicks,
Above = TicksAbove,
Left = TicksAbove,
Below = TicksBelow,
Right = TicksRight,
Both = TicksBothSides
#endif
};
| QSlider | ( | Qt::Orientation | orientation, |
| QWidget * | parent = 0 |
||
| ) | [explicit] |
| ~QSlider | ( | ) |
| void setTickPosition | ( | TickPosition | position | ) |
| TickPosition tickPosition | ( | ) | const |
| void setTickInterval | ( | int | ti | ) |
| int tickInterval | ( | ) | const |
| bool event | ( | QEvent * | event | ) | [virtual] |
Reimplemented from QAbstractSlider.
| void paintEvent | ( | QPaintEvent * | ev | ) | [protected, virtual] |
Reimplemented from QWidget.
| void mousePressEvent | ( | QMouseEvent * | ev | ) | [protected, virtual] |
Reimplemented from QWidget.
| void mouseReleaseEvent | ( | QMouseEvent * | ev | ) | [protected, virtual] |
Reimplemented from QWidget.
| void mouseMoveEvent | ( | QMouseEvent * | ev | ) | [protected, virtual] |
Reimplemented from QWidget.
| void initStyleOption | ( | QStyleOptionSlider * | option | ) | const [protected] |
| Q_GUI_EXPORT QStyleOptionSlider qt_qsliderStyleOption | ( | QSlider * | slider | ) | [friend] |
TickPosition
tickPosition [read, write] |
int tickInterval [read,
write] |