VR-Forces 4.1 Class Documentation
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 
45  virtual void setSaveButtonShown(bool) = 0;
46 
48  virtual void setSeparatorShown(bool) = 0;
49 
53  virtual void setMergeShown(bool) = 0;
54 
57  virtual void setExportShown(bool) = 0;
58 
61  virtual void setImportShown(bool) = 0;
62 
64  virtual void setExportEnabled(bool) = 0;
65 
69  virtual void setMergeEnabled(bool) = 0;
70 
73  virtual void setImportEnabled(bool) = 0;
74 
77  virtual void setExportSelectedEnabled(bool) = 0;
78 
81  virtual void setBackupRestoreEnabled(bool) = 0;
82 
85  virtual void setFactoryRestoreEnabled(bool) = 0;
86 
92  virtual void setBackup(DtBackupInterface*) = 0;
93 
95  virtual void disableAllButtons(bool) = 0;
96 
97  public:
99  boost::signal<void ()> signal_saveDefaults;
100 
102  boost::signal<void ()> signal_restoreDefaults;
103 
106  boost::signal<void ()> signal_restoreFactoryDefaults;
107 
110  boost::signal<void ()> signal_defaultsAboutToBeRestored;
111 
114  boost::signal<void ()> signal_defaultsRestored;
115 
119 
122  boost::signal<void ()> signal_factoryDefaultsRestored;
123 
126  boost::signal<void ()> signal_export;
127 
129  boost::signal<void ()> signal_import;
130 
133  boost::signal<void ()> signal_exportSelected;
134 
136  boost::signal<void ()> signal_merge;
137 
139  boost::signal<void (const std::string&)> signal_importFilenameChosen;
140 
142  boost::signal<void (const std::string&)> signal_mergeFilenameChosen;
143 
145  boost::signal<void (const std::string&)> signal_exportFilenameChosen;
146  };
147 }

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)