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

#include <coTabletUI.h>

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

Public Slots

virtual float getRed () const
 
virtual float getGreen () const
 
virtual float getBlue () const
 
virtual float getAlpha () const
 
virtual void setRed (float red)
 
virtual void setGreen (float green)
 
virtual void setBlue (float blue)
 
virtual void setAlpha (float alpha)
 
virtual void setColor (float r, float g, float b, float a)
 
virtual void setColor (Qt::GlobalColor c)
 
- 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 tabletReleaseEvent ()
 

Public Member Functions

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

float red
 
float green
 
float blue
 
float alpha
 
- 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...
 

Constructor & Destructor Documentation

opencover::coTUIColorButton::coTUIColorButton ( const std::string &  ,
int  pID = 1 
)
opencover::coTUIColorButton::coTUIColorButton ( QObject *  parent,
const std::string &  ,
int  pID = 1 
)
virtual opencover::coTUIColorButton::~coTUIColorButton ( )
virtual

Member Function Documentation

virtual float opencover::coTUIColorButton::getAlpha ( ) const
inlinevirtualslot
virtual float opencover::coTUIColorButton::getBlue ( ) const
inlinevirtualslot
virtual float opencover::coTUIColorButton::getGreen ( ) const
inlinevirtualslot
virtual float opencover::coTUIColorButton::getRed ( ) const
inlinevirtualslot
virtual void opencover::coTUIColorButton::parseMessage ( covise::TokenBuffer &  tb)
virtual

Reimplemented from opencover::coTUIElement.

virtual void opencover::coTUIColorButton::resend ( )
virtual

Reimplemented from opencover::coTUIElement.

virtual void opencover::coTUIColorButton::setAlpha ( float  alpha)
inlinevirtualslot
virtual void opencover::coTUIColorButton::setBlue ( float  blue)
inlinevirtualslot
virtual void opencover::coTUIColorButton::setColor ( float  r,
float  g,
float  b,
float  a 
)
virtualslot
virtual void opencover::coTUIColorButton::setColor ( Qt::GlobalColor  c)
inlinevirtualslot
virtual void opencover::coTUIColorButton::setGreen ( float  green)
inlinevirtualslot
virtual void opencover::coTUIColorButton::setRed ( float  red)
inlinevirtualslot
void opencover::coTUIColorButton::tabletEvent ( )
signal
void opencover::coTUIColorButton::tabletReleaseEvent ( )
signal

Property Documentation

float opencover::coTUIColorButton::alpha
readwrite
float opencover::coTUIColorButton::blue
readwrite
float opencover::coTUIColorButton::green
readwrite
float opencover::coTUIColorButton::red
readwrite

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