VR-Forces 4.8 Class Documentation
 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 /******************************************************************************
6 ** $RCSfile: DtSlaveConnectionWidget.h,v $ $Revision: 1.19 $ $State: Exp $
7 ******************************************************************************/
8 
12 
13 #ifndef DtSlaveConnectionWidget_H_
14 #define DtSlaveConnectionWidget_H_
15 
16 #if !defined(Q_MOC_RUN)
19 #include "DtSlaveConnectionUI.hpp"
20 #endif
21 
22 #include <QtWidgets/QDialog>
23 
24 class QProgressDialog;
25 
26 namespace makVrv
27 {
28 
29  class DtDe;
30 
34  : public QDialog
36  , public Ui::DtSlaveConnectionUI
37  {
38  Q_OBJECT;
39 
40  public:
41 
42 
44  DtSlaveConnectionWidget(DtDe& de, QWidget* parent = 0, Qt::WindowFlags f = Qt::Dialog | Qt::SubWindow);
45 
47  virtual ~DtSlaveConnectionWidget();
48 
50  virtual DtSlaveConnectionLogic* logic();
51 
54  virtual const std::string& serverAddress() const;
55 
57  virtual void setServerAddress(const std::string& address);
58 
60  virtual int serverPort() const;
61 
63  virtual void setServerPort(int port);
64 
66  virtual void setConnectionState(bool connected);
67 
69  virtual bool connectionState() const;
70 
71  virtual void onActivate();
72 
73  virtual void onDeactivate();
74 
75  virtual void onConnecting();
76  virtual void onConnected();
77  virtual void onUnableToConnect();
78 
79  protected slots:
80 
81  virtual void on_myConnectButton_clicked();
82 
83  virtual void on_myDefaultPortButton_clicked();
84 
85  virtual void on_myCancelButton_clicked();
86 
87  protected:
88 
91  QProgressDialog* myProgressDialog;
92  };
93 }
94 
95 #endif
96 
The Widget class for.
Definition: DtSlaveConnectionWidget.h:33
DtSlaveConnectionLogic * myLogic
Definition: DtSlaveConnectionWidget.h:90
QProgressDialog * myProgressDialog
Definition: DtSlaveConnectionWidget.h:91
#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:25
bool myConnectionStatus
Definition: DtSlaveConnectionWidget.h:89
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
The logic for controlling and update the makVrv::DtSlaveConnectionWidget.
Definition: DtSlaveConnectionLogic.h:24

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)