VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
joinSessionDialog.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2016 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
10 
11 #pragma once
12 
13 
16 #include "joinSessionDialogUi.hpp"
18 #include <QtWidgets/QDialog>
19 
20 namespace makVrv
21 {
22  class DtDe;
23 }
24 
25 class QLabel;
26 class QVBoxLayout;
27 class QGridLayout;
28 class QHBoxLayout;
29 class QCheckBox;
30 
31 namespace makVrf
32 {
33  class DtJoinSessionDialogLogic;
34 
36  : public QDialog
38  {
39  Q_OBJECT
40  public:
41  //CTOR
42  DtJoinSessionDialog(makVrv::DtDe& de, QWidget* parent = 0, const Qt::WindowFlags& flags = 0);
43 
44  //DTOR
45  virtual ~DtJoinSessionDialog() override;
46 
47  public:
48 
49  virtual bool useAlternateTerrain() const override;
50 
51  virtual void setTopText(const QString& text) override;
52 
53  protected:
54  void setupGui();
55 
56  virtual void setCanJoinSession(bool) override;
57 
58  virtual void setScenario(const QString&) override;
59  virtual void setTerrain(const QString&) override;
60  virtual void setNumBackends(int) override;
61 
62  public:
63  Ui_DtJoinSessionDialogUi myUiImpl;
64 
65  protected:
68  QString myTopText;
69  };
70 
72  {
73  public:
75  virtual ~DtJoinSessionDialogCreator() override;
76 
78  static DtJoinSessionDialogCreator& instance(makVrv::DtDe&);
79 
81  static void registerInstance(makVrv::DtDe& de, DtJoinSessionDialogCreator* instance);
82 
83  virtual DtJoinSessionDialog* create(QWidget* parent, const Qt::WindowFlags& flags = 0);
84 
85  protected:
87  };
88 }
Virtual base class. Allows for RTTI and proper virtual destruction. Used by Creators, Factories, Providers, Assemblers and User Interfaces.
Definition: DtVirtualBaseClass.h:19
Definition: joinSessionDialog.h:35
#define DT_DLL_VRFGUICOREQT
Definition: vrfGuiCoreQt.h:26
QString myTopText
Definition: joinSessionDialog.h:68
makVrv::DtDe & myDe
Definition: joinSessionDialog.h:66
DtJoinSessionDialogLogic * myLogic
Definition: joinSessionDialog.h:67
Contains makVrv::DtVirtualBaseClass class.
makVrv::DtDe & myDe
Definition: joinSessionDialog.h:86
Definition: joinSessionDialogLogic.h:28
Ui_DtJoinSessionDialogUi myUiImpl
Definition: joinSessionDialog.h:63
Definition: joinSessionDialog.h:71
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:76
Definition: joinSessionDialogInterface.h:22

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)