11 #include <QtWidgets/QWidget>
21 class DtBackupInterface;
39 virtual void setPersistentStateName(
const QString& name);
43 virtual void queryImportFilePath(
DtDe& de,
const std::string& importType,
44 const std::string& path,
const std::string& fileFilter);
48 virtual void queryMergeFilePath(
DtDe& de,
const std::string& importType,
49 const std::string& path,
const std::string& fileFilter);
53 virtual void queryExportFilePath(
DtDe& de,
const std::string& importType,
54 const std::string& path,
const std::string& fileFilter);
58 virtual std::string queryExportFilePathString(
DtDe& de,
const std::string& importType,
59 const std::string& path,
const std::string& fileFilter);
63 virtual void queryExportHierFilePath(
DtDe& de,
const std::string& importType,
64 const std::string& path,
const std::string& fileFilter);
67 virtual void queryExportAllFilePaths(
DtDe& de,
const std::string& importType,
68 const std::string& path,
const std::string& fileFilter);
72 virtual void queryExportLeafFilePath(
DtDe& de,
const std::string& importType,
73 const std::string& path,
const std::string& fileFilter);
76 virtual void setSaveButtonShown(
bool shown);
79 virtual void setSeparatorShown(
bool shown);
84 virtual void setMergeShown(
bool shown);
88 virtual void setExportShown(
bool);
92 virtual void setImportShown(
bool);
96 virtual void setExportEnabled(
bool);
101 virtual void setMergeEnabled(
bool);
105 virtual void setImportEnabled(
bool);
109 virtual void setExportSelectedEnabled(
bool);
113 virtual void setBackupRestoreEnabled(
bool shown);
117 virtual void setFactoryRestoreEnabled(
bool shown);
121 virtual void setSaveDefaultsEnabled(
bool b);
131 virtual void setBackup(
DtBackupInterface* backup,
bool showFactoryButton)
override;
134 virtual void disableAllButtons(
bool);
137 virtual void activateSaveDefaults();
142 virtual int activateRememberToExport(
bool& dontShowAagin);
146 virtual void on_myImportButton_clicked();
147 virtual void on_myExportButton_clicked();
148 virtual void on_myMergeButton_clicked();
149 virtual void on_myExportSelectedButton_clicked();
150 virtual void on_mySaveButton_clicked();
151 virtual void on_mySaveAllButton_clicked();
153 virtual void on_myRestoreButton_clicked();
154 virtual void on_myRestoreFactoryButton_clicked();
164 virtual void rememberToExportDialog();
167 std::string labelNameToExportDialogDisplayName(
const std::string& name);
175 virtual QString willAlsoRestore(
int)
const;
#define DT_DLL_VRVCOREQT
Definition: vrvCoreQt.h:20
Abstract interface for controlling persistence of state in a dialog.
Definition: DtPersistenceControlsInterface.h:20
Interface to a widget that displays a persistence GUI in some way.
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:72
The backup interface, is used by components to control backups of a state.
Definition: DtBackupInterface.h:19