VR-Forces Development_Version 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 onViewSelectionChanged();
44  virtual void onItemPressed();
45 
47  virtual void observerViewNameChanged();
48 
50  virtual void addObserverView(const std::string&);
51 
53  virtual void onSetDefaultObserverView(std::string oldView, std::string newView);
54 
56  virtual void updateButtons();
57 
59  virtual void renameObserverRecord(const std::string& newName,
60  const std::string& oldName);
61 
62  protected slots:
64  virtual void onChangeAutoShowView();
65 
68  virtual void onScenarioInformationAboutToBeSaved();
69 
70  public:
72  };
73 
77  {
78  public:
81 
84 
85  protected:
88  virtual void captureAndAddObserverView();
89 
91  virtual void clearObserverViews();
92 
94  virtual void deleteView(const std::string&);
95 
98  virtual bool renameObserverRecord(const std::string& newName, const std::string& oldName);
99 
102  virtual void loadObserverStateRecords(const std::string&, bool setObservers);
103 
105  virtual void loadObserverViewsFromScenario();
106 
107  protected:
109  };
110 
114  {
115  public:
116 
119 
122 
124  virtual makVrv::DtPage* create(QWidget* parent = 0, Qt::WindowFlags f = 0);
125  };
126 
127 }

Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)