- Your Widget Set For OpenGL
Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | Related Pages

ufo::UAbstractSlider Class Reference

An abstract slider. More...

#include <uabstractslider.hpp>

Inheritance diagram for ufo::UAbstractSlider:

ufo::UWidget ufo::UObject ufo::UCollectable ufo::UScrollBar ufo::USlider List of all members.

Public Member Functions

 UAbstractSlider ()
int getMinimum () const
void setMinimum (int min)
int getMaximum () const
void setMaximum (int max)
void setRange (int min, int max)
int getValue () const
void setValue (int newValue)
int getUnitIncrement () const
void setUnitIncrement (int inc)
int getBlockIncrement () const
void setBlockIncrement (int inc)
USignal1< UAbstractSlider * > & sigValueChanged ()

Protected Member Functions

USliderModelgetSliderModel () const
virtual void processMouseWheelEvent (UMouseWheelEvent *e)

Detailed Description

An abstract slider.

Author:
Johannes Schmidt


Constructor & Destructor Documentation

ufo::UAbstractSlider::UAbstractSlider  ) 
 

Creates a slider with horizontal orientation, a minimum value of 0, a maximum of 99 and a value of 0.


Member Function Documentation

int ufo::UAbstractSlider::getBlockIncrement  )  const
 

The amount to scroll for a block increment (e.g. page up/down).

USliderModel* ufo::UAbstractSlider::getSliderModel  )  const [protected]
 

For convenience

int ufo::UAbstractSlider::getUnitIncrement  )  const
 

The amount to scroll for one unit (e.g. mouse wheel events).

virtual void ufo::UAbstractSlider::processMouseWheelEvent UMouseWheelEvent e  )  [protected, virtual]
 

Processes focus events. Primarily, it is used to notify listeners.

Reimplemented from ufo::UWidget.


The documentation for this class was generated from the following file:
The libUFO Project - written by Johannes Schmidt