#include <widget.hh>
Inherited by ButtonBar, ButtonBox, DropBox, FileBrowser, GLWin, PanelBar, PanelManager, PanelWidgetContainer, PythonShell, RemoteLoader, SceneWin, SequenceViewer, and ToolOptionsWin.
Public Member Functions | |
| Widget (QWidget *widget, QWidget *parent=NULL) | |
| void | SetDestroyOnClose (bool flag) |
| bool | DestroyOnClose () const |
| virtual ActionList | GetActions () |
| QWidget * | GetInternalWidget () |
| void | SetInternalWidget (QWidget *widget) |
| virtual bool | Restore (const QString &prefix)=0 |
| virtual bool | Save (const QString &prefix)=0 |
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
| virtual ActionList GetActions | ( | ) | [virtual] |
| QWidget* GetInternalWidget | ( | ) |
| virtual bool Restore | ( | const QString & | prefix | ) | [pure virtual] |
Implemented in FileBrowser, GLWin, ButtonBar, ButtonBox, DropBox, PanelBar, PanelManager, SplitterPanelBar, TabbedPanelBar, PythonShell, RemoteLoader, SceneWin, SequenceViewer, and ToolOptionsWin.
| virtual bool Save | ( | const QString & | prefix | ) | [pure virtual] |
Implemented in FileBrowser, GLWin, ButtonBar, ButtonBox, DropBox, PanelBar, PanelManager, SplitterPanelBar, TabbedPanelBar, PythonShell, RemoteLoader, SceneWin, SequenceViewer, and ToolOptionsWin.
| void SetDestroyOnClose | ( | bool | flag | ) |
set whether the widget should be destroyed when closed
| void SetInternalWidget | ( | QWidget * | widget | ) |
1.5.8