![]() |
VR-Forces 4.1 Class Documentation
|
GUI to create, remove, and modify sensor configurations. More...

Public Member Functions | |
| DtSensorConfigurationPage (DtDe &de, QWidget *parent, Qt::WindowFlags f=0) | |
| CTOR. | |
| virtual | ~DtSensorConfigurationPage () |
| DTOR. | |
| virtual QIcon | icon () |
| Get the icon of the page. | |
| virtual QString | title () |
| Get the title of the page. | |
| virtual const std::string & | pageClassName () const |
| Get the class name of the page. | |
| virtual void | selectWidget (std::string moduleNameStr, DtSensor *sensor) |
| Select and start using the appropriate widget for the specified sensor and sensor module. | |
| void | setupGui () |
| Setup the gui. | |
| virtual void | setSensors (DtSensorManager::SensorVec &sensors) |
| Set the list of available sensors in the GUI. | |
| virtual void | activate () |
| Called when the page is displayed. | |
| virtual void | deactivate () |
| Called when the page is hidden. | |
| virtual void | onCurrentInstanceChanged (QString definition) |
| Called when the current sensor is changed. | |
| virtual void | onCurrentInstanceChanged (int) |
| Called when the current sensor is changed. | |
| virtual void | setSelectedSensor (DtSensor *sensor) |
| Call to change the current sensor this page is editing. | |
| virtual void | clearWidget () |
| Remove the current sensor configuration widget from the GUI. | |
| virtual void | onRenameInstanceRequested () |
| Called when the GUI asks to rename the current sensor. | |
| virtual void | onNewInstanceRequested () |
| Called when the GUI asks for a new sensor. | |
| virtual void | addSensor (const std::string &sensorName) |
| Add a sensor to the GUI. | |
| virtual void | onDeleteInstanceRequested () |
| Called when the GUI asks to delete the current sensor. | |
| virtual void | setSensorModules (DtSensorManager::SensorModuleVec &modules) |
| Set the list of sensor modules available in the GUI. | |
| virtual void | renameInstance (const std::string &oldName, const std::string &newName) |
| Rename a sensor instance in the GUI. | |
| 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) | |
| CTOR. | |
| virtual | ~DtSelectedInstanceDialogPage () |
| DTOR. | |
| virtual void | addInstance (const std::string &) |
| Add an instance. | |
| virtual void | removeInstance (const std::string &) |
| Remove an instance. | |
| virtual QString | currentInstance () |
Public Member Functions inherited from makVrv::DtPage | |
| DtPage (DtDe &de, QWidget *parent=0, Qt::WindowFlags f=0) | |
| CTOR for page. | |
| virtual | ~DtPage () |
| DTOR for page. | |
Public Member Functions inherited from makVrv::DtSensorConfigurationPageInterface | |
| virtual | ~DtSensorConfigurationPageInterface () |
| DTOR. | |
Static Public Member Functions | |
| static const std::string & | thePageClassName () |
| Get the class name of the page. | |
Protected Slots | |
| void | slot_moduleChanged (int index) |
| Called when the selected sensor module is changed. | |
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 | |
| DtDe & | myDe |
| DtSelectInstanceWidget * | mySelectInstanceWidget |
Protected Attributes inherited from makVrv::DtPage | |
| DtDe & | myDe |
Additional Inherited Members | |
Public Attributes inherited from makVrv::DtSensorConfigurationPageInterface | |
| boost::signal< void()> | signal_restoreSettingsRequested |
| Emitted when the GUI requests that the current sensor settings be restored from startup defaults. | |
| boost::signal< void()> | signal_restoreFactorySettingsRequested |
| Emitted when the GUI requests that the current sensor settings be restored from factory defaults. | |
| boost::signal< void(const std::string &)> | signal_importSettingsRequested |
| Emitted when the GUI requests import from a file into the current sensor settings. | |
| boost::signal< void(const std::string &)> | signal_exportSettingsRequested |
| Emitted when the GUI requests export of the current sensor settings. | |
| boost::signal< void(const std::string &)> | signal_sensorSelected |
| Emitted when the current sensor changes in the GUI. | |
| boost::signal< void()> | signal_newSensorRequested |
| Emitted when the GUI requests the creation of a new sensor. | |
| boost::signal< void(const std::string &oldName, const std::string &newName)> | signal_renameSensorRequested |
| Emitted when the GUI requests that a sensor be renamed. | |
| boost::signal< void(const std::string &, const std::string &)> | signal_sensorModuleSelected |
| Emitted when the sensor module for a sensor is changed. | |
GUI to create, remove, and modify sensor configurations.
Uses widgets registered with the DtSensorConfigurationWidgetFactory to configure the sensors depending on their sensor module.
| 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 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.
Reimplemented from makVrv::DtSelectedInstanceDialogPage.
|
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 |