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::coTUISlider Class Reference

#include <coTabletUI.h>

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

Public Types

enum  Orientation { HORIZONTAL = 1, VERTICAL = 0 }
 

Public Slots

virtual void setValue (int newV)
 
virtual void setOrientation (bool o)
 
virtual void setTicks (int t)
 
virtual void setMin (int minV)
 
virtual void setMax (int maxV)
 
virtual void setRange (int minV, int maxV)
 
virtual int getValue () const
 
virtual int getTicks () const
 
virtual bool getOrientation () const
 
virtual int getMin () const
 
virtual int 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

 coTUISlider (const std::string &, int pID=1, bool state=true)
 
 coTUISlider (QObject *parent, const std::string &, int pID=1, bool state=true)
 
virtual ~coTUISlider ()
 
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

int actValue
 
int minValue
 
int 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

int value
 
int ticks
 
bool horizontal
 
int min
 
int 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::coTUISlider::coTUISlider ( const std::string &  ,
int  pID = 1,
bool  state = true 
)
opencover::coTUISlider::coTUISlider ( QObject *  parent,
const std::string &  ,
int  pID = 1,
bool  state = true 
)
virtual opencover::coTUISlider::~coTUISlider ( )
virtual

Member Function Documentation

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

Reimplemented from opencover::coTUIElement.

virtual void opencover::coTUISlider::resend ( )
virtual

Reimplemented from opencover::coTUIElement.

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

Member Data Documentation

int opencover::coTUISlider::actValue
protected
int opencover::coTUISlider::maxValue
protected
int opencover::coTUISlider::minValue
protected
bool opencover::coTUISlider::orientation
protected

Property Documentation

bool opencover::coTUISlider::horizontal
readwrite
int opencover::coTUISlider::max
readwrite
int opencover::coTUISlider::min
readwrite
int opencover::coTUISlider::ticks
readwrite
int opencover::coTUISlider::value
readwrite

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