VR-Forces 4.1.1 Class Documentation
DtInformationDialog.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2012 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvUtil/signalslib.h>
13 
15 
16 #include <vrvCore/DtStateView.h>
17 #include <vrvCore/DtEntityState.h>
19 
20 class QCloseEvent;
21 class QSplitter;
22 
23 namespace makVrf
24 {
25  namespace makVrfGuiObjectInformationQt
26  {
27  class DtObjectConsoleInformationWidget;
28  class DtInformationDialogPage;
29  class DtInformationDialogPageLogic;
30 
32  {
33  Q_OBJECT
34 
35  public:
36 
38  DtInformationDialog(makVrv::DtDe& de,const std::string& pageName,QWidget* parent,bool showConsole);
39 
41  virtual ~DtInformationDialog();
42 
43  virtual void activate(makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>* state);
44 
46  {
47  return myState;
48  }
49 
50  virtual bool stateViewRemoved(const makVrv::DtUniqueID&);
51 
52  boost::signal<void (DtInformationDialog*, const makVrv::DtUniqueID&)> signal_destroyed;
53 
54  protected:
55 
56  virtual void deactivate();
57 
58  virtual void closeEvent(QCloseEvent*);
59 
60  virtual void setupWindowTitle(makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>* state);
61  virtual void slot_onStateViewUpdated();
62 
63  virtual void activatePage( makVrv::DtPage* page);
64 
65  virtual void slot_onStateViewAboutToBeRemoved(const makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>& state);
66  virtual void slot_stateViewAdded(const makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>& state);
67 
68  protected:
73  QSplitter* myConsoleSplitter;
74  };
75  }
76 }

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)