Image Component Library (ICL)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Member Functions
icl::qt::SpinnerHandle Class Reference

Handle class for spinner components. More...

#include <SpinnerHandle.h>

Inheritance diagram for icl::qt::SpinnerHandle:
icl::qt::GUIHandle< QSpinBox > icl::qt::GUIHandleBase

List of all members.

Public Member Functions

 SpinnerHandle ()
 Create an empty spinner handle.
 SpinnerHandle (QSpinBox *sb, GUIWidget *w)
 create a new SpinnerHandle with given QSpinBox* to wrap
void setMin (int min)
 set the min value
void setMax (int max)
 set the max value
void setRange (int min, int max)
 set the range of the spin-box
void setValue (int val)
 set the current value of the spin-box
void setAll (int min, int max, int val)
 sets all parameters of a spin-box
int getMin () const
 returns the current min. of the spin-box
int getMax () const
 returns the current max. of the spin-box
int getValue () const
 returns the current value of the spin-box
void operator= (int val)
 assigns a new value to the spin-box (equal to setValue)

Private Member Functions

QSpinBox * sb ()
 internally used utility function
const QSpinBox * sb () const
 internally used utility function

Detailed Description

Handle class for spinner components.


Constructor & Destructor Documentation

Create an empty spinner handle.

icl::qt::SpinnerHandle::SpinnerHandle ( QSpinBox *  sb,
GUIWidget w 
) [inline]

create a new SpinnerHandle with given QSpinBox* to wrap


Member Function Documentation

returns the current max. of the spin-box

returns the current min. of the spin-box

returns the current value of the spin-box

void icl::qt::SpinnerHandle::operator= ( int  val) [inline]

assigns a new value to the spin-box (equal to setValue)

QSpinBox* icl::qt::SpinnerHandle::sb ( ) [inline, private]

internally used utility function

const QSpinBox* icl::qt::SpinnerHandle::sb ( ) const [inline, private]

internally used utility function

void icl::qt::SpinnerHandle::setAll ( int  min,
int  max,
int  val 
) [inline]

sets all parameters of a spin-box

void icl::qt::SpinnerHandle::setMax ( int  max)

set the max value

void icl::qt::SpinnerHandle::setMin ( int  min)

set the min value

void icl::qt::SpinnerHandle::setRange ( int  min,
int  max 
) [inline]

set the range of the spin-box

set the current value of the spin-box


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