Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
QtxSlider Class Reference

#include <QtxSlider.h>

Inheritance diagram for QtxSlider:
Inheritance graph

Signals

void valueUpdated (int)
 

Public Member Functions

 QtxSlider (QWidget *=0)
 
 QtxSlider (int, int, int, QWidget *=0)
 
virtual ~QtxSlider ()
 
void setValue (int)
 
int value ()
 
void setRange (int, int)
 
void setSingleStep (int)
 

Protected Attributes

QHBoxLayout * mainLayout
 
QSlider * mySlider
 

Private Slots

void SliderHasMoved (int)
 

Constructor & Destructor Documentation

QtxSlider::QtxSlider ( QWidget theParent = 0)

CONSTRUCTOR of slider

References Horizontal, mainLayout, mySlider, and SliderHasMoved().

QtxSlider::QtxSlider ( int  theMin,
int  theMax,
int  theStep,
QWidget theParent = 0 
)
QtxSlider::~QtxSlider ( )
virtual

DESTRUCTOR of slider

Member Function Documentation

void QtxSlider::setRange ( int  theMin,
int  theMax 
)

Set range of slider

References mySlider.

void QtxSlider::setSingleStep ( int  theStep)

Set single step of slider

References mySlider.

void QtxSlider::setValue ( int  theValue)

Set value of slider

References mySlider.

void QtxSlider::SliderHasMoved ( int  theValue)
privateslot

SLOT: Called when the value of slider change

References valueUpdated().

int QtxSlider::value ( )

Get value of slider

References mySlider.

void QtxSlider::valueUpdated ( int  )
signal

Member Data Documentation

QHBoxLayout* QtxSlider::mainLayout
protected
QSlider* QtxSlider::mySlider
protected

The documentation for this class was generated from the following files: