#include <panel_widget_container.hh>
Inherits Widget.
Inherited by SplitterPanelBar, and TabbedPanelBar.
A PanelWidgetContainer can display various widgets A PanelWidgetContainer is a abstract class which is used by the PanelBar class as view mode.
Definition at line 37 of file panel_widget_container.hh.
virtual QString GetName |
( |
| ) |
|
|
pure virtual |
Get readable name This method must return a QString which identifies this WidgetContainer. This String will be visible in the gui to select the view mode of a PanelBar .
Implemented in TabbedPanelBar, and SplitterPanelBar.
virtual void ShowWidget |
( |
Widget * |
widget, |
|
|
int |
pos, |
|
|
bool |
show = true |
|
) |
| |
|
pure virtual |
display a widget at the given position Display the given widget at the index position.
- Parameters
-
widget | widget to be moved to the position. |
pos | index of the given widget. If the index is out of range add the widget will be added to the front or at the end. |
show | if show if false hide the widget even the position is not correct. |
virtual void StartDrag |
( |
| ) |
|
|
virtual |
virtual void WidgetMoved |
( |
Widget * |
widget, |
|
|
int |
index |
|
) |
| |
|
pure virtual |
move widget to given position Move the given widget to the index position.
- Parameters
-
widget | widget to be moved to the position. |
index | new index of the given widget. If the index is out of range add the widget will be added to the front or at the end. |
Implemented in TabbedPanelBar, and SplitterPanelBar.
The documentation for this class was generated from the following file: