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

#include <coTabletUI.h>

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

Public Slots

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
 

Public Member Functions

 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 parseMessage (covise::TokenBuffer &tb)
 
virtual void resend ()
 
virtual void setEventListener (coTUIListener *)
 
virtual coTUIListenergetMenuListener ()
 
void createSimple (int type)
 

Protected Member Functions

 coTUIElement (const std::string &, int pID, int type)
 

Protected Attributes

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 id
 
std::string name
 name of this element More...
 

Detailed Description

Base class for Tablet PC UI Elements.

Constructor & Destructor Documentation

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

Member Function Documentation

void opencover::coTUIElement::createSimple ( int  type)
int opencover::coTUIElement::getID ( ) const
slot
virtual coTUIListener* opencover::coTUIElement::getMenuListener ( )
virtual
std::string opencover::coTUIElement::getName ( ) const
inlineslot
virtual void opencover::coTUIElement::parseMessage ( covise::TokenBuffer &  tb)
virtual
virtual void opencover::coTUIElement::resend ( )
virtual
virtual void opencover::coTUIElement::setColor ( Qt::GlobalColor  )
virtualslot
virtual void opencover::coTUIElement::setEventListener ( coTUIListener )
virtual
virtual void opencover::coTUIElement::setHidden ( bool  )
virtualslot
virtual void opencover::coTUIElement::setLabel ( const char *  l)
virtualslot
virtual void opencover::coTUIElement::setLabel ( const std::string &  l)
virtualslot
virtual void opencover::coTUIElement::setPos ( int  ,
int   
)
virtualslot
virtual void opencover::coTUIElement::setSize ( int  ,
int   
)
virtualslot
void opencover::coTUIElement::setVal ( const std::string &  value)
slot
void opencover::coTUIElement::setVal ( bool  value)
slot
void opencover::coTUIElement::setVal ( int  value)
slot
void opencover::coTUIElement::setVal ( float  value)
slot
void opencover::coTUIElement::setVal ( int  type,
int  value 
)
slot
void opencover::coTUIElement::setVal ( int  type,
float  value 
)
slot
void opencover::coTUIElement::setVal ( int  type,
int  value,
const std::string &  nodePath 
)
slot
void opencover::coTUIElement::setVal ( int  type,
const std::string &  nodePath,
const std::string &  simPath,
const std::string &  simName 
)
slot
void opencover::coTUIElement::setVal ( int  type,
int  value,
const std::string &  nodePath,
const std::string &  simPath 
)
slot

Member Data Documentation

Qt::GlobalColor opencover::coTUIElement::color
protected
bool opencover::coTUIElement::hidden
protected
int opencover::coTUIElement::ID
protected

unique ID

std::string opencover::coTUIElement::label
protected

label of this element

coTUIListener* opencover::coTUIElement::listener
protected

event listener

int opencover::coTUIElement::parentID
protected
int opencover::coTUIElement::xp
protected
int opencover::coTUIElement::xs
protected
int opencover::coTUIElement::yp
protected
int opencover::coTUIElement::ys
protected

Property Documentation

int opencover::coTUIElement::id
read
std::string opencover::coTUIElement::name
read

name of this element


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