#include <ustackwidget.hpp>
Inheritance diagram for ufo::UStackWidget:
Public Member Functions | |
UStackWidget () | |
UStackWidget (int selectionMode) | |
void | setSelectedIndex (int index) |
int | getSelectedIndex () const |
Protected Member Functions | |
virtual void | addImpl (UWidget *w, UObject *constraints, int index) |
virtual bool | removeImpl (int index) |
virtual UDimension | getContentsSize (const UDimension &maxSize) const |
There are two types of stacks. If exclusive mode is selected, only the current selected widget is shown. Otherwise you get the whole stack shown.
|
Creates a stack widget which exclusively shows the selected widget. |
|
Creates a stack widget with the given selection mode. FIXME: what is a selection mode, define selection model etc. |
|
Adds child widgets to this widget. This function should be overridden instead of other add functions
Reimplemented from ufo::UWidget.
|
|
Removes the widget at the given index.
Reimplemented from ufo::UWidget.
|