Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

VrSlider Class Reference

#include <VrGUI_int.h>

List of all members.

Public Types

enum  { ScrNone, ScrMouse, ScrPage }
enum  Orientation { Vertical, Horizontal }
enum  ScalePos {
  None, Left, Right, Top,
  Bottom
}

Public Slots

void setValue (double val)

Signals

void valueChanged (double value)
void sliderPressed ()
void sliderReleased ()
void sliderMoved (double value)

Public Member Functions

 VrSlider (QWidget *parent, Orientation orient, ScalePos scalePos, double vmin, double vmax, double arg_val, double arg_step=1.0)
 ~VrSlider ()
void stopMoving ()
void setNewValue (double x, int align=0)

Public Attributes

Orientation d_orient
QRect d_sliderRect
int d_thumbLength
int d_thumbHalf
int d_thumbWidth
int d_borderWidth
int d_bwTrough
int markerPos
int d_pageSize
int d_tracking
double d_value
double d_step
double d_prevValue

Protected Member Functions

void timerEvent (QTimerEvent *e)
void mousePressEvent (QMouseEvent *e)
void mouseReleaseEvent (QMouseEvent *e)
void mouseMoveEvent (QMouseEvent *e)
virtual void drawSlider (QPainter *p, const QRect &r)
double getValue (const QPoint &p)
void paintEvent (QPaintEvent *e)
void valueChange ()
void resizeEvent (QResizeEvent *e)
void scaleChange ()

Protected Attributes

VrScaleDraw yyd_scale
int d_scrollMode
int d_direction
double d_mouseOffset

Private Member Functions

void buttonReleased ()

Private Attributes

int d_tmrID
int d_updTime
int d_timerTick
QTime d_time


Member Enumeration Documentation

anonymous enum
 

Enumeration values:
ScrNone 
ScrMouse 
ScrPage 

enum VrSlider::Orientation
 

Enumeration values:
Vertical 
Horizontal 

enum VrSlider::ScalePos
 

Enumeration values:
None 
Left 
Right 
Top 
Bottom 


Constructor & Destructor Documentation

VrSlider::VrSlider QWidget *  parent,
Orientation  orient,
ScalePos  scalePos,
double  vmin,
double  vmax,
double  arg_val,
double  arg_step = 1.0
 

VrSlider::~VrSlider  ) 
 


Member Function Documentation

void VrSlider::buttonReleased  )  [private]
 

void VrSlider::drawSlider QPainter *  p,
const QRect &  r
[protected, virtual]
 

double VrSlider::getValue const QPoint &  p  )  [protected]
 

void VrSlider::mouseMoveEvent QMouseEvent *  e  )  [protected]
 

void VrSlider::mousePressEvent QMouseEvent *  e  )  [protected]
 

void VrSlider::mouseReleaseEvent QMouseEvent *  e  )  [protected]
 

void VrSlider::paintEvent QPaintEvent *  e  )  [protected]
 

void VrSlider::resizeEvent QResizeEvent *  e  )  [inline, protected]
 

void VrSlider::scaleChange  )  [protected]
 

void VrSlider::setNewValue double  x,
int  align = 0
 

void VrSlider::setValue double  val  )  [slot]
 

void VrSlider::sliderMoved double  value  )  [signal]
 

void VrSlider::sliderPressed  )  [signal]
 

void VrSlider::sliderReleased  )  [signal]
 

void VrSlider::stopMoving  ) 
 

void VrSlider::timerEvent QTimerEvent *  e  )  [protected]
 

void VrSlider::valueChange  )  [protected]
 

void VrSlider::valueChanged double  value  )  [signal]
 


Member Data Documentation

int VrSlider::d_borderWidth
 

int VrSlider::d_bwTrough
 

int VrSlider::d_direction [protected]
 

double VrSlider::d_mouseOffset [protected]
 

Orientation VrSlider::d_orient
 

int VrSlider::d_pageSize
 

double VrSlider::d_prevValue
 

int VrSlider::d_scrollMode [protected]
 

QRect VrSlider::d_sliderRect
 

double VrSlider::d_step
 

int VrSlider::d_thumbHalf
 

int VrSlider::d_thumbLength
 

int VrSlider::d_thumbWidth
 

QTime VrSlider::d_time [private]
 

int VrSlider::d_timerTick [private]
 

int VrSlider::d_tmrID [private]
 

int VrSlider::d_tracking
 

int VrSlider::d_updTime [private]
 

double VrSlider::d_value
 

int VrSlider::markerPos
 

VrScaleDraw VrSlider::yyd_scale [protected]
 


The documentation for this class was generated from the following files:
Generated on Tue Mar 15 23:55:39 2005 for GNU Radio by  doxygen 1.4.0