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

#include <coTabletUI.h>

Inheritance diagram for opencover::coTUIToggleBitmapButton:
Inheritance graph
[legend]
Collaboration diagram for opencover::coTUIToggleBitmapButton:
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) override
 
virtual void setSize (int, int) override
 
virtual void setLabel (const char *l) override
 
virtual void setLabel (const std::string &l)
 
virtual void setColor (Qt::GlobalColor)
 
virtual void setHidden (bool)
 
virtual void setEnabled (bool)
 
std::string getName () const
 

Signals

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

Public Member Functions

 coTUIToggleBitmapButton (const std::string &, const std::string &, int pID=1, bool state=false)
 
 coTUIToggleBitmapButton (QObject *parent, const std::string &, const std::string &, int pID=1, bool state=false)
 
virtual ~coTUIToggleBitmapButton ()
 
virtual void resend (bool create) override
 
virtual void parseMessage (covise::TokenBuffer &tb) override
 
- 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 () override
 
void createSimple (int type)
 
coTabletUItui () const
 

Protected Attributes

std::string bmpUp
 
std::string bmpDown
 
- Protected Attributes inherited from opencover::coTUIElement
int type = -1
 
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 = false
 
bool enabled = true
 
coTUIListenerlistener = nullptr
 event listener More...
 
coTabletUIm_tui = nullptr
 

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)
 
 coTUIElement (coTabletUI *tui, const std::string &, int pID, int type)
 

Detailed Description

a toggleBitmapButton.

Constructor & Destructor Documentation

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

Member Function Documentation

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

Reimplemented from opencover::coTUIElement.

virtual void opencover::coTUIToggleBitmapButton::resend ( bool  create)
overridevirtual

Reimplemented from opencover::coTUIElement.

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

Member Data Documentation

std::string opencover::coTUIToggleBitmapButton::bmpDown
protected
std::string opencover::coTUIToggleBitmapButton::bmpUp
protected

Property Documentation

bool opencover::coTUIToggleBitmapButton::state
readwrite

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