#include <widget.hh>
Inherited by ButtonBar, ButtonBox, DropBox, FileBrowser, GLWin, MessageWidget, PanelBar, PanelManager, PanelWidgetContainer, PythonShell, SceneWin, SequenceViewer, and ToolOptionsWin.
Detailed Description
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.
Constructor & Destructor Documentation
Widget |
( |
QWidget * |
widget, |
|
|
QWidget * |
parent = NULL |
|
) |
| |
Member Function Documentation
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, GLWin, PanelManager, MessageWidget, FileBrowser, ToolOptionsWin, SplitterPanelBar, ButtonBar, ButtonBox, PythonShell, and DropBox.
virtual bool Save |
( |
const QString & |
prefix | ) |
|
|
pure virtual |
Implemented in SequenceViewer, TabbedPanelBar, PanelBar, GLWin, SceneWin, PanelManager, MessageWidget, 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: