VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
vrfObserverViewsWidget.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
11 
12 #pragma once
13 
15 #include <vrvUtil/signalslib.h>
19 
20 namespace makVrv
21 {
22  class DtDe;
23 }
24 
25 namespace makVrf
26 {
31  {
32  Q_OBJECT
33 
34  public:
36  DtVrfObserverViewsWidget(makVrv::DtDe& de, QWidget* parent = 0, Qt::WindowFlags f = 0);
37 
39  virtual ~DtVrfObserverViewsWidget();
40 
41  protected:
43  virtual void onSetObserverView();
44 
46  virtual void observerViewNameChanged();
47 
49  virtual void addObserverView(const std::string&);
50 
52  virtual void onSetDefaultObserverView(std::string oldView, std::string newView);
53 
55  virtual void updateButtons();
56 
58  virtual void renameObserverRecord(const std::string& newName,
59  const std::string& oldName);
60 
61  protected slots:
63  virtual void onChangeAutoShowView();
64 
67  virtual void onScenarioInformationAboutToBeSaved();
68 
69  public:
71  };
72 
76  {
77  public:
80 
83 
84  protected:
87  virtual void captureAndAddObserverView();
88 
90  virtual void clearObserverViews();
91 
93  virtual void deleteView(const std::string&);
94 
97  virtual bool renameObserverRecord(const std::string& newName, const std::string& oldName);
98 
101  virtual void loadObserverStateRecords(const std::string&, bool setObservers);
102 
104  virtual void loadObserverViewsFromScenario();
105 
106  protected:
108  };
109 
113  {
114  public:
115 
118 
121 
123  virtual makVrv::DtPage* create(QWidget* parent = 0, Qt::WindowFlags f = 0);
124  };
125 
126 }

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)