VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtSlaveConnectionWidget.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2007 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #ifndef DtSlaveConnectionWidget_H_
11 #define DtSlaveConnectionWidget_H_
12 
13 #if !defined(Q_MOC_RUN)
16 #include "DtSlaveConnectionUI.hpp"
17 #endif
18 
19 #include <QtWidgets/QDialog>
20 
21 class QProgressDialog;
22 
23 namespace makVrv
24 {
25 
26  class DtDe;
27 
31  : public QDialog
33  , public Ui::DtSlaveConnectionUI
34  {
35  Q_OBJECT;
36 
37  public:
38 
39 
41  DtSlaveConnectionWidget(DtDe& de, QWidget* parent = 0, Qt::WindowFlags f = Qt::Dialog | Qt::SubWindow);
42 
44  virtual ~DtSlaveConnectionWidget();
45 
47  virtual DtSlaveConnectionLogic* logic();
48 
51  virtual const std::string& serverAddress() const;
52 
54  virtual void setServerAddress(const std::string& address);
55 
57  virtual int serverPort() const;
58 
60  virtual void setServerPort(int port);
61 
63  virtual void setConnectionState(bool connected);
64 
66  virtual bool connectionState() const;
67 
68  virtual void onActivate();
69 
70  virtual void onDeactivate();
71 
72  virtual void onConnecting();
73  virtual void onConnected();
74  virtual void onUnableToConnect();
75 
76  protected slots:
77 
78  virtual void on_myConnectButton_clicked();
79 
80  virtual void on_myDefaultPortButton_clicked();
81 
82  virtual void on_myCancelButton_clicked();
83 
84  protected:
85 
88  QProgressDialog* myProgressDialog;
89  };
90 }
91 
92 #endif
93 
The Widget class for.
Definition: DtSlaveConnectionWidget.h:30
DtSlaveConnectionLogic * myLogic
Definition: DtSlaveConnectionWidget.h:87
QProgressDialog * myProgressDialog
Definition: DtSlaveConnectionWidget.h:88
#define DT_DLL_VRVCOREQT
Definition: vrvCoreQt.h:20
Contains makVrv::DtSlaveConnectionInterface class.
The interface class of the makVrv::DtSlaveConnectionWidget for the makVrv::DtSlaveConnectionLogic.
Definition: DtSlaveConnectionInterface.h:22
bool myConnectionStatus
Definition: DtSlaveConnectionWidget.h:86
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
The logic for controlling and update the makVrv::DtSlaveConnectionWidget.
Definition: DtSlaveConnectionLogic.h:21

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)