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

#include <coTabletUI.h>

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

Public Slots

virtual void setState (bool s)
 
virtual bool getState () 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

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

Properties

bool state
 
- 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)
 
- 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...
 

Detailed Description

a toggle button.

Constructor & Destructor Documentation

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

Member Function Documentation

virtual bool opencover::coTUIToggleButton::getState ( ) const
virtualslot
virtual void opencover::coTUIToggleButton::parseMessage ( covise::TokenBuffer &  tb)
virtual

Reimplemented from opencover::coTUIElement.

virtual void opencover::coTUIToggleButton::resend ( )
virtual

Reimplemented from opencover::coTUIElement.

virtual void opencover::coTUIToggleButton::setState ( bool  s)
virtualslot
void opencover::coTUIToggleButton::tabletEvent ( )
signal
void opencover::coTUIToggleButton::tabletPressEvent ( )
signal
void opencover::coTUIToggleButton::tabletReleaseEvent ( )
signal

Property Documentation

bool opencover::coTUIToggleButton::state
readwrite

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