Image Component Library (ICL)
|
A Handle for TabWidget container GUI components. More...
#include <TabHandle.h>
Public Member Functions | |
TabHandle () | |
create an empty handle More... | |
TabHandle (QTabWidget *w, GUIWidget *guiw) | |
create a difined handle More... | |
virtual void | add (QWidget *comp, const QString &tabName) |
adds an external compnent to the tab widget More... | |
virtual void | insert (int idx, QWidget *comp, const QString &tabName) |
inserts a widget at givel location More... | |
int | current () |
returns the currently selected index More... | |
int | num () |
returns the number of tabs of this tab-widget More... | |
Public Member Functions inherited from icl::qt::GUIHandle< QTabWidget > | |
const QTabWidget * | operator * () const |
use the *-oprator to get the wrapped component (const) More... | |
QTabWidget *& | operator * () |
use the *-oprator to get the wrapped component (unconst) More... | |
QTabWidget * | operator-> () |
this can be used for direct access to wrapped type More... | |
const QTabWidget * | operator-> () const |
this can be used for direct access to wrapped type More... | |
bool | isNull () const |
returns whether wrapped pointer is null or not More... | |
void | enable () |
enables the wrapped GUI component More... | |
void | disable () |
disables the wrapped GUI component More... | |
Public Member Functions inherited from icl::qt::GUIHandleBase | |
virtual | ~GUIHandleBase () |
virtual destructor More... | |
GUIWidget * | getGUIWidget () |
returns parent GUIWidget pointer More... | |
virtual void | registerCallback (const GUI::Callback &cb, const std::string &events="all") |
registers a callback on this gui widget More... | |
virtual void | registerCallback (const GUI::ComplexCallback &cb, const std::string &events="all") |
registers a complex callback on this gui component More... | |
virtual void | removeCallbacks () |
removes all callbacks from parent GUIWidget component More... | |
virtual void | cb () |
envokes all registered callbacks More... | |
Public Member Functions inherited from icl::qt::ContainerHandle | |
virtual | ~ContainerHandle () |
virtual destructor More... | |
Additional Inherited Members | |
Protected Member Functions inherited from icl::qt::GUIHandle< QTabWidget > | |
GUIHandle () | |
as GUIHandle is just an interface, its base constructor is protected More... | |
GUIHandle (QTabWidget *t, GUIWidget *w) | |
as GUIHandle is just an interface, its base constructor is protected More... | |
Protected Member Functions inherited from icl::qt::GUIHandleBase | |
GUIHandleBase (GUIWidget *w=0) | |
create a new GUIHandleBase More... | |
Protected Member Functions inherited from icl::qt::ContainerHandle | |
ContainerHandle () | |
must be subclassed More... | |
A Handle for TabWidget container GUI components.
|
inline |
create an empty handle
|
inline |
create a difined handle
|
inlinevirtual |
adds an external compnent to the tab widget
Reimplemented from icl::qt::ContainerHandle.
|
inline |
returns the currently selected index
|
inlinevirtual |
inserts a widget at givel location
Reimplemented from icl::qt::ContainerHandle.
|
inline |
returns the number of tabs of this tab-widget