CMS 3D CMS Logo

IgSoQtThumbWheel Class Reference

#include <Iguana/Studio/interface/IgSoQtThumbWheel.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
 IgSoQtThumbWheel (Orientation, QWidget *parent=0, const char *name=0)
 IgSoQtThumbWheel (QWidget *parent=0, const char *name=0)
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
float value (void) const
 ~IgSoQtThumbWheel (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)
 IgSoQtThumbWheel (const IgSoQtThumbWheel &wheel)
void initWheel (int diameter, int width)
IgSoQtThumbWheeloperator= (const IgSoQtThumbWheel &wheel)

Private Attributes

int currentPixmap
int mouseDownPos
int mouseLastPos
int numPixmaps
Orientation orient
QPixmap ** pixmaps
enum IgSoQtThumbWheel::State state
float tempWheelValue
IgSoAnyThumbWheelwheel
float wheelValue


Detailed Description

Definition at line 35 of file IgSoQtThumbWheel.h.


Member Enumeration Documentation

enum IgSoQtThumbWheel::boundaryHandling

Enumerator:
CLAMP 
MODULATE 
ACCUMULATE 

Definition at line 55 of file IgSoQtThumbWheel.h.

00055                         {
00056     CLAMP,
00057     MODULATE,
00058     ACCUMULATE
00059   };

enum IgSoQtThumbWheel::Orientation

Enumerator:
Horizontal 
Vertical 

Definition at line 40 of file IgSoQtThumbWheel.h.

00040 { Horizontal, Vertical };

enum IgSoQtThumbWheel::State [private]

Enumerator:
Idle 
Dragging 
Disabled 

Definition at line 83 of file IgSoQtThumbWheel.h.

00083 { Idle, Dragging, Disabled } state;


Constructor & Destructor Documentation

IgSoQtThumbWheel::IgSoQtThumbWheel ( QWidget *  parent = 0,
const char *  name = 0 
)

IgSoQtThumbWheel::IgSoQtThumbWheel ( Orientation  ,
QWidget *  parent = 0,
const char *  name = 0 
)

IgSoQtThumbWheel::~IgSoQtThumbWheel ( void   ) 

IgSoQtThumbWheel::IgSoQtThumbWheel ( const IgSoQtThumbWheel wheel  )  [private]


Member Function Documentation

void IgSoQtThumbWheel::constructor ( Orientation   )  [private]

boundaryHandling IgSoQtThumbWheel::getRangeBoundaryHandling ( void   )  const

void IgSoQtThumbWheel::initWheel ( int  diameter,
int  width 
) [private]

bool IgSoQtThumbWheel::isEnabled ( void   )  const

void IgSoQtThumbWheel::mouseMoveEvent ( QMouseEvent *   )  [protected]

void IgSoQtThumbWheel::mousePressEvent ( QMouseEvent *   )  [protected]

void IgSoQtThumbWheel::mouseReleaseEvent ( QMouseEvent *   )  [protected]

IgSoQtThumbWheel& IgSoQtThumbWheel::operator= ( const IgSoQtThumbWheel wheel  )  [private]

Orientation IgSoQtThumbWheel::orientation ( void   )  const

void IgSoQtThumbWheel::paintEvent ( QPaintEvent *   )  [protected]

void IgSoQtThumbWheel::setEnabled ( bool  enable  ) 

void IgSoQtThumbWheel::setOrientation ( Orientation   ) 

void IgSoQtThumbWheel::setRangeBoundaryHandling ( boundaryHandling  handling  ) 

void IgSoQtThumbWheel::setValue ( float  value  ) 

QSize IgSoQtThumbWheel::sizeHint ( void   )  const

float IgSoQtThumbWheel::value ( void   )  const

void IgSoQtThumbWheel::wheelMoved ( float  value  )  [signal]

void IgSoQtThumbWheel::wheelPressed ( void   )  [signal]

void IgSoQtThumbWheel::wheelReleased ( void   )  [signal]


Member Data Documentation

int IgSoQtThumbWheel::currentPixmap [private]

Definition at line 94 of file IgSoQtThumbWheel.h.

int IgSoQtThumbWheel::mouseDownPos [private]

Definition at line 87 of file IgSoQtThumbWheel.h.

int IgSoQtThumbWheel::mouseLastPos [private]

Definition at line 87 of file IgSoQtThumbWheel.h.

int IgSoQtThumbWheel::numPixmaps [private]

Definition at line 93 of file IgSoQtThumbWheel.h.

Orientation IgSoQtThumbWheel::orient [private]

Definition at line 85 of file IgSoQtThumbWheel.h.

QPixmap** IgSoQtThumbWheel::pixmaps [private]

Definition at line 92 of file IgSoQtThumbWheel.h.

enum IgSoQtThumbWheel::State IgSoQtThumbWheel::state [private]

float IgSoQtThumbWheel::tempWheelValue [private]

Definition at line 86 of file IgSoQtThumbWheel.h.

IgSoAnyThumbWheel* IgSoQtThumbWheel::wheel [private]

Definition at line 91 of file IgSoQtThumbWheel.h.

float IgSoQtThumbWheel::wheelValue [private]

Definition at line 86 of file IgSoQtThumbWheel.h.


The documentation for this class was generated from the following file:
Generated on Tue Jun 9 18:25:43 2009 for CMSSW by  doxygen 1.5.4