This creator class is responsible for instantiating DtVreManagerWidget objects for the application. It implements the DtPageCreator interface to allow the manager to be added to the application's page system.
#include <vreManagerWidget.h>
◆ DtVreManagerWidgetCreator()
| makVre::DtVreManagerWidgetCreator::DtVreManagerWidgetCreator |
( |
makVrv::DtDe & | de, |
|
|
const QString & | startupAssignmentFile = QString() ) |
Constructor.
- Parameters
-
| de | The distributed environment reference |
| startupAssignmentFile | Optional path to an assignment file to load automatically the first time the Manager Panel becomes visible. Pass an empty QString (the default) to disable automatic loading. |
Initializes a new creator for VREngage manager widgets.
References de().
◆ ~DtVreManagerWidgetCreator()
| virtual makVre::DtVreManagerWidgetCreator::~DtVreManagerWidgetCreator |
( |
| ) |
|
|
overridevirtual |
Virtual destructor.
Allows for proper cleanup of derived classes.
◆ pageClassName()
| virtual std::string makVre::DtVreManagerWidgetCreator::pageClassName |
( |
| ) |
const |
|
overridevirtual |
Gets the page class name.
- Returns
- The unique class name string
Returns the unique identifier for the page class this creator instantiates. This name should be unique across all pages. This is not the human-readable title of the page. When replacing a page, this class name should remain the same.
◆ create()
| virtual makVrv::DtPage * makVre::DtVreManagerWidgetCreator::create |
( |
QWidget * | parent = 0, |
|
|
Qt::WindowFlags | f = 0 ) |
|
overridevirtual |
Creates a new page instance.
- Parameters
-
| parent | The parent widget |
| f | Window flags to apply to the widget |
- Returns
- Pointer to the newly created page
Creates a new instance of the DtVreManagerWidget class.
◆ myStartupAssignmentFile
| QString makVre::DtVreManagerWidgetCreator::myStartupAssignmentFile |
|
protected |
Optional path to an assignment file to load on first activation.
The documentation for this class was generated from the following file: