The QWizard class provides a framework for easily writing wizards. More...
#include <qwizard.h>
Inherits QDialog.
A wizard is a dialog that consists of a sequential number of steps, each consisting of a single page. QWizard provides a title for each page, and "Next", "Back", "Finish", "Cancel" and "Help" buttons, as appropriate.
Constructs an empty wizard dialog.
Destroys the object and frees any allocated resources, including, of course, all pages and controllers.
[virtual]
Adds page to the end of the wizard, titled title.
[virtual]
This virtual function returns TRUE if w is appropriate for display in the current context of the wizard, and FALSE if QWizard should go on.
It is called when the Next button is clicked.
Warning: The last page of a wizard will be displayed if nothing else wants to, and the Next button was enabled when the user clicked.
The default implementation returns whatever was set using setAppropriate(). The ultimate default is TRUE.
[virtual protected slot]
Called when the user clicks the Back button, this function shows the page which the user saw prior to the current one.
Returns the Back button of the dialog.
By default, this button is connected to the back() slot, which is virtual.
Returns the Cancel button of the dialog.
By default, this button is connected to the QDialog::reject() slot, which is virtual so you may override it in a QWizard subclass.
Returns a pointer to the page currently being displayed by the wizard. The wizard does its best to make sure that this value is never 0, but if you try hard enough it can be.
[virtual]
Reimplemented for internal reasons; the API is not affected.
Reimplemented from QObject.
Returns the Finish button of the dialog.
By default, this button is connected to the QDialog::accept() slot, which is virtual so you may override it in a QWizard subclass.
[virtual protected slot]
This slot either makes the wizard help you, if it can. The only way it knows is to emit the helpClicked() signal, and perhaps the QWizardPage::helpClicked() signal too, if a QWizardPage is currently being displayed.
Returns the Help button of the dialog.
By default, this button is connected to the help() slot.
[signal]
This signal is emitted when the user clicks on the help button.
[virtual protected]
This virtual function is responsible for adding the bottom divider and buttons below it.
layout is the vertical layout of the entire wizard.
[virtual protected]
This virtual function is responsible for laying out the title row and adding the vertical divider between the title and the wizard page. layout is the vertical layout for the wizard, title is the title for this page, and this function is called every time title changes.
[virtual protected slot]
Called when the user clicks the Next button, this function shows the next appropriate page.
Returns the Next button of the dialog.
By default, this button is connected to the next() slot, which is virtual.
[virtual]
Removes page from this wizard. Does not delete page. If page is currently being displayed, QWizard will display something else.
[virtual]
Reimplemented for internal reasons; the API is not affected.
Reimplemented from QWidget.
[virtual]
Reimplemented for internal reasons; the API is not affected.
Reimplemented from QWidget.
[virtual]
Makes page be the displayed page.
Returns the title of page.
Search the documentation, FAQ, qt-interest archive and more (uses
www.troll.no):
This file is part of the Qt toolkit, copyright © 1995-99 Troll Tech, all rights reserved.
Copyright © 1999 Troll Tech | Trademarks | Qt version 2.0.2
|