52 virtual void add(QWidget *comp,
const QString &tabName){
53 (**this)->addTab(comp,tabName);
57 virtual void insert(
int idx, QWidget *comp,
const QString &tabName){
58 (**this)->insertTab(idx,comp,tabName);
63 return (**this)->currentIndex();
68 return (**this)->count();
A Handle for TabWidget container GUI components.
Definition: TabHandle.h:43
undocument this line if you encounter any issues!
Definition: Any.h:37
virtual void add(QWidget *comp, const QString &tabName)
adds an external compnent to the tab widget
Definition: TabHandle.h:52
Abstract base class for Handle classes.
Definition: GUIHandle.h:40
TabHandle(QTabWidget *w, GUIWidget *guiw)
create a difined handle
Definition: TabHandle.h:49
int current()
returns the currently selected index
Definition: TabHandle.h:62
TabHandle()
create an empty handle
Definition: TabHandle.h:46
int num()
returns the number of tabs of this tab-widget
Definition: TabHandle.h:67
virtual void insert(int idx, QWidget *comp, const QString &tabName)
inserts a widget at givel location
Definition: TabHandle.h:57
Base class for Container like GUI handles as Box- or Tab widgets.
Definition: ContainerHandle.h:40