SoQtThumbWheel Class Reference

#include <SoQtThumbWheel.h>

List of all members.

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)
SoQtThumbWheeloperator= (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

Detailed Description

Definition at line 36 of file SoQtThumbWheel.h.


Member Enumeration Documentation

Enumerator:
CLAMP 
MODULATE 
ACCUMULATE 

Definition at line 56 of file SoQtThumbWheel.h.

Enumerator:
Horizontal 
Vertical 

Definition at line 41 of file SoQtThumbWheel.h.

enum SoQtThumbWheel::State [private]
Enumerator:
Idle 
Dragging 
Disabled 

Definition at line 84 of file SoQtThumbWheel.h.


Constructor & Destructor Documentation

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]

Member Function Documentation

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]

Member Data Documentation

Definition at line 95 of file SoQtThumbWheel.h.

Definition at line 88 of file SoQtThumbWheel.h.

Definition at line 88 of file SoQtThumbWheel.h.

Definition at line 94 of file SoQtThumbWheel.h.

Definition at line 86 of file SoQtThumbWheel.h.

QPixmap** SoQtThumbWheel::pixmaps [private]

Definition at line 93 of file SoQtThumbWheel.h.

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.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


graspit
Author(s):
autogenerated on Wed Jan 25 11:00:25 2012