MAK RTIspy API Documentation for HLA Evolved
 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 };
Ui::AssistantLicQueryDialog myUiImpl
Definition: licQueryDialog.h:88
QIntValidator * myPortValidator
Validator to check the input of the port line edit box.
Definition: licQueryDialog.h:91
DtLicServerCol
Enumeration for the table columns.
Definition: licQueryDialog.h:82
Dialog used to request the user to provide new license information when a component cannot establish ...
Definition: licQueryDialog.h:21
bool myWasAccepted
Stores the acceptance state of the last execution.
Definition: licQueryDialog.h:94
#define DT_DLL_ASSISTANTAPP
Definition: rtiMsConfig.h:122
Definition: licQueryDialog.h:84

Document ID: Generated on Thu May 11 15:55:32 EDT 2023 from SVN revision 254743
Copyright © 2005-2020 MAK Technologies Inc. All Rights Reserved (www.mak.com)