|
Classes | |
class | LeadingZeroSpinBox |
class | LifecycleClient |
class | LifecycleServer |
Functions | |
void | clearItem (QTreeWidgetItem *item) |
Clear a tree widget item. More... | |
void | clearLayout (QLayout *layout) |
Clear a layout. More... | |
void | clearSplitter (QSplitter *splitter) |
void | connectLifecycle (LifecycleServer *server, LifecycleClient *client) |
template<class WidgetT > | |
void | replaceWidget (WidgetT *&old, QWidget *neu, QLayout *parentLayout) |
template<class WidgetT > | |
void | replaceWidget (WidgetT *&old, QWidget *neu, QSplitter *&parentLayout) |
QSplitter * | useSplitter (QLayout *layout) |
Let items in layout be children of a splitter. More... | |
void clearItem | ( | QTreeWidgetItem * | item | ) |
Clear a tree widget item.
Take and delete all children of item
.
item | The tree widget item. |
Definition at line 34 of file gui_utils.cpp.
void clearLayout | ( | QLayout * | layout | ) |
Clear a layout.
Recursively take and delete all items in layout
.
layout | The layout. |
Definition at line 12 of file gui_utils.cpp.
void clearSplitter | ( | QSplitter * | splitter | ) |
Definition at line 103 of file gui_utils.cpp.
void connectLifecycle | ( | LifecycleServer * | server, |
LifecycleClient * | client | ||
) |
Definition at line 90 of file lifecycle.cpp.
void replaceWidget | ( | WidgetT *& | old, |
QWidget * | neu, | ||
QLayout * | parentLayout | ||
) |
void armarx::gui::replaceWidget | ( | WidgetT *& | old, |
QWidget * | neu, | ||
QSplitter *& | parentLayout | ||
) |
Definition at line 56 of file gui_utils.h.
QSplitter * useSplitter | ( | QLayout * | layout | ) |
Let items in layout
be children of a splitter.
Items in layout
are moved to a new QSplitter
, which will be the only child of layout
. If layout
is a Q{H,V}BoxLayout, the respective orientation will be adopted.
The | parent layout. |
Definition at line 43 of file gui_utils.cpp.