VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtPersistenceControlsInterface.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2008 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtPersistenceToolbarInterface.h,v $ $Revision: 1.10 $ $State: Exp $
7 ******************************************************************************/
8 
12 
13 #pragma once
14 #include <vrvCoreQt/vrvCoreQt.h>
15 
16 namespace makVrv
17 {
18  class DtBackupInterface;
19 
24  {
25  public:
28 
31  virtual void queryImportFilePath(DtDe& de, const std::string& importType,
32  const std::string& path, const std::string& fileFilter) = 0;
33 
36  virtual void queryMergeFilePath(DtDe& de, const std::string& importType,
37  const std::string& path, const std::string& fileFilter) = 0;
38 
41  virtual void queryExportFilePath(DtDe& de, const std::string& importType,
42  const std::string& path, const std::string& fileFilter) = 0;
43 
46  virtual void queryExportHierFilePath(DtDe& de, const std::string& importType,
47  const std::string& path, const std::string& fileFilter) = 0;
48 
51  virtual void queryExportLeafFilePath(DtDe& de, const std::string& importType,
52  const std::string& path, const std::string& fileFilter) = 0;
53 
55  virtual void setSaveButtonShown(bool) = 0;
56 
58  virtual void setSeparatorShown(bool) = 0;
59 
63  virtual void setMergeShown(bool) = 0;
64 
67  virtual void setExportShown(bool) = 0;
68 
71  virtual void setImportShown(bool) = 0;
72 
74  virtual void setExportEnabled(bool) = 0;
75 
79  virtual void setMergeEnabled(bool) = 0;
80 
84  virtual void setSaveDefaultsEnabled(bool) = 0;
85 
88  virtual void setImportEnabled(bool) = 0;
89 
92  virtual void setExportSelectedEnabled(bool) = 0;
93 
96  virtual void setBackupRestoreEnabled(bool) = 0;
97 
100  virtual void setFactoryRestoreEnabled(bool) = 0;
101 
107  virtual void setBackup(DtBackupInterface*) = 0;
108 
110  virtual void disableAllButtons(bool) = 0;
111 
113  virtual void activateSaveDefaults() = 0;
114 
118  virtual int activateRememberToExport(bool& dontShowAgain);
119 
123  virtual bool showImportLeavesFirstBox();
124 
125  public:
127  boost::signal<void ()> signal_saveDefaults;
128 
130  boost::signal<void ()> signal_restoreDefaults;
131 
134  boost::signal<void ()> signal_restoreFactoryDefaults;
135 
138  boost::signal<void ()> signal_defaultsAboutToBeRestored;
139 
142  boost::signal<void ()> signal_defaultsRestored;
143 
147 
150  boost::signal<void ()> signal_factoryDefaultsRestored;
151 
154  boost::signal<void ()> signal_export;
155 
157  boost::signal<void ()> signal_import;
158 
161  boost::signal<void ()> signal_exportSelected;
162 
165  boost::signal<void()> signal_exportHier;
166 
169  boost::signal<void()> signal_exportLeaves;
170 
173  boost::signal<void()> signal_exportSelectedLeaves;
174 
176  boost::signal<void ()> signal_merge;
177 
179  boost::signal<void (const std::string&)> signal_importFilenameChosen;
180 
182  boost::signal<void (const std::string&)> signal_mergeFilenameChosen;
183 
185  boost::signal<void (const std::string&)> signal_exportFilenameChosen;
186 
189  boost::signal<void(const std::string&)> signal_exportHierFilenameChosen;
190 
193  boost::signal<void(const std::string&)> signal_exportLeafFilenameChosen;
194  };
195 }

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)