![]() |
MAK RTIspy API Documentation for HLA 1.3
|
Qt dialog which allows a user to change the Assistant configuration. More...
Inheritance diagram for DtAssistantConfigDialog:
Collaboration diagram for DtAssistantConfigDialog:Public Slots | |
| virtual void | changePage (QListWidgetItem *current, QListWidgetItem *previous) |
| Changes which page is currently displayed. More... | |
| virtual void | enableAccept (int) |
| Enable the accept button due to the validity of the current settings. More... | |
| virtual void | disableAccept (int) |
| Disable the accept button due to the validity of the current settings. More... | |
Signals | |
| void | applied () |
| Emitted when the apply button is clicked. More... | |
Public Member Functions | |
| DtAssistantConfigDialog (QWidget *parent=0, Qt::WindowFlags f=0) | |
| Constructor. More... | |
| virtual | ~DtAssistantConfigDialog () |
| Destructor. More... | |
| virtual void | addConfigWidget (DtAssistantConfigWidget *widget, const QIcon &icon, const QString &name, DtPreferencesPage pageId) |
| Adds a widget to a new page in the dialog, using the given icon and name for the contents bar on the side. More... | |
| virtual void | completeDialogSetup () |
| Completes the setup of the dialog. More... | |
| virtual QWidget * | configWidget (DtPreferencesPage pageId) |
| Returns the widget on the given page. More... | |
| virtual void | setPage (DtPreferencesPage pageId) |
| Sets the currently displayed page. More... | |
Protected Member Functions | |
| virtual void | enableOrDisableAccept () |
| Enables or disables the accept button, as appropriate. More... | |
| virtual void | showEvent (QShowEvent *event) |
| Catch show events so that the first time the dialog is shown we can do some additional configuration. More... | |
Protected Attributes | |
| bool | myWasAccepted |
| Stores the acceptance state of the last execution. More... | |
| QListWidget * | myContentsWidget |
| The contents panel which allows the user to select the configuration page they would like to view. More... | |
| QStackedWidget * | myPagesWidget |
| The stacked widget which holds all of the configuration pages and displays the currently selected one. More... | |
| std::map< DtPreferencesPage, unsigned int > | myPageNumbers |
| Mapping of page IDs to page numbers. More... | |
| QDialogButtonBox * | myButtonBox |
| The dialogs button box. More... | |
| std::vector < DtAssistantConfigWidget * > | myConfigWidgets |
| Widgets for each configuration page in the dialog. More... | |
| std::vector< bool > | myEnableAccept |
| The current settings for each widget on whether or not acceptance of the dialog should be allowed. More... | |
| std::vector< QString > | myDisableAcceptReasons |
| The current reasons for each widget why acceptance of the dialog should not be allowed. More... | |
| QSignalMapper * | myEnableAcceptMapper |
| Maps signals from configuration widgets to enable the accept button button. More... | |
| QSignalMapper * | myDisableAcceptMapper |
| Maps signals from configuration widgets to disable the accept button. More... | |
| int | myCurrentPage |
| The current page. More... | |
| bool | myFirstShowing |
| The first time the dialog is shown, do some additional configuration. More... | |
Private Member Functions | |
| DtAssistantConfigDialog (const DtAssistantConfigDialog &) | |
| Copy constructor not implemented. More... | |
| DtAssistantConfigDialog & | operator= (const DtAssistantConfigDialog &) |
| Assignment operator not implemented. More... | |
Qt dialog which allows a user to change the Assistant configuration.
| DtAssistantConfigDialog::DtAssistantConfigDialog | ( | QWidget * | parent = 0, |
| Qt::WindowFlags | f = 0 |
||
| ) |
Constructor.
|
virtual |
Destructor.
|
private |
Copy constructor not implemented.
|
virtual |
Adds a widget to a new page in the dialog, using the given icon and name for the contents bar on the side.
Widgets will be added and paged in order as this method is called.
|
signal |
Emitted when the apply button is clicked.
|
virtualslot |
Changes which page is currently displayed.
|
virtual |
Completes the setup of the dialog.
All widgets should be added with addConfigWidget prior to calling this method.
|
virtual |
Returns the widget on the given page.
|
virtualslot |
Disable the accept button due to the validity of the current settings.
|
virtualslot |
Enable the accept button due to the validity of the current settings.
|
protectedvirtual |
Enables or disables the accept button, as appropriate.
|
private |
Assignment operator not implemented.
|
virtual |
Sets the currently displayed page.
|
protectedvirtual |
Catch show events so that the first time the dialog is shown we can do some additional configuration.
|
protected |
The dialogs button box.
|
protected |
Widgets for each configuration page in the dialog.
|
protected |
The contents panel which allows the user to select the configuration page they would like to view.
|
protected |
The current page.
|
protected |
Maps signals from configuration widgets to disable the accept button.
|
protected |
The current reasons for each widget why acceptance of the dialog should not be allowed.
|
protected |
The current settings for each widget on whether or not acceptance of the dialog should be allowed.
|
protected |
Maps signals from configuration widgets to enable the accept button button.
|
protected |
The first time the dialog is shown, do some additional configuration.
|
protected |
Mapping of page IDs to page numbers.
|
protected |
The stacked widget which holds all of the configuration pages and displays the currently selected one.
|
protected |
Stores the acceptance state of the last execution.