Dialog used to request the user to provide new license information when a component cannot establish a connection.
More...
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 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.
|
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 |
|
) |
| |
| virtual DtAssistantLicQueryDialog::~DtAssistantLicQueryDialog |
( |
| ) |
|
|
virtual |
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 |
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: