MAK RTIspy API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Slots | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Private Member Functions
DtAssistantLicQueryDialog Class Reference

Dialog used to request the user to provide new license information when a component cannot establish a connection. More...

+ Inheritance diagram for DtAssistantLicQueryDialog:
+ Collaboration diagram for DtAssistantLicQueryDialog:

Public Slots

virtual void enableChooseLicense (bool enable)
 Enable the widgets which allow the user to set the choose the license from a list of known licenses.
virtual void enableSetLicense (bool enable)
 Enable the widgets which allow the user to set the license manually.
virtual void processFinish (int result)
 Sets the results after the dialog is accepted or rejected.
virtual void enableNodeLockedLicenseEdit (bool enable)
virtual void onBrowseClicked ()

Public Member Functions

 DtAssistantLicQueryDialog (QWidget *parent=0, Qt::WindowFlags f=0)
 Constructor.
virtual ~DtAssistantLicQueryDialog ()
 Destructor.
virtual void addServer (const QString &name, int port)
 Adds an available license server to the list.
virtual void clearServers ()
 Clears the entire server list.
virtual void setAllowUnlicensed (bool allowUnlicensed)
 Set whether or not unlicensed mode is allowed.
virtual bool getResults (bool &runUnlicensed, QString &name, QString &port, bool &saveLic)
 If dialog was accepted during its previous execution, fills in the accepted server name and port and returns true.

Protected Types

enum  DtLicServerCol { ServerNameCol, ServerPortCol }
 Enumeration for the table columns. More...

Protected Member Functions

virtual void showEvent (QShowEvent *event)
 Prepare the dialog to be shown.

Protected Attributes

Ui::AssistantLicQueryDialog myUiImpl
QIntValidator * myPortValidator
 Validator to check the input of the port line edit box.
bool myWasAccepted
 Stores the acceptance state of the last execution.

Private Member Functions

 DtAssistantLicQueryDialog (DtAssistantLicQueryDialog const &)
 Copy constructor not implemented.
DtAssistantLicQueryDialogoperator= (DtAssistantLicQueryDialog const &)
 Assignment operator not implemented.

Detailed Description

Dialog used to request the user to provide new license information when a component cannot establish a connection.

Member Enumeration Documentation

Enumeration for the table columns.

Enumerator:
ServerNameCol 
ServerPortCol 

Constructor & Destructor Documentation

DtAssistantLicQueryDialog::DtAssistantLicQueryDialog ( QWidget parent = 0,
Qt::WindowFlags  f = 0 
)

Constructor.

virtual DtAssistantLicQueryDialog::~DtAssistantLicQueryDialog ( )
virtual

Destructor.

DtAssistantLicQueryDialog::DtAssistantLicQueryDialog ( DtAssistantLicQueryDialog const &  )
private

Copy constructor not implemented.

Member Function Documentation

virtual void DtAssistantLicQueryDialog::addServer ( const QString &  name,
int  port 
)
virtual

Adds an available license server to the list.

The list of available servers should be set prior to every execution of the dialog.

virtual void DtAssistantLicQueryDialog::clearServers ( )
virtual

Clears the entire server list.

virtual void DtAssistantLicQueryDialog::enableChooseLicense ( bool  enable)
virtualslot

Enable the widgets which allow the user to set the choose the license from a list of known licenses.

virtual void DtAssistantLicQueryDialog::enableNodeLockedLicenseEdit ( bool  enable)
virtualslot
virtual void DtAssistantLicQueryDialog::enableSetLicense ( bool  enable)
virtualslot

Enable the widgets which allow the user to set the license manually.

virtual bool DtAssistantLicQueryDialog::getResults ( bool &  runUnlicensed,
QString &  name,
QString &  port,
bool &  saveLic 
)
virtual

If dialog was accepted during its previous execution, fills in the accepted server name and port and returns true.

Otherwise returns false. The saveLic parameter will be set to true if the user selected to save this license for future failures rather than prompting again.

virtual void DtAssistantLicQueryDialog::onBrowseClicked ( )
virtualslot
DtAssistantLicQueryDialog& DtAssistantLicQueryDialog::operator= ( DtAssistantLicQueryDialog const &  )
private

Assignment operator not implemented.

virtual void DtAssistantLicQueryDialog::processFinish ( int  result)
virtualslot

Sets the results after the dialog is accepted or rejected.

virtual void DtAssistantLicQueryDialog::setAllowUnlicensed ( bool  allowUnlicensed)
virtual

Set whether or not unlicensed mode is allowed.

virtual void DtAssistantLicQueryDialog::showEvent ( QShowEvent *  event)
protectedvirtual

Prepare the dialog to be shown.

Member Data Documentation

QIntValidator* DtAssistantLicQueryDialog::myPortValidator
protected

Validator to check the input of the port line edit box.

Ui::AssistantLicQueryDialog DtAssistantLicQueryDialog::myUiImpl
protected
bool DtAssistantLicQueryDialog::myWasAccepted
protected

Stores the acceptance state of the last execution.


The documentation for this class was generated from the following file:

Document ID: Generated on Mon Mar 21 09:41:37 EDT 2016 from SVN revision 163228
Copyright © 2005-2015 VT MÄK Inc. All Rights Reserved (www.mak.com)