Base class for all tools; a tool is some collection of user interface elements that provides additional visualization or computation capabilities.
More...
#include <iATool.h>
|
| | iATool (iAMainWindow *mainWnd, iAMdiChild *child) |
| | Create the user interface elements of this tool.
|
| |
| virtual | ~iATool () |
| | virtual destructor, to enable proper destruction in derived classes and to avoid warnings
|
| |
| virtual void | loadState (QSettings &projectFile, QString const &fileName) |
| | Load the state of the tool from the given settings.
|
| |
| virtual void | saveState (QSettings &projectFile, QString const &fileName) |
| | Save the current state of the tool, so that the current window can be restored from the stored data via the loadState method.
|
| |
|
| iAMdiChild * | m_child |
| | indicate whether this tool should be loaded only once the rendering of datasets has been fully initialized (true) or if it can be loaded once the child window is created (false)
|
| |
| iAMainWindow * | m_mainWindow |
| |
Base class for all tools; a tool is some collection of user interface elements that provides additional visualization or computation capabilities.
Typical ways how iATool is used/created:
- a new iATool-derived class is created
- if state is available, the loadState method is called (
- See also
- loadState)
◆ iATool()
Create the user interface elements of this tool.
Note: Since this constructor is also called before loading a previous state via loadState, it should set up everything that is required for the tool, but should NOT perform any user interaction (e.g., asking the user for parameters or names of files to load)
◆ ~iATool()
virtual destructor, to enable proper destruction in derived classes and to avoid warnings
◆ loadState()
| void iATool::loadState |
( |
QSettings & |
projectFile, |
|
|
QString const & |
fileName |
|
) |
| |
|
virtual |
Load the state of the tool from the given settings.
◆ saveState()
| void iATool::saveState |
( |
QSettings & |
projectFile, |
|
|
QString const & |
fileName |
|
) |
| |
|
virtual |
Save the current state of the tool, so that the current window can be restored from the stored data via the loadState method.
◆ m_child
indicate whether this tool should be loaded only once the rendering of datasets has been fully initialized (true) or if it can be loaded once the child window is created (false)
◆ m_mainWindow
The documentation for this class was generated from the following files: