VR-Forces 4.6.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtDeMainWindow.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2018 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 #pragma once
10 #include <vrvCore/vrvCore.h>
12 
13 #include <boost/signals.hpp>
14 
15 #include <string>
16 
17 namespace makVrv
18 {
19  class DtDe;
20 
24  {
25 
26  protected:
27 
29  DtDeMainWindow(DtDe& de);
30 
31  public:
33  virtual ~DtDeMainWindow();
34 
36  virtual void setApplicationTitle(const std::string& appName) = 0;
37 
39  virtual std::string applicationTitle() const = 0;
40 
42  virtual void setApplicationIcon(const std::string& iconName) = 0;
43 
46  virtual void setShowQuitDialogOnClose(bool) = 0;
47 
49  virtual void destroyWindow() = 0;
50 
52  virtual void quit() = 0;
53 
54  inline DtDe& de()
55  {
56  return myDe;
57  }
58 
59  // signal that the MAIN WINDOW has toggled full screen mode.
60  boost::signal<void(bool)> signal_fullScreenModeChanged;
61 
62  protected:
63 
65 
66  };
67 
71  {
72 
73  public:
74 
77 
79  virtual ~DtDeMainWindowProvider();
80 
83  static DtDeMainWindowProvider& instance(DtDe& de);
84 
86  static void registerInstance(DtDe& de, DtDeMainWindowProvider* instance);
87 
90  DtDeMainWindow& igMainWindow();
91 
92  protected:
93 
95  virtual DtDeMainWindow* createMainWindow(DtDe& de) = 0;
96 
97  protected:
98 
102 
103  };
104 }

Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)