#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()
Widget |
( |
QWidget * |
widget, |
|
|
QWidget * |
parent = NULL |
|
) |
| |
◆ DestroyOnClose()
bool DestroyOnClose |
( |
| ) |
const |
whether the widget should be destroyed upon receiving a close event
◆ GetActions()
◆ GetInternalWidget()
QWidget* GetInternalWidget |
( |
| ) |
|
◆ GetUniqueID()
const QString& GetUniqueID |
( |
| ) |
const |
|
inline |
◆ Restore()
virtual bool Restore |
( |
const QString & |
prefix | ) |
|
|
pure virtual |
Implemented in ToolOptionsWin, SceneWin, PythonShell, TabbedPanelBar, SplitterPanelBar, PanelManager, PanelBar, DropBox, ButtonBox, ButtonBar, MessageWidget, GLWin, FileBrowser, and SequenceViewer.
◆ Save()
virtual bool Save |
( |
const QString & |
prefix | ) |
|
|
pure virtual |
Implemented in ToolOptionsWin, SceneWin, PythonShell, TabbedPanelBar, SplitterPanelBar, PanelManager, PanelBar, DropBox, ButtonBox, ButtonBar, MessageWidget, GLWin, FileBrowser, and SequenceViewer.
◆ SetDestroyOnClose()
void SetDestroyOnClose |
( |
bool |
flag | ) |
|
set whether the widget should be destroyed when closed
◆ SetInternalWidget()
void SetInternalWidget |
( |
QWidget * |
widget | ) |
|
◆ SetUniqueID()
void SetUniqueID |
( |
const QString & |
id | ) |
|
|
inline |
The documentation for this class was generated from the following file:
- build-2.9.0-doc/stage/include/ost/gui/widget.hh