VR-Forces 4.2 Class Documentation
DtAssignDoctrineDialog.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
10 
11 #pragma once
12 
13 #include <vrvUtil/signalslib.h>
15 #include <vrvUtil/DtVirtualBaseClass.h>
16 
17 #include <QDialog>
18 
19 namespace makVrv
20 {
21  class DtDe;
22 }
23 
24 class DtSimMessage;
25 class QComboBox;
26 class QLabel;
27 class QPushButton;
28 class QGridLayout;
29 class QHBoxLayout;
30 namespace makVrf
31 {
34  {
35  Q_OBJECT
36 
37  public:
39  DtAssignDoctrineDialog(makVrv::DtDe&, QWidget* parent, const Qt::WindowFlags& flags = Qt::Tool);
40 
42  virtual ~DtAssignDoctrineDialog();
43 
44  protected:
46  virtual void accept();
47 
48  protected slots:
49  virtual void forceChanged();
50 
51  public:
52  QLabel* myForceLabel;
54  QLabel* myDoctrineLabel;
58  QGridLayout* myDataLayout;
59  QHBoxLayout* myButtonLayout;
60 
61  protected:
62  makVrv::DtDe& myDe;
63  std::map<int, std::string> myDoctrinesByForce;
64  };
65 
67  class DT_DLL_VRFGUICOREQT DtAssignDoctrineDialogCreator : public makVrv::DtVirtualBaseClass
68  {
69  public:
72 
75 
76  static DtAssignDoctrineDialogCreator& instance(makVrv::DtDe&);
77  static void registerInstance(makVrv::DtDe&, DtAssignDoctrineDialogCreator*);
78 
79  virtual DtAssignDoctrineDialog* create(makVrv::DtDe&, QWidget* parent, const Qt::WindowFlags&f = 0);
80  };
81 }

Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)