MAK RTIspy API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
licQueryDialog.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2017 VT MAK
3  * All rights reserved.
4  ****************************************************************************/
5 
9 
10 #pragma once
11 
12 #include "rtiMsConfig.h"
13 #include "ui_licQueryDialogUI.h"
14 #include <QDialog>
15 
16 class QIntValidator;
17 
22 {
23  Q_OBJECT
24 
25 public:
26 
28  DtAssistantLicQueryDialog( QWidget* parent = 0, Qt::WindowFlags f=0 );
29 
31  virtual ~DtAssistantLicQueryDialog();
32 
35  virtual void addServer( const QString& name, int port );
36 
38  virtual void clearServers();
39 
41  virtual void setAllowUnlicensed( bool allowUnlicensed );
42 
47  virtual bool getResults( bool& runUnlicensed, QString& name, QString& port,
48  bool& saveLic );
49 
50 protected:
51 
53  virtual void showEvent( QShowEvent* event );
54 
55 private:
56 
59 
62 
63 public slots:
64 
67  virtual void enableChooseLicense( bool enable );
68 
70  virtual void enableSetLicense( bool enable );
71 
73  virtual void processFinish( int result );
74 
75  virtual void enableNodeLockedLicenseEdit( bool enable);
76 
77  virtual void onBrowseClicked();
78 
79 protected:
80 
83  {
85  ServerPortCol
86  };
87 
88  Ui::AssistantLicQueryDialog myUiImpl;
89 
91  QIntValidator* myPortValidator;
92 
95 };

Document ID: Generated on Fri Sep 27 00:57:56 EDT 2019 from SVN revision 201708
Copyright © 2005-2018 VT MÄK Inc. All Rights Reserved (www.mak.com)