Image Component Library (ICL)
|
A Handle for TabWidget container GUI components. More...
#include <TabHandle.h>
Public Member Functions | |
TabHandle () | |
create an empty handle | |
TabHandle (QTabWidget *w, GUIWidget *guiw) | |
create a difined handle | |
virtual void | add (QWidget *comp, const QString &tabName) |
adds an external compnent to the tab widget | |
virtual void | insert (int idx, QWidget *comp, const QString &tabName) |
inserts a widget at givel location | |
int | current () |
returns the currently selected index | |
int | num () |
returns the number of tabs of this tab-widget |
A Handle for TabWidget container GUI components.
icl::qt::TabHandle::TabHandle | ( | ) | [inline] |
create an empty handle
icl::qt::TabHandle::TabHandle | ( | QTabWidget * | w, |
GUIWidget * | guiw | ||
) | [inline] |
create a difined handle
virtual void icl::qt::TabHandle::add | ( | QWidget * | comp, |
const QString & | tabName | ||
) | [inline, virtual] |
adds an external compnent to the tab widget
Reimplemented from icl::qt::ContainerHandle.
int icl::qt::TabHandle::current | ( | ) | [inline] |
returns the currently selected index
virtual void icl::qt::TabHandle::insert | ( | int | idx, |
QWidget * | comp, | ||
const QString & | tabName | ||
) | [inline, virtual] |
inserts a widget at givel location
Reimplemented from icl::qt::ContainerHandle.
int icl::qt::TabHandle::num | ( | ) | [inline] |
returns the number of tabs of this tab-widget