![]() |
VR-Forces 5.0.2 Developer's Guide
|
GUI to create, remove, and modify sensor configurations.
Uses widgets registered with the DtSensorConfigurationWidgetFactory to configure the sensors depending on their sensor module.

Public Member Functions | |
| DtSensorConfigurationPage (DtDe &de, QWidget *parent, Qt::WindowFlags f=0) | |
| virtual | ~DtSensorConfigurationPage () |
| virtual QIcon | icon () |
| virtual DtQIconConfigurations | qIconConfigurations () const |
| virtual QString | title () |
| virtual const std::string & | pageClassName () const |
| virtual void | selectWidget (const std::string &moduleNameStr, DtSensor *sensor) |
| void | setupGui () |
| virtual void | setSensors (DtSensorManager::SensorVec &sensors) |
| virtual void | activate () |
| virtual void | deactivate () |
| virtual void | onCurrentInstanceChanged (QString definition) |
| virtual void | onCurrentInstanceChanged (int) |
| virtual void | setSelectedSensor (DtSensor *sensor) |
| virtual void | clearWidget () |
| virtual void | onRenameInstanceRequested () |
| virtual void | onNewInstanceRequested () |
| virtual void | addSensor (const std::string &sensorName) |
| virtual void | onDeleteInstanceRequested () |
| virtual void | setSensorModules (DtSensorManager::SensorModuleVec &modules) |
| virtual void | renameInstance (const std::string &oldName, const std::string &newName) |
| void | on_factoryDefaultsRestored () |
| void | on_defaultsRestored () |
| void | on_import () |
| void | on_export () |
| void | on_importFilePathChosen (const std::string &filePath) |
| void | on_exportFilePathChosen (const std::string &filePath) |
Public Member Functions inherited from makVrv::DtSelectedInstanceDialogPage | |
| DtSelectedInstanceDialogPage (DtDe &de, QWidget *parent, Qt::WindowFlags f=Qt::Widget) | |
| virtual | ~DtSelectedInstanceDialogPage () |
| virtual void | addInstance (const std::string &) |
| virtual void | removeInstance (const std::string &) |
| virtual QString | currentInstance () |
Public Member Functions inherited from makVrv::DtPage | |
| DtPage (DtDe &de, QWidget *parent=0, Qt::WindowFlags f=0) | |
| virtual | ~DtPage () |
| virtual PageAction | pageAction () |
| virtual void | setPageAction (PageAction action) |
| virtual void | setActionFlag (int flag) |
| virtual int | actionFlag () |
| virtual void | setParentDialog (QWidget *paraentDialog) |
| virtual QWidget * | parentDialog () |
| virtual bool | shouldAskBeforeAction (PageAction action) |
| virtual void | askBeforeAction () |
| virtual void | executeAfterAsk (bool revert) |
| virtual void | resumeLastAction () |
| virtual void | onCloseEvent () |
| virtual void | onSwitchEvent () |
Public Member Functions inherited from makVrv::DtSensorConfigurationPageInterface | |
| virtual | ~DtSensorConfigurationPageInterface () |
Static Public Member Functions | |
| static const std::string & | thePageClassName () |
Protected Slots | |
| void | slot_moduleChanged (int index) |
Protected Slots inherited from makVrv::DtSelectedInstanceDialogPage | |
Protected Attributes | |
| DtMasterSensorController * | myController |
| DtPersistenceToolbarWidget * | myPersistenceWidget |
| DtSignalConnectionManager | mySignals |
| QComboBox * | mySensorModuleCombo |
| QWidget * | myCurrentWidget |
| DtSensorConfigurationPageLogic * | myLogic |
Protected Attributes inherited from makVrv::DtSelectedInstanceDialogPage | |
| DtSelectInstanceWidget * | mySelectInstanceWidget |
Protected Attributes inherited from makVrv::DtPage | |
| DtDe & | myDe |
| QWidget * | myParentDialog |
| PageAction | myCurrentPageAction |
| int | myActionFlag |
Additional Inherited Members | |
Public Types inherited from makVrv::DtPage | |
| enum | PageAction { None = 0x0000, Switching = 0x0001, Closing = 0x0010 } |
Public Attributes inherited from makVrv::DtSensorConfigurationPageInterface | |
| boost::signalslib::signal< void()> | signal_restoreSettingsRequested |
| boost::signalslib::signal< void()> | signal_restoreFactorySettingsRequested |
| boost::signalslib::signal < void(const std::string &)> | signal_importSettingsRequested |
| boost::signalslib::signal < void(const std::string &)> | signal_exportSettingsRequested |
| boost::signalslib::signal < void(const std::string &)> | signal_sensorSelected |
| boost::signalslib::signal< void()> | signal_newSensorRequested |
| boost::signalslib::signal < void(const std::string &oldName, const std::string &newName)> | signal_renameSensorRequested |
| boost::signalslib::signal < void(const std::string &, const std::string &)> | signal_sensorModuleSelected |
Protected Member Functions inherited from makVrv::DtSelectedInstanceDialogPage | |
| void | setupGui () |
| makVrv::DtSensorConfigurationPage::DtSensorConfigurationPage | ( | DtDe & | de, |
| QWidget * | parent, | ||
| Qt::WindowFlags | f = 0 |
||
| ) |
CTOR.
|
virtual |
DTOR.
|
virtual |
Get the icon of the page.
Implements makVrv::DtPage.
|
virtual |
Get the icon configurations for the page. This is used to style the page's icon based on application settings.
Implements makVrv::DtPage.
|
virtual |
Get the title of the page.
Implements makVrv::DtPage.
|
virtual |
Get the class name of the page.
Implements makVrv::DtPage.
|
static |
Get the class name of the page.
|
virtual |
Select and start using the appropriate widget for the specified sensor and sensor module.
Implements makVrv::DtSensorConfigurationPageInterface.
| void makVrv::DtSensorConfigurationPage::setupGui | ( | ) |
Setup the gui.
|
virtual |
Set the list of available sensors in the GUI.
Implements makVrv::DtSensorConfigurationPageInterface.
| void makVrv::DtSensorConfigurationPage::on_factoryDefaultsRestored | ( | ) |
| void makVrv::DtSensorConfigurationPage::on_defaultsRestored | ( | ) |
| void makVrv::DtSensorConfigurationPage::on_import | ( | ) |
| void makVrv::DtSensorConfigurationPage::on_export | ( | ) |
| void makVrv::DtSensorConfigurationPage::on_importFilePathChosen | ( | const std::string & | filePath | ) |
| void makVrv::DtSensorConfigurationPage::on_exportFilePathChosen | ( | const std::string & | filePath | ) |
|
virtual |
Called when the page is displayed.
Reimplemented from makVrv::DtSelectedInstanceDialogPage.
|
virtual |
Called when the page is hidden.
Reimplemented from makVrv::DtSelectedInstanceDialogPage.
|
virtual |
Called when the current sensor is changed.
Reimplemented from makVrv::DtSelectedInstanceDialogPage.
|
virtual |
Called when the current sensor is changed.
Reimplemented from makVrv::DtSelectedInstanceDialogPage.
|
virtual |
Call to change the current sensor this page is editing.
Implements makVrv::DtSensorConfigurationPageInterface.
|
virtual |
Remove the current sensor configuration widget from the GUI.
|
virtual |
Called when the GUI asks to rename the current sensor.
Reimplemented from makVrv::DtSelectedInstanceDialogPage.
|
virtual |
Called when the GUI asks for a new sensor.
Reimplemented from makVrv::DtSelectedInstanceDialogPage.
|
virtual |
Add a sensor to the GUI.
Implements makVrv::DtSensorConfigurationPageInterface.
|
virtual |
Called when the GUI asks to delete the current sensor.
Reimplemented from makVrv::DtSelectedInstanceDialogPage.
|
virtual |
Set the list of sensor modules available in the GUI.
Implements makVrv::DtSensorConfigurationPageInterface.
|
virtual |
Rename a sensor instance in the GUI.
Implements makVrv::DtSensorConfigurationPageInterface.
|
protectedslot |
Called when the selected sensor module is changed.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |