VR-Forces 4.1.1 Class Documentation
DtVrfObserverViewsWidget.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>
18 
19 namespace makVrv
20 {
21  class DtDe;
22 }
23 
24 namespace makVrf
25 {
30  {
31  Q_OBJECT
32 
33  public:
35  DtVrfObserverViewsWidget(makVrv::DtDe& de, QWidget* parent = 0, Qt::WindowFlags f = 0);
36 
38  virtual ~DtVrfObserverViewsWidget();
39 
40  protected:
42  virtual void onSetObserverView();
43 
45  virtual void addObserverView(const std::string&);
46 
48  virtual void onSetDefaultObserverView(std::string oldView, std::string newView);
49 
51  virtual void updateButtons();
52 
53  protected slots:
55  virtual void onChangeAutoShowView();
56 
59  virtual void onScenarioInformationAboutToBeSaved();
60 
61  protected:
63  };
64 
68  {
69  public:
72 
75 
76  protected:
79  virtual void captureAndAddObserverView();
80 
82  virtual void clearObserverViews();
83 
85  virtual void deleteView(const std::string&);
86 
89  virtual bool renameObserverRecord(const std::string& newName, const std::string& oldName);
90 
93  virtual void loadObserverStateRecords(const std::string&, bool setObservers);
94 
96  virtual void loadObserverViewsFromScenario();
97  };
98 
102  {
103  public:
104 
107 
110 
112  virtual makVrv::DtPage* create(QWidget* parent = 0, Qt::WindowFlags f = 0);
113  };
114 
115 }

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)