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

#include <coTabletUI.h>

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

Public Types

enum  styles { Plain = 0x0010, Raised = 0x0020, Sunken = 0x0030 }
 
enum  shapes {
  NoFrame = 0x0000, Box = 0x0001, Panel = 0x0002, WinPanel = 0x0003,
  HLine = 0x0004, VLine = 0x0005, StyledPanel = 0x0006
}
 

Public Slots

virtual void setShape (int s)
 
virtual void setStyle (int t)
 
virtual int getShape () const
 
virtual int getStyle () 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

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

Properties

int shape
 
int style
 
- 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)
 
- 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
 

Detailed Description

a Frame.

Member Enumeration Documentation

Enumerator
NoFrame 
Box 
Panel 
WinPanel 
HLine 
VLine 
StyledPanel 
Enumerator
Plain 
Raised 
Sunken 

Constructor & Destructor Documentation

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

Member Function Documentation

virtual int opencover::coTUIFrame::getShape ( ) const
inlinevirtualslot
virtual int opencover::coTUIFrame::getStyle ( ) const
inlinevirtualslot
virtual void opencover::coTUIFrame::parseMessage ( covise::TokenBuffer &  tb)
overridevirtual

Reimplemented from opencover::coTUIElement.

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

Reimplemented from opencover::coTUIElement.

virtual void opencover::coTUIFrame::setShape ( int  s)
virtualslot
virtual void opencover::coTUIFrame::setStyle ( int  t)
virtualslot
void opencover::coTUIFrame::tabletEvent ( )
signal
void opencover::coTUIFrame::tabletPressEvent ( )
signal
void opencover::coTUIFrame::tabletReleaseEvent ( )
signal

Property Documentation

int opencover::coTUIFrame::shape
readwrite
int opencover::coTUIFrame::style
readwrite

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