15 class DtBackupInterface;
28 virtual void queryImportFilePath(
DtDe& de,
const std::string& importType,
29 const std::string& path,
const std::string& fileFilter) = 0;
33 virtual void queryMergeFilePath(
DtDe& de,
const std::string& importType,
34 const std::string& path,
const std::string& fileFilter) = 0;
38 virtual void queryExportFilePath(
DtDe& de,
const std::string& importType,
39 const std::string& path,
const std::string& fileFilter) = 0;
43 virtual void queryExportHierFilePath(
DtDe& de,
const std::string& importType,
44 const std::string& path,
const std::string& fileFilter) = 0;
48 virtual void queryExportAllFilePaths(
DtDe& de,
const std::string& importType,
49 const std::string& path,
const std::string& fileFilter) = 0;
53 virtual void queryExportLeafFilePath(
DtDe& de,
const std::string& importType,
54 const std::string& path,
const std::string& fileFilter) = 0;
57 virtual void setSaveButtonShown(
bool) = 0;
60 virtual void setSeparatorShown(
bool) = 0;
65 virtual void setMergeShown(
bool) = 0;
69 virtual void setExportShown(
bool) = 0;
73 virtual void setImportShown(
bool) = 0;
76 virtual void setExportEnabled(
bool) = 0;
81 virtual void setMergeEnabled(
bool) = 0;
86 virtual void setSaveDefaultsEnabled(
bool) = 0;
90 virtual void setImportEnabled(
bool) = 0;
94 virtual void setExportSelectedEnabled(
bool) = 0;
98 virtual void setBackupRestoreEnabled(
bool) = 0;
102 virtual void setFactoryRestoreEnabled(
bool) = 0;
112 virtual void disableAllButtons(
bool) = 0;
115 virtual void activateSaveDefaults() = 0;
120 virtual int activateRememberToExport(
bool& dontShowAgain);
125 virtual bool showImportLeavesFirstBox();
boost::signal< void()> signal_factoryDefaultsRestored
Signal emitted when factory has been restored via the settings backup object.
Definition: DtPersistenceControlsInterface.h:152
boost::signal< void()> signal_export
Signal emitted when the user wants to export to a file.
Definition: DtPersistenceControlsInterface.h:156
#define DT_DLL_VRVCOREQT
Definition: vrvCoreQt.h:20
boost::signal< void()> signal_saveAll
Signal emitted when the user wants to export all item(s)
Definition: DtPersistenceControlsInterface.h:171
Contains DLL export macros.
boost::signal< void()> signal_exportHier
Signal emitted when the user wants to export an element definition hierarchy to a file...
Definition: DtPersistenceControlsInterface.h:167
boost::signal< void(const std::string &)> signal_exportHierFilenameChosen
Signal emitted when the user has chosen a filename to export the hierarchy element definitions to...
Definition: DtPersistenceControlsInterface.h:195
Abstract interface for controlling persistence of state in a dialog.
Definition: DtPersistenceControlsInterface.h:20
boost::signal< void()> signal_restoreFactoryDefaults
Signal emitted when the user wants to load the factory settings file.
Definition: DtPersistenceControlsInterface.h:136
boost::signal< void(const std::string &)> signal_exportFilenameChosen
Signal emitted when the user has chosen a filename to export to.
Definition: DtPersistenceControlsInterface.h:191
boost::signal< void(const std::string &)> signal_mergeFilenameChosen
Signal emitted when the user has chosen a filename to merge from.
Definition: DtPersistenceControlsInterface.h:188
boost::signal< void()> signal_merge
Signal emitted when the user wants to merge.
Definition: DtPersistenceControlsInterface.h:182
boost::signal< void(const std::string &)> signal_exportLeafFilenameChosen
Signal emitted when the user has chosen a filename to export the leaf element definitions to...
Definition: DtPersistenceControlsInterface.h:203
boost::signal< void()> signal_exportSelectedLeaves
Signal emitted when the user wants to export selected element definition leaves to a file...
Definition: DtPersistenceControlsInterface.h:179
boost::signal< void(const std::string &)> signal_importFilenameChosen
Signal emitted when the user has chosen a filename to import from.
Definition: DtPersistenceControlsInterface.h:185
boost::signal< void()> signal_import
Signal emitted when the user wants to import.
Definition: DtPersistenceControlsInterface.h:159
boost::signal< void()> signal_saveDefaults
Signal emitted when the user wants to save to a default file.
Definition: DtPersistenceControlsInterface.h:129
boost::signal< void()> signal_defaultsRestored
Signal emitted when the defaults have been restored via the settings backup object.
Definition: DtPersistenceControlsInterface.h:144
boost::signal< void()> signal_factoryDefaultsAboutToBeRestored
Signal emitted when factory is about to be restored via the settings backup object.
Definition: DtPersistenceControlsInterface.h:148
boost::signal< void()> signal_restoreDefaults
Signal emitted when the user wants to load the default file.
Definition: DtPersistenceControlsInterface.h:132
boost::signal< void()> signal_exportSelected
Signal emitted when the user wants to export selected item(s) to a file.
Definition: DtPersistenceControlsInterface.h:163
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
boost::signal< void(const std::string &)> signal_exportAllFilenamesChosen
Signal emitted when the user has chosen a filename to export.
Definition: DtPersistenceControlsInterface.h:199
boost::signal< void()> signal_exportLeaves
Signal emitted when the user wants to export element definition leaves to a file. ...
Definition: DtPersistenceControlsInterface.h:175
The backup interface, is used by components to control backups of a state.
Definition: DtBackupInterface.h:22
boost::signal< void()> signal_defaultsAboutToBeRestored
Signal emitted right before the defaults are about to be restored to the settings backup object...
Definition: DtPersistenceControlsInterface.h:140