OpenCOVER
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Types | Public Slots | Signals | Public Member Functions | Protected Attributes | Properties | List of all members
opencover::coTUIFloatSlider Class Reference

#include <coTabletUI.h>

Inheritance diagram for opencover::coTUIFloatSlider:
Inheritance graph
[legend]
Collaboration diagram for opencover::coTUIFloatSlider:
Collaboration graph
[legend]

Public Types

enum  Orientation { HORIZONTAL = 1, VERTICAL = 0 }
 

Public Slots

virtual void setValue (float newV)
 
virtual void setTicks (int t)
 
virtual void setOrientation (bool)
 
virtual void setMin (float minV)
 
virtual void setMax (float maxV)
 
virtual void setRange (float minV, float maxV)
 
virtual float getValue () const
 
virtual int getTicks () const
 
virtual bool getOrientation () const
 
virtual float getMin () const
 
virtual float getMax () const
 
- Public Slots inherited from opencover::coTUIElement
void setVal (const std::string &value)
 
void setVal (bool value)
 
void setVal (int value)
 
void setVal (float value)
 
void setVal (int type, int value)
 
void setVal (int type, float value)
 
void setVal (int type, int value, const std::string &nodePath)
 
void setVal (int type, const std::string &nodePath, const std::string &simPath, const std::string &simName)
 
void setVal (int type, int value, const std::string &nodePath, const std::string &simPath)
 
int getID () const
 
virtual void setPos (int, int)
 
virtual void setSize (int, int)
 
virtual void setLabel (const char *l)
 
virtual void setLabel (const std::string &l)
 
virtual void setColor (Qt::GlobalColor)
 
virtual void setHidden (bool)
 
std::string getName () const
 

Signals

void tabletEvent ()
 
void tabletPressEvent ()
 
void tabletReleaseEvent ()
 

Public Member Functions

 coTUIFloatSlider (const std::string &, int pID=1, bool state=true)
 
 coTUIFloatSlider (QObject *parent, const std::string &, int pID=1, bool state=true)
 
virtual ~coTUIFloatSlider ()
 
virtual void resend ()
 
virtual void parseMessage (covise::TokenBuffer &tb)
 
- Public Member Functions inherited from opencover::coTUIElement
 coTUIElement (const std::string &, int pID=1)
 
 coTUIElement (QObject *parent, const std::string &, int pID)
 
 coTUIElement (QObject *parent, const std::string &, int pID, int type)
 
virtual ~coTUIElement ()
 
virtual void setEventListener (coTUIListener *)
 
virtual coTUIListenergetMenuListener ()
 
void createSimple (int type)
 

Protected Attributes

float actValue
 
float minValue
 
float maxValue
 
bool orientation
 
- Protected Attributes inherited from opencover::coTUIElement
int parentID
 
std::string label
 label of this element More...
 
int ID
 unique ID More...
 
int xs
 
int ys
 
int xp
 
int yp
 
Qt::GlobalColor color
 
bool hidden
 
coTUIListenerlistener
 event listener More...
 

Properties

float value
 
int ticks
 
bool horizontal
 
float min
 
float max
 
- Properties inherited from opencover::coTUIElement
int id
 
std::string name
 name of this element More...
 

Additional Inherited Members

- Protected Member Functions inherited from opencover::coTUIElement
 coTUIElement (const std::string &, int pID, int type)
 

Detailed Description

a slider.

Member Enumeration Documentation

Enumerator
HORIZONTAL 
VERTICAL 

Constructor & Destructor Documentation

opencover::coTUIFloatSlider::coTUIFloatSlider ( const std::string &  ,
int  pID = 1,
bool  state = true 
)
opencover::coTUIFloatSlider::coTUIFloatSlider ( QObject *  parent,
const std::string &  ,
int  pID = 1,
bool  state = true 
)
virtual opencover::coTUIFloatSlider::~coTUIFloatSlider ( )
virtual

Member Function Documentation

virtual float opencover::coTUIFloatSlider::getMax ( ) const
inlinevirtualslot
virtual float opencover::coTUIFloatSlider::getMin ( ) const
inlinevirtualslot
virtual bool opencover::coTUIFloatSlider::getOrientation ( ) const
inlinevirtualslot
virtual int opencover::coTUIFloatSlider::getTicks ( ) const
inlinevirtualslot
virtual float opencover::coTUIFloatSlider::getValue ( ) const
inlinevirtualslot
virtual void opencover::coTUIFloatSlider::parseMessage ( covise::TokenBuffer &  tb)
virtual

Reimplemented from opencover::coTUIElement.

virtual void opencover::coTUIFloatSlider::resend ( )
virtual

Reimplemented from opencover::coTUIElement.

virtual void opencover::coTUIFloatSlider::setMax ( float  maxV)
virtualslot
virtual void opencover::coTUIFloatSlider::setMin ( float  minV)
virtualslot
virtual void opencover::coTUIFloatSlider::setOrientation ( bool  )
virtualslot
virtual void opencover::coTUIFloatSlider::setRange ( float  minV,
float  maxV 
)
virtualslot
virtual void opencover::coTUIFloatSlider::setTicks ( int  t)
virtualslot
virtual void opencover::coTUIFloatSlider::setValue ( float  newV)
virtualslot
void opencover::coTUIFloatSlider::tabletEvent ( )
signal
void opencover::coTUIFloatSlider::tabletPressEvent ( )
signal
void opencover::coTUIFloatSlider::tabletReleaseEvent ( )
signal

Member Data Documentation

float opencover::coTUIFloatSlider::actValue
protected
float opencover::coTUIFloatSlider::maxValue
protected
float opencover::coTUIFloatSlider::minValue
protected
bool opencover::coTUIFloatSlider::orientation
protected

Property Documentation

bool opencover::coTUIFloatSlider::horizontal
readwrite
float opencover::coTUIFloatSlider::max
readwrite
float opencover::coTUIFloatSlider::min
readwrite
int opencover::coTUIFloatSlider::ticks
readwrite
float opencover::coTUIFloatSlider::value
readwrite

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