![]() |
VR-Forces 4.1 Class Documentation
|
Abstract interface for controlling persistence of state in a dialog. More...

Public Member Functions | |
| virtual | ~DtPersistenceControlsInterface () |
| DTOR. | |
| virtual void | queryImportFilePath (DtDe &de, const std::string &importType, const std::string &path, const std::string &fileFilter)=0 |
| Ask for a filename to import from fileFilter is the desired extension with no dot. | |
| virtual void | queryMergeFilePath (DtDe &de, const std::string &importType, const std::string &path, const std::string &fileFilter)=0 |
| Ask for a filename to merge from fileFilter is the desired extension with no dot. | |
| virtual void | queryExportFilePath (DtDe &de, const std::string &importType, const std::string &path, const std::string &fileFilter)=0 |
| Ask for a filename to export to fileFilter is the desired extension with no dot. | |
| virtual void | setSaveButtonShown (bool)=0 |
| Shows/hides save button. Default is hidden. | |
| virtual void | setSeparatorShown (bool)=0 |
| Shows/hides horizontal separator. Default is shown. | |
| virtual void | setMergeShown (bool)=0 |
| If true, shows merge button to allow merging of settings. | |
| virtual void | setExportShown (bool)=0 |
| If true will export selected item(s) to a file. | |
| virtual void | setImportShown (bool)=0 |
| If true will import settings. | |
| virtual void | setExportEnabled (bool)=0 |
| Enable/diable export button. Default is enabled. | |
| virtual void | setMergeEnabled (bool)=0 |
| If true, enabled merge button. | |
| virtual void | setImportEnabled (bool)=0 |
| If true will enable import settings. | |
| virtual void | setExportSelectedEnabled (bool)=0 |
| Sets whether or not export selected is enabled. | |
| virtual void | setBackupRestoreEnabled (bool)=0 |
| Sets whether or not the restore from backup button is enabled. | |
| virtual void | setFactoryRestoreEnabled (bool)=0 |
| Sets whether or not the restore from factory button is enabled. | |
| virtual void | setBackup (DtBackupInterface *)=0 |
| Sets the backup object that will be used to restore from. | |
| virtual void | disableAllButtons (bool)=0 |
| Quick way to disable/enable all buttons. | |
Public Attributes | |
| boost::signal< void()> | signal_saveDefaults |
| Signal emitted when the user wants to save to a default file. | |
| boost::signal< void()> | signal_restoreDefaults |
| Signal emitted when the user wants to load the default file. | |
| boost::signal< void()> | signal_restoreFactoryDefaults |
| Signal emitted when the user wants to load the factory settings file. | |
| boost::signal< void()> | signal_defaultsAboutToBeRestored |
| Signal emitted right before the defaults are about to be restored to the settings backup object. | |
| boost::signal< void()> | signal_defaultsRestored |
| Signal emitted when the defaults have been restored via the settings backup object. | |
| boost::signal< void()> | signal_factoryDefaultsAboutToBeRestored |
| Signal emitted when factory is about to be restored via the settings backup object. | |
| boost::signal< void()> | signal_factoryDefaultsRestored |
| Signal emitted when factory has been restored via the settings backup object. | |
| boost::signal< void()> | signal_export |
| Signal emitted when the user wants to export to a file. | |
| boost::signal< void()> | signal_import |
| Signal emitted when the user wants to import. | |
| boost::signal< void()> | signal_exportSelected |
| Signal emitted when the user wants to export selected item(s) to a file. | |
| boost::signal< void()> | signal_merge |
| Signal emitted when the user wants to merge. | |
| boost::signal< void(const std::string &)> | signal_importFilenameChosen |
| Signal emitted when the user has chosen a filename to import from. | |
| boost::signal< void(const std::string &)> | signal_mergeFilenameChosen |
| Signal emitted when the user has chosen a filename to merge from. | |
| boost::signal< void(const std::string &)> | signal_exportFilenameChosen |
| Signal emitted when the user has chosen a filename to export to. | |
Abstract interface for controlling persistence of state in a dialog.
|
virtual |
DTOR.
|
pure virtual |
Ask for a filename to import from fileFilter is the desired extension with no dot.
Implemented in makVrv::DtPersistenceToolbarWidget.
|
pure virtual |
Ask for a filename to merge from fileFilter is the desired extension with no dot.
Implemented in makVrv::DtPersistenceToolbarWidget.
|
pure virtual |
Ask for a filename to export to fileFilter is the desired extension with no dot.
Implemented in makVrv::DtPersistenceToolbarWidget.
|
pure virtual |
Shows/hides save button. Default is hidden.
Implemented in makVrv::DtPersistenceToolbarWidget.
|
pure virtual |
Shows/hides horizontal separator. Default is shown.
Implemented in makVrv::DtPersistenceToolbarWidget.
|
pure virtual |
If true, shows merge button to allow merging of settings.
Merge will add or replace, not remove items. Default is hidden
Implemented in makVrv::DtPersistenceToolbarWidget.
|
pure virtual |
If true will export selected item(s) to a file.
Default is hidden
Implemented in makVrv::DtPersistenceToolbarWidget.
|
pure virtual |
|
pure virtual |
Enable/diable export button. Default is enabled.
Implemented in makVrv::DtPersistenceToolbarWidget.
|
pure virtual |
If true, enabled merge button.
Merge will add or replace, not remove items. Default is enabled
Implemented in makVrv::DtPersistenceToolbarWidget.
|
pure virtual |
If true will enable import settings.
Default is enabled
Implemented in makVrv::DtPersistenceToolbarWidget.
|
pure virtual |
Sets whether or not export selected is enabled.
Default is false
Implemented in makVrv::DtPersistenceToolbarWidget.
|
pure virtual |
Sets whether or not the restore from backup button is enabled.
Initially disabled
Implemented in makVrv::DtPersistenceToolbarWidget.
|
pure virtual |
Sets whether or not the restore from factory button is enabled.
Initially disabled
Implemented in makVrv::DtPersistenceToolbarWidget.
|
pure virtual |
Sets the backup object that will be used to restore from.
If the object is NULL, and the restore buttons are pressed, the signal to restore factory and defaults will be sent. If the object is not NULL, the object will be restored by the toolbar and the defaults Restored and factoryDefaultsRestored signals will be sent
Implemented in makVrv::DtPersistenceToolbarWidget.
|
pure virtual |
Quick way to disable/enable all buttons.
Implemented in makVrv::DtPersistenceToolbarWidget.
| boost::signal<void ()> makVrv::DtPersistenceControlsInterface::signal_saveDefaults |
Signal emitted when the user wants to save to a default file.
| boost::signal<void ()> makVrv::DtPersistenceControlsInterface::signal_restoreDefaults |
Signal emitted when the user wants to load the default file.
| boost::signal<void ()> makVrv::DtPersistenceControlsInterface::signal_restoreFactoryDefaults |
Signal emitted when the user wants to load the factory settings file.
| boost::signal<void ()> makVrv::DtPersistenceControlsInterface::signal_defaultsAboutToBeRestored |
Signal emitted right before the defaults are about to be restored to the settings backup object.
| boost::signal<void ()> makVrv::DtPersistenceControlsInterface::signal_defaultsRestored |
Signal emitted when the defaults have been restored via the settings backup object.
| boost::signal<void ()> makVrv::DtPersistenceControlsInterface::signal_factoryDefaultsAboutToBeRestored |
Signal emitted when factory is about to be restored via the settings backup object.
| boost::signal<void ()> makVrv::DtPersistenceControlsInterface::signal_factoryDefaultsRestored |
Signal emitted when factory has been restored via the settings backup object.
| boost::signal<void ()> makVrv::DtPersistenceControlsInterface::signal_export |
Signal emitted when the user wants to export to a file.
| boost::signal<void ()> makVrv::DtPersistenceControlsInterface::signal_import |
Signal emitted when the user wants to import.
| boost::signal<void ()> makVrv::DtPersistenceControlsInterface::signal_exportSelected |
Signal emitted when the user wants to export selected item(s) to a file.
| boost::signal<void ()> makVrv::DtPersistenceControlsInterface::signal_merge |
Signal emitted when the user wants to merge.
| boost::signal<void (const std::string&)> makVrv::DtPersistenceControlsInterface::signal_importFilenameChosen |
Signal emitted when the user has chosen a filename to import from.
| boost::signal<void (const std::string&)> makVrv::DtPersistenceControlsInterface::signal_mergeFilenameChosen |
Signal emitted when the user has chosen a filename to merge from.
| boost::signal<void (const std::string&)> makVrv::DtPersistenceControlsInterface::signal_exportFilenameChosen |
Signal emitted when the user has chosen a filename to export to.