#include <widget.hh>
Inherits QWidget.
Inherited by ButtonBar, ButtonBox, DropBox, FileBrowser, GLWin, MessageWidget, PanelBar, PanelManager, PanelWidgetContainer, PythonShell, SceneWin, SequenceViewer, and ToolOptionsWin.
Base class for widgets.
The base class defines an interface for restoring and saving the state of the internal widget.
Definition at line 40 of file widget.hh.
Widget |
( |
QWidget * |
widget, |
|
|
QWidget * |
parent = NULL |
|
) |
| |
bool DestroyOnClose |
( |
| ) |
const |
whether the widget should be destroyed upon receiving a close event
QWidget* GetInternalWidget |
( |
| ) |
|
const QString& GetUniqueID |
( |
| ) |
const |
|
inline |
virtual bool Restore |
( |
const QString & |
prefix | ) |
|
|
pure virtual |
Implemented in SequenceViewer, TabbedPanelBar, PanelBar, SceneWin, PanelManager, MessageWidget, FileBrowser, GLWin, ToolOptionsWin, SplitterPanelBar, ButtonBar, ButtonBox, PythonShell, and DropBox.
virtual bool Save |
( |
const QString & |
prefix | ) |
|
|
pure virtual |
Implemented in SequenceViewer, TabbedPanelBar, PanelBar, SceneWin, PanelManager, MessageWidget, GLWin, FileBrowser, ToolOptionsWin, SplitterPanelBar, ButtonBar, ButtonBox, PythonShell, and DropBox.
void SetDestroyOnClose |
( |
bool |
flag | ) |
|
set whether the widget should be destroyed when closed
void SetInternalWidget |
( |
QWidget * |
widget | ) |
|
void SetUniqueID |
( |
const QString & |
id | ) |
|
|
inline |
The documentation for this class was generated from the following file:
- build-2.7-doc/stage/include/ost/gui/widget.hh