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

#include <coTabletUI.h>

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

Public Slots

virtual void addEntry (const std::string &t)
 
virtual void delEntry (const std::string &t)
 
virtual void clear ()
 
virtual int getSelectedEntry () const
 
virtual void setSelectedEntry (int e)
 
virtual void setSelectedText (const std::string &t)
 
virtual const std::string & getSelectedText () const
 
virtual int getNumEntries ()
 
- 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 ()
 

Public Member Functions

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

std::string text
 
int selection
 
covise::coDLList< std::string > elements
 
covise::coDLListIter< std::string > iter
 
- 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 selected
 
std::string selectedText
 
- 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 comboBox.

Constructor & Destructor Documentation

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

Member Function Documentation

virtual void opencover::coTUIComboBox::addEntry ( const std::string &  t)
virtualslot
virtual void opencover::coTUIComboBox::clear ( )
virtualslot
virtual void opencover::coTUIComboBox::delEntry ( const std::string &  t)
virtualslot
virtual int opencover::coTUIComboBox::getNumEntries ( )
virtualslot
virtual int opencover::coTUIComboBox::getSelectedEntry ( ) const
virtualslot
virtual const std::string& opencover::coTUIComboBox::getSelectedText ( ) const
virtualslot
virtual void opencover::coTUIComboBox::parseMessage ( covise::TokenBuffer &  tb)
virtual

Reimplemented from opencover::coTUIElement.

virtual void opencover::coTUIComboBox::resend ( )
virtual

Reimplemented from opencover::coTUIElement.

virtual void opencover::coTUIComboBox::setSelectedEntry ( int  e)
virtualslot
virtual void opencover::coTUIComboBox::setSelectedText ( const std::string &  t)
virtualslot
void opencover::coTUIComboBox::tabletEvent ( )
signal

Member Data Documentation

covise::coDLList<std::string> opencover::coTUIComboBox::elements
protected
covise::coDLListIter<std::string> opencover::coTUIComboBox::iter
protected
int opencover::coTUIComboBox::selection
protected
std::string opencover::coTUIComboBox::text
protected

Property Documentation

int opencover::coTUIComboBox::selected
readwrite
std::string opencover::coTUIComboBox::selectedText
readwrite

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