#include <SoQtThumbWheel.h>
Public Types | |
| enum | boundaryHandling { CLAMP, MODULATE, ACCUMULATE } |
| enum | Orientation { Horizontal, Vertical } |
Signals | |
| void | wheelMoved (float value) |
| void | wheelPressed (void) |
| void | wheelReleased (void) |
Public Member Functions | |
| boundaryHandling | getRangeBoundaryHandling (void) const |
| bool | isEnabled (void) const |
| Orientation | orientation (void) const |
| void | setEnabled (bool enable) |
| void | setOrientation (Orientation) |
| void | setRangeBoundaryHandling (boundaryHandling handling) |
| void | setValue (float value) |
| QSize | sizeHint (void) const |
| SoQtThumbWheel (Orientation, QWidget *parent=0, const char *name=0) | |
| SoQtThumbWheel (QWidget *parent=0, const char *name=0) | |
| float | value (void) const |
| ~SoQtThumbWheel (void) | |
Protected Member Functions | |
| void | mouseMoveEvent (QMouseEvent *) |
| void | mousePressEvent (QMouseEvent *) |
| void | mouseReleaseEvent (QMouseEvent *) |
| void | paintEvent (QPaintEvent *) |
Private Types | |
| enum | State { Idle, Dragging, Disabled } |
Private Member Functions | |
| void | constructor (Orientation) |
| void | initWheel (int diameter, int width) |
| SoQtThumbWheel & | operator= (const SoQtThumbWheel &wheel) |
| SoQtThumbWheel (const SoQtThumbWheel &wheel) | |
Private Attributes | |
| int | currentPixmap |
| int | mouseDownPos |
| int | mouseLastPos |
| int | numPixmaps |
| Orientation | orient |
| QPixmap ** | pixmaps |
| enum SoQtThumbWheel::State | state |
| float | tempWheelValue |
| SoAnyThumbWheel * | wheel |
| float | wheelValue |
Definition at line 36 of file SoQtThumbWheel.h.
Definition at line 56 of file SoQtThumbWheel.h.
Definition at line 41 of file SoQtThumbWheel.h.
enum SoQtThumbWheel::State [private] |
Definition at line 84 of file SoQtThumbWheel.h.
| SoQtThumbWheel::SoQtThumbWheel | ( | QWidget * | parent = 0, |
|
| const char * | name = 0 | |||
| ) |
| SoQtThumbWheel::SoQtThumbWheel | ( | Orientation | , | |
| QWidget * | parent = 0, |
|||
| const char * | name = 0 | |||
| ) |
| SoQtThumbWheel::~SoQtThumbWheel | ( | void | ) |
| SoQtThumbWheel::SoQtThumbWheel | ( | const SoQtThumbWheel & | wheel | ) | [private] |
| void SoQtThumbWheel::constructor | ( | Orientation | ) | [private] |
| boundaryHandling SoQtThumbWheel::getRangeBoundaryHandling | ( | void | ) | const |
| void SoQtThumbWheel::initWheel | ( | int | diameter, | |
| int | width | |||
| ) | [private] |
| bool SoQtThumbWheel::isEnabled | ( | void | ) | const |
| void SoQtThumbWheel::mouseMoveEvent | ( | QMouseEvent * | ) | [protected] |
| void SoQtThumbWheel::mousePressEvent | ( | QMouseEvent * | ) | [protected] |
| void SoQtThumbWheel::mouseReleaseEvent | ( | QMouseEvent * | ) | [protected] |
| SoQtThumbWheel& SoQtThumbWheel::operator= | ( | const SoQtThumbWheel & | wheel | ) | [private] |
| Orientation SoQtThumbWheel::orientation | ( | void | ) | const |
| void SoQtThumbWheel::paintEvent | ( | QPaintEvent * | ) | [protected] |
| void SoQtThumbWheel::setEnabled | ( | bool | enable | ) |
| void SoQtThumbWheel::setOrientation | ( | Orientation | ) |
| void SoQtThumbWheel::setRangeBoundaryHandling | ( | boundaryHandling | handling | ) |
| void SoQtThumbWheel::setValue | ( | float | value | ) |
| QSize SoQtThumbWheel::sizeHint | ( | void | ) | const |
| float SoQtThumbWheel::value | ( | void | ) | const |
| void SoQtThumbWheel::wheelMoved | ( | float | value | ) | [signal] |
| void SoQtThumbWheel::wheelPressed | ( | void | ) | [signal] |
| void SoQtThumbWheel::wheelReleased | ( | void | ) | [signal] |
int SoQtThumbWheel::currentPixmap [private] |
Definition at line 95 of file SoQtThumbWheel.h.
int SoQtThumbWheel::mouseDownPos [private] |
Definition at line 88 of file SoQtThumbWheel.h.
int SoQtThumbWheel::mouseLastPos [private] |
Definition at line 88 of file SoQtThumbWheel.h.
int SoQtThumbWheel::numPixmaps [private] |
Definition at line 94 of file SoQtThumbWheel.h.
Orientation SoQtThumbWheel::orient [private] |
Definition at line 86 of file SoQtThumbWheel.h.
QPixmap** SoQtThumbWheel::pixmaps [private] |
Definition at line 93 of file SoQtThumbWheel.h.
enum SoQtThumbWheel::State SoQtThumbWheel::state [private] |
float SoQtThumbWheel::tempWheelValue [private] |
Definition at line 87 of file SoQtThumbWheel.h.
SoAnyThumbWheel* SoQtThumbWheel::wheel [private] |
Definition at line 92 of file SoQtThumbWheel.h.
float SoQtThumbWheel::wheelValue [private] |
Definition at line 87 of file SoQtThumbWheel.h.