![]() |
MAK RTIspy API Documentation for HLA 1.3
|
Widget which can be added as a configuration page to the DtAssistantConfigDialog. More...
Inheritance diagram for DtAssistantConfigWidget:
Collaboration diagram for DtAssistantConfigWidget:Signals | |
| void | enablePrefAccept () |
| Emitted to indicate that the accept button can be enabled. | |
| void | disablePrefAccept () |
| Emitted to indicate that the accept button should be disabled. | |
Public Member Functions | |
| DtAssistantConfigWidget (QWidget *parent=0, Qt::WindowFlags f=0) | |
| Constructor. | |
| virtual | ~DtAssistantConfigWidget () |
| Destructor. | |
| virtual QString | reasonForDisabledAccept () const |
| If the widget has disabled the accept button, returns the reason why. | |
Protected Member Functions | |
| virtual void | setAcceptEnabled (bool enabled, const QString &reasonForDisable) |
| Sets whether or not accept is enabled. | |
Private Member Functions | |
| DtAssistantConfigWidget (DtAssistantConfigWidget const &) | |
| Copy constructor not implemented. | |
| DtAssistantConfigWidget & | operator= (DtAssistantConfigWidget const &) |
| Assignment operator not implemented. | |
Private Attributes | |
| QString | myReasonForAcceptDisable |
| The reason why this widget has diabled the accept option. | |
Widget which can be added as a configuration page to the DtAssistantConfigDialog.
| DtAssistantConfigWidget::DtAssistantConfigWidget | ( | QWidget * | parent = 0, |
| Qt::WindowFlags | f = 0 |
||
| ) |
Constructor.
| DtAssistantConfigWidget::~DtAssistantConfigWidget | ( | ) | [virtual] |
Destructor.
| DtAssistantConfigWidget::DtAssistantConfigWidget | ( | DtAssistantConfigWidget const & | ) | [private] |
Copy constructor not implemented.
| void DtAssistantConfigWidget::disablePrefAccept | ( | ) | [signal] |
Emitted to indicate that the accept button should be disabled.
Referenced by setAcceptEnabled().
| void DtAssistantConfigWidget::enablePrefAccept | ( | ) | [signal] |
Emitted to indicate that the accept button can be enabled.
Referenced by setAcceptEnabled().
| DtAssistantConfigWidget& DtAssistantConfigWidget::operator= | ( | DtAssistantConfigWidget const & | ) | [private] |
Assignment operator not implemented.
| QString DtAssistantConfigWidget::reasonForDisabledAccept | ( | ) | const [virtual] |
If the widget has disabled the accept button, returns the reason why.
Will be an empty string if accept is enabled.
References myReasonForAcceptDisable.
| void DtAssistantConfigWidget::setAcceptEnabled | ( | bool | enabled, |
| const QString & | reasonForDisable | ||
| ) | [protected, virtual] |
Sets whether or not accept is enabled.
Reimplemented in DtAssistantConnQueryWidget, and DtAssistantConnConfigWidget.
References disablePrefAccept(), enablePrefAccept(), and myReasonForAcceptDisable.
QString DtAssistantConfigWidget::myReasonForAcceptDisable [private] |
The reason why this widget has diabled the accept option.
Referenced by reasonForDisabledAccept(), and setAcceptEnabled().