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 std::string queryExportFilePathString(
DtDe& de,
const std::string& importType,
44 const std::string& path,
const std::string& fileFilter) = 0;
48 virtual void queryExportHierFilePath(
DtDe& de,
const std::string& importType,
49 const std::string& path,
const std::string& fileFilter) = 0;
53 virtual void queryExportAllFilePaths(
DtDe& de,
const std::string& importType,
54 const std::string& path,
const std::string& fileFilter) = 0;
58 virtual void queryExportLeafFilePath(
DtDe& de,
const std::string& importType,
59 const std::string& path,
const std::string& fileFilter) = 0;
62 virtual void setSaveButtonShown(
bool) = 0;
65 virtual void setSeparatorShown(
bool) = 0;
70 virtual void setMergeShown(
bool) = 0;
74 virtual void setExportShown(
bool) = 0;
78 virtual void setImportShown(
bool) = 0;
81 virtual void setExportEnabled(
bool) = 0;
86 virtual void setMergeEnabled(
bool) = 0;
91 virtual void setSaveDefaultsEnabled(
bool) = 0;
95 virtual void setImportEnabled(
bool) = 0;
99 virtual void setExportSelectedEnabled(
bool) = 0;
103 virtual void setBackupRestoreEnabled(
bool) = 0;
107 virtual void setFactoryRestoreEnabled(
bool) = 0;
118 virtual void disableAllButtons(
bool) = 0;
121 virtual void activateSaveDefaults() = 0;
126 virtual int activateRememberToExport(
bool& dontShowAgain);
131 virtual bool showImportLeavesFirstBox();
boost::signalslib::signal< void()> signal_reload
Reloads all hier and leaf files in editor.
Definition: DtPersistenceControlsInterface.h:180
boost::signalslib::signal< void()> signal_defaultsRestored
Signal emitted when the defaults have been restored via the settings backup object.
Definition: DtPersistenceControlsInterface.h:150
boost::signalslib::signal< void(const std::string &)> signal_importFilenameChosen
Signal emitted when the user has chosen a filename to import from.
Definition: DtPersistenceControlsInterface.h:194
boost::signalslib::signal< void()> signal_exportSelectedLeaves
Signal emitted when the user wants to export selected element definition leaves to a file...
Definition: DtPersistenceControlsInterface.h:188
boost::signalslib::signal< void()> signal_factoryDefaultsRestored
Signal emitted when factory has been restored via the settings backup object.
Definition: DtPersistenceControlsInterface.h:158
boost::signalslib::signal< void(const std::string &)> signal_mergeFilenameChosen
Signal emitted when the user has chosen a filename to merge from.
Definition: DtPersistenceControlsInterface.h:197
boost::signalslib::signal< void()> signal_export
Signal emitted when the user wants to export to a file.
Definition: DtPersistenceControlsInterface.h:162
boost::signalslib::signal< void()> signal_merge
Signal emitted when the user wants to merge.
Definition: DtPersistenceControlsInterface.h:191
boost::signalslib::signal< void()> signal_factoryDefaultsAboutToBeRestored
Signal emitted when factory is about to be restored via the settings backup object.
Definition: DtPersistenceControlsInterface.h:154
boost::signalslib::signal< void(const std::string &)> signal_exportFilenameChosen
Signal emitted when the user has chosen a filename to export to.
Definition: DtPersistenceControlsInterface.h:200
#define DT_DLL_VRVCOREQT
Definition: vrvCoreQt.h:20
Contains DLL export macros.
Abstract interface for controlling persistence of state in a dialog.
Definition: DtPersistenceControlsInterface.h:20
boost::signalslib::signal< void()> signal_exportLeaves
Signal emitted when the user wants to export element definition leaves to a file. ...
Definition: DtPersistenceControlsInterface.h:184
boost::signalslib::signal< void()> signal_exportHier
Signal emitted when the user wants to export an element definition hierarchy to a file...
Definition: DtPersistenceControlsInterface.h:173
boost::signalslib::signal< void()> signal_import
Signal emitted when the user wants to import.
Definition: DtPersistenceControlsInterface.h:165
boost::signalslib::signal< void()> signal_restoreFactoryDefaults
Signal emitted when the user wants to load the factory settings file.
Definition: DtPersistenceControlsInterface.h:142
boost::signalslib::signal< void()> signal_exportSelected
Signal emitted when the user wants to export selected item(s) to a file.
Definition: DtPersistenceControlsInterface.h:169
boost::signalslib::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:204
boost::signalslib::signal< void()> signal_saveDefaults
Signal emitted when the user wants to save to a default file.
Definition: DtPersistenceControlsInterface.h:135
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:76
boost::signalslib::signal< void()> signal_saveAll
Signal emitted when the user wants to export all item(s)
Definition: DtPersistenceControlsInterface.h:177
boost::signalslib::signal< void(const std::string &)> signal_exportAllFilenamesChosen
Signal emitted when the user has chosen a filename to export.
Definition: DtPersistenceControlsInterface.h:208
boost::signalslib::signal< void()> signal_restoreDefaults
Signal emitted when the user wants to load the default file.
Definition: DtPersistenceControlsInterface.h:138
The backup interface, is used by components to control backups of a state.
Definition: DtBackupInterface.h:19
boost::signalslib::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:212
boost::signalslib::signal< void()> signal_defaultsAboutToBeRestored
Signal emitted right before the defaults are about to be restored to the settings backup object...
Definition: DtPersistenceControlsInterface.h:146