<class name="QWizardPage" doc="/**
&lt;p&gt;The &lt;a href=&quot;QWizardPage.html#QWizardPage(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QWizardPage&lt;/tt&gt;&lt;/a&gt; class is the base class for wizard pages.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;QWizard.html&quot;&gt;&lt;tt&gt;QWizard&lt;/tt&gt;&lt;/a&gt; represents a wizard. Each page is a &lt;a href=&quot;QWizardPage.html#QWizardPage(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QWizardPage&lt;/tt&gt;&lt;/a&gt;. When you create your own wizards, you can use &lt;a href=&quot;QWizardPage.html#QWizardPage(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QWizardPage&lt;/tt&gt;&lt;/a&gt; directly, or you can subclass it for more control.&lt;/p&gt;
&lt;p&gt;A page has the following attributes, which are rendered by &lt;a href=&quot;QWizard.html&quot;&gt;&lt;tt&gt;QWizard&lt;/tt&gt;&lt;/a&gt;: a &lt;a href=&quot;QWizardPage.html#title()&quot;&gt;title&lt;/tt&gt;&lt;/a&gt;, a &lt;a href=&quot;QWizardPage.html#subTitle()&quot;&gt;&lt;tt&gt;subTitle&lt;/tt&gt;&lt;/a&gt;, and a &lt;a href=&quot;QWizardPage.html#setPixmap(com.trolltech.qt.gui.QWizard.WizardPixmap, com.trolltech.qt.gui.QPixmap)&quot;&gt;set of pixmaps&lt;/tt&gt;&lt;/a&gt;. See &lt;a href=&quot;QWizard.html#elements-of-a-wizard-page&quot;&gt;Elements of a Wizard Page&lt;/tt&gt;&lt;/a&gt; for details. Once a page is added to the wizard (using QWizard::addPage() or QWizard::setPage()), &lt;a href=&quot;QWizardPage.html#wizard()&quot;&gt;&lt;tt&gt;wizard&lt;/tt&gt;&lt;/a&gt; returns a pointer to the associated &lt;a href=&quot;QWizard.html&quot;&gt;&lt;tt&gt;QWizard&lt;/tt&gt;&lt;/a&gt; object.&lt;/p&gt;
&lt;p&gt;Page provides five virtual functions that can be reimplemented to provide custom behavior:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;QWizardPage.html#initializePage()&quot;&gt;&lt;tt&gt;initializePage&lt;/tt&gt;&lt;/a&gt; is called to initialize the page's contents when the user clicks the wizard's &lt;b&gt;Next&lt;/b&gt; button. If you want to derive the page's default from what the user entered on previous pages, this is the function to reimplement.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;QWizardPage.html#cleanupPage()&quot;&gt;&lt;tt&gt;cleanupPage&lt;/tt&gt;&lt;/a&gt; is called to reset the page's contents when the user clicks the wizard's &lt;b&gt;Back&lt;/b&gt; button.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;QWizardPage.html#validatePage()&quot;&gt;&lt;tt&gt;validatePage&lt;/tt&gt;&lt;/a&gt; validates the page when the user clicks &lt;b&gt;Next&lt;/b&gt; or &lt;b&gt;Finish&lt;/b&gt;. It is often used to show an error message if the user has entered incomplete or invalid information.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;QWizardPage.html#nextId()&quot;&gt;&lt;tt&gt;nextId&lt;/tt&gt;&lt;/a&gt; returns the ID of the next page. It is useful when &lt;a href=&quot;QWizard.html#creating-non-linear-wizards&quot;&gt;creating non-linear wizards&lt;/tt&gt;&lt;/a&gt;, which allow different traversal paths based on the information provided by the user.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;QWizardPage.html#isComplete()&quot;&gt;&lt;tt&gt;isComplete&lt;/tt&gt;&lt;/a&gt; is called to determine whether the &lt;b&gt;Next&lt;/b&gt; and/or &lt;b&gt;Finish&lt;/b&gt; button should be enabled or disabled. If you reimplement &lt;a href=&quot;QWizardPage.html#isComplete()&quot;&gt;&lt;tt&gt;isComplete&lt;/tt&gt;&lt;/a&gt;, also make sure that &lt;a href=&quot;QWizardPage.html#completeChanged()&quot;&gt;&lt;tt&gt;completeChanged&lt;/tt&gt;&lt;/a&gt; is emitted whenever the complete state changes.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Normally, the &lt;b&gt;Next&lt;/b&gt; button and the &lt;b&gt;Finish&lt;/b&gt; button of a wizard are mutually exclusive. If &lt;a href=&quot;QWizardPage.html#isFinalPage()&quot;&gt;&lt;tt&gt;isFinalPage&lt;/tt&gt;&lt;/a&gt; returns true, &lt;b&gt;Finish&lt;/b&gt; is available; otherwise, &lt;b&gt;Next&lt;/b&gt; is available. By default, &lt;a href=&quot;QWizardPage.html#isFinalPage()&quot;&gt;&lt;tt&gt;isFinalPage&lt;/tt&gt;&lt;/a&gt; is true only when &lt;a href=&quot;QWizardPage.html#nextId()&quot;&gt;&lt;tt&gt;nextId&lt;/tt&gt;&lt;/a&gt; returns -1. If you want to show &lt;b&gt;Next&lt;/b&gt; and &lt;b&gt;Final&lt;/b&gt; simultaneously for a page (letting the user perform an &amp;quot;early finish&amp;quot;), call &lt;a href=&quot;QWizardPage.html#setFinalPage(boolean)&quot;&gt;&lt;tt&gt;setFinalPage&lt;/tt&gt;&lt;/a&gt;(true) on that page. For wizards that support early finishes, you might also want to set the HaveNextButtonOnLastPage and HaveFinishButtonOnEarlyPages options on the wizard.&lt;/p&gt;
&lt;p&gt;In many wizards, the contents of a page may affect the default values of the fields of a later page. To make it easy to communicate between pages, &lt;a href=&quot;QWizard.html&quot;&gt;&lt;tt&gt;QWizard&lt;/tt&gt;&lt;/a&gt; supports a &lt;a href=&quot;QWizard.html#registering-and-using-fields&quot;&gt;&amp;quot;field&amp;quot; mechanism&lt;/tt&gt;&lt;/a&gt; that allows you to register a field (e.g&amp;#x2e;, a &lt;a href=&quot;QLineEdit.html&quot;&gt;&lt;tt&gt;QLineEdit&lt;/tt&gt;&lt;/a&gt;) on a page and to access its value from any page. Fields are global to the entire wizard and make it easy for any single page to access information stored by another page, without having to put all the logic in &lt;a href=&quot;QWizard.html&quot;&gt;&lt;tt&gt;QWizard&lt;/tt&gt;&lt;/a&gt; or having the pages know explicitly about each other. Fields are registered using registerField() and can be accessed at any time using &lt;a href=&quot;QWizardPage.html#field(java.lang.String)&quot;&gt;&lt;tt&gt;field&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QWizardPage.html#setField(java.lang.String, java.lang.Object)&quot;&gt;&lt;tt&gt;setField&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QWizard.html&quot;&gt;&lt;tt&gt;QWizard&lt;/tt&gt;&lt;/a&gt;
@see Class Wizard Example&lt;/tt&gt;
@see License Wizard Example&lt;/tt&gt; */">
    <signal name="protected final void completeChanged()" doc="/**
&lt;p&gt;This signal is emitted whenever the complete state of the page (i.e&amp;#x2e;, the value of &lt;a href=&quot;QWizardPage.html#isComplete()&quot;&gt;&lt;tt&gt;isComplete&lt;/tt&gt;&lt;/a&gt;) changes.&lt;/p&gt;
&lt;p&gt;If you reimplement &lt;a href=&quot;QWizardPage.html#isComplete()&quot;&gt;&lt;tt&gt;isComplete&lt;/tt&gt;&lt;/a&gt;, make sure to emit &lt;a href=&quot;QWizardPage.html#completeChanged()&quot;&gt;&lt;tt&gt;completeChanged&lt;/tt&gt;&lt;/a&gt; whenever the value of &lt;a href=&quot;QWizardPage.html#isComplete()&quot;&gt;&lt;tt&gt;isComplete&lt;/tt&gt;&lt;/a&gt; changes, to ensure that &lt;a href=&quot;QWizard.html&quot;&gt;&lt;tt&gt;QWizard&lt;/tt&gt;&lt;/a&gt; updates the enabled or disabled state of its buttons.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signature:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;See Also:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;a href=&quot;QWizardPage.html#isComplete()&quot;&gt;&lt;tt&gt;isComplete&lt;/tt&gt;&lt;/a&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void customContextMenuRequested(com.trolltech.qt.core.QPoint pos)" doc="/**
&lt;p&gt;This signal is emitted when the widget's &lt;a href=&quot;QWidget.html#contextMenuPolicy()&quot;&gt;&lt;tt&gt;contextMenuPolicy&lt;/tt&gt;&lt;/a&gt; is Qt::CustomContextMenu, and the user has requested a context menu on the widget. The position &lt;tt&gt;pos&lt;/tt&gt; is the position of the context menu event that the widget receives. Normally this is in widget coordinates. The exception to this rule is &lt;a href=&quot;QAbstractScrollArea.html&quot;&gt;&lt;tt&gt;QAbstractScrollArea&lt;/tt&gt;&lt;/a&gt; and its subclasses that map the context menu event to coordinates of the viewport()&lt;/tt&gt; .&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(com.trolltech.qt.core.QPoint pos)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;See Also:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;a href=&quot;QWidget.html#mapToGlobal(com.trolltech.qt.core.QPoint)&quot;&gt;&lt;tt&gt;mapToGlobal&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QMenu.html&quot;&gt;&lt;tt&gt;QMenu&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QWidget.html#contextMenuPolicy()&quot;&gt;&lt;tt&gt;contextMenuPolicy&lt;/tt&gt;&lt;/a&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <method name="public QWizardPage(com.trolltech.qt.gui.QWidget parent)" doc="/**
&lt;p&gt;Constructs a wizard page with the given &lt;tt&gt;parent&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;When the page is inserted into a wizard using QWizard::addPage() or QWizard::setPage(), the parent is automatically set to be the wizard.&lt;/p&gt;

@see &lt;a href=&quot;QWizardPage.html#wizard()&quot;&gt;&lt;tt&gt;wizard&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public QWizardPage()" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QWizardPage.html#QWizardPage(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QWizardPage&lt;/tt&gt;&lt;/a&gt;(0). */"/>
    <method name="public final java.lang.String buttonText(com.trolltech.qt.gui.QWizard.WizardButton which)" doc="/**
&lt;p&gt;Returns the text on button &lt;tt&gt;which&lt;/tt&gt; on this page.&lt;/p&gt;
&lt;p&gt;If a text has ben set using &lt;a href=&quot;QWizardPage.html#setButtonText(com.trolltech.qt.gui.QWizard.WizardButton, java.lang.String)&quot;&gt;&lt;tt&gt;setButtonText&lt;/tt&gt;&lt;/a&gt;, this text is returned. Otherwise, if a text has been set using QWizard::setButtonText(), this text is returned.&lt;/p&gt;
&lt;p&gt;By default, the text on buttons depends on the QWizard::wizardStyle. For example, on Mac OS X, the &lt;b&gt;Next&lt;/b&gt; button is called &lt;b&gt;Continue&lt;/b&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QWizardPage.html#setButtonText(com.trolltech.qt.gui.QWizard.WizardButton, java.lang.String)&quot;&gt;&lt;tt&gt;setButtonText&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QWizard::buttonText&lt;/tt&gt;
@see &lt;tt&gt;QWizard::setButtonText&lt;/tt&gt; */"/>
    <method name="protected final java.lang.Object field(java.lang.String name)" doc="/**
&lt;p&gt;Returns the value of the field called &lt;tt&gt;name&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;This function can be used to access fields on any page of the wizard. It is equivalent to calling &lt;a href=&quot;QWizardPage.html#wizard()&quot;&gt;&lt;tt&gt;wizard&lt;/tt&gt;&lt;/a&gt;-&amp;gt;field(&lt;/tt&gt;&lt;tt&gt;name&lt;/tt&gt;&lt;/tt&gt;)&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;Example:&lt;/p&gt;
&lt;pre&gt;    void OutputFilesPage::initializePage()
    {
        QString className = field(&amp;quot;className&amp;quot;).toString();
        headerLineEdit-&amp;gt;setText(className.toLower() + &amp;quot;.h&amp;quot;);
        implementationLineEdit-&amp;gt;setText(className.toLower() + &amp;quot;.cpp&amp;quot;);
        outputDirLineEdit-&amp;gt;setText(QDir::convertSeparators(QDir::tempPath()));
    }&lt;/pre&gt;

@see &lt;tt&gt;QWizard::field&lt;/tt&gt;
@see &lt;a href=&quot;QWizardPage.html#setField(java.lang.String, java.lang.Object)&quot;&gt;&lt;tt&gt;setField&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;registerField&lt;/tt&gt; */"/>
    <method name="public final boolean isCommitPage()" doc="/**
&lt;p&gt;Returns true if this page is a commit page; otherwise returns false.&lt;/p&gt;

@see &lt;a href=&quot;QWizardPage.html#setCommitPage(boolean)&quot;&gt;&lt;tt&gt;setCommitPage&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean isFinalPage()" doc="/**
&lt;p&gt;This function is called by &lt;a href=&quot;QWizard.html&quot;&gt;&lt;tt&gt;QWizard&lt;/tt&gt;&lt;/a&gt; to determine whether the &lt;b&gt;Finish&lt;/b&gt; button should be shown for this page or not.&lt;/p&gt;
&lt;p&gt;By default, it returns true if there is no next page (i.e&amp;#x2e;, &lt;a href=&quot;QWizardPage.html#nextId()&quot;&gt;&lt;tt&gt;nextId&lt;/tt&gt;&lt;/a&gt; returns -1); otherwise, it returns false.&lt;/p&gt;
&lt;p&gt;By explicitly calling &lt;a href=&quot;QWizardPage.html#setFinalPage(boolean)&quot;&gt;&lt;tt&gt;setFinalPage&lt;/tt&gt;&lt;/a&gt;(true), you can let the user perform an &amp;quot;early finish&amp;quot;.&lt;/p&gt;

@see &lt;a href=&quot;QWizardPage.html#isComplete()&quot;&gt;&lt;tt&gt;isComplete&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QWizard::HaveFinishButtonOnEarlyPages&lt;/tt&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QPixmap pixmap(com.trolltech.qt.gui.QWizard.WizardPixmap which)" doc="/**
&lt;p&gt;Returns the pixmap set for role &lt;tt&gt;which&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;Pixmaps can also be set for the entire wizard using QWizard::setPixmap(), in which case they apply for all pages that don't specify a pixmap.&lt;/p&gt;

@see &lt;a href=&quot;QWizardPage.html#setPixmap(com.trolltech.qt.gui.QWizard.WizardPixmap, com.trolltech.qt.gui.QPixmap)&quot;&gt;&lt;tt&gt;setPixmap&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QWizard::pixmap&lt;/tt&gt;
@see &lt;a href=&quot;QWizard.html#elements-of-a-wizard-page&quot;&gt;Elements of a Wizard Page&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setButtonText(com.trolltech.qt.gui.QWizard.WizardButton which, java.lang.String text)" doc="/**
&lt;p&gt;Sets the text on button &lt;tt&gt;which&lt;/tt&gt; to be &lt;tt&gt;text&lt;/tt&gt; on this page.&lt;/p&gt;
&lt;p&gt;By default, the text on buttons depends on the QWizard::wizardStyle, but may be redefined for the wizard as a whole using QWizard::setButtonText().&lt;/p&gt;

@see &lt;a href=&quot;QWizardPage.html#buttonText(com.trolltech.qt.gui.QWizard.WizardButton)&quot;&gt;&lt;tt&gt;buttonText&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QWizard::setButtonText&lt;/tt&gt;
@see &lt;tt&gt;QWizard::buttonText&lt;/tt&gt; */"/>
    <method name="public final void setCommitPage(boolean commitPage)" doc="/**
&lt;p&gt;Sets this page to be a commit page if &lt;tt&gt;commitPage&lt;/tt&gt; is true; otherwise, sets it to be a normal page.&lt;/p&gt;
&lt;p&gt;A commit page is a page that represents an action which cannot be undone by clicking &lt;b&gt;Back&lt;/b&gt; or &lt;b&gt;Cancel&lt;/b&gt;.&lt;/p&gt;
&lt;p&gt;A &lt;b&gt;Commit&lt;/b&gt; button replaces the &lt;b&gt;Next&lt;/b&gt; button on a commit page. Clicking this button simply calls QWizard::next() just like clicking &lt;b&gt;Next&lt;/b&gt; does.&lt;/p&gt;
&lt;p&gt;A page entered directly from a commit page has its &lt;b&gt;Back&lt;/b&gt; button disabled.&lt;/p&gt;

@see &lt;a href=&quot;QWizardPage.html#isCommitPage()&quot;&gt;&lt;tt&gt;isCommitPage&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="protected final void setField(java.lang.String name, java.lang.Object value)" doc="/**
&lt;p&gt;Sets the value of the field called &lt;tt&gt;name&lt;/tt&gt; to &lt;tt&gt;value&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;This function can be used to set fields on any page of the wizard. It is equivalent to calling &lt;a href=&quot;QWizardPage.html#wizard()&quot;&gt;&lt;tt&gt;wizard&lt;/tt&gt;&lt;/a&gt;-&amp;gt;setField(&lt;/tt&gt;&lt;tt&gt;name&lt;/tt&gt;&lt;/tt&gt;, &lt;/tt&gt;&lt;tt&gt;value&lt;/tt&gt;&lt;/tt&gt;)&lt;/tt&gt;.&lt;/p&gt;

@see &lt;tt&gt;QWizard::setField&lt;/tt&gt;
@see &lt;a href=&quot;QWizardPage.html#field(java.lang.String)&quot;&gt;&lt;tt&gt;field&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;registerField&lt;/tt&gt; */"/>
    <method name="public final void setFinalPage(boolean finalPage)" doc="/**
&lt;p&gt;Explicitly sets this page to be final if &lt;tt&gt;finalPage&lt;/tt&gt; is true.&lt;/p&gt;
&lt;p&gt;After calling &lt;a href=&quot;QWizardPage.html#setFinalPage(boolean)&quot;&gt;&lt;tt&gt;setFinalPage&lt;/tt&gt;&lt;/a&gt;(true), &lt;a href=&quot;QWizardPage.html#isFinalPage()&quot;&gt;&lt;tt&gt;isFinalPage&lt;/tt&gt;&lt;/a&gt; returns true and the &lt;b&gt;Finish&lt;/b&gt; button is visible (and enabled if &lt;a href=&quot;QWizardPage.html#isComplete()&quot;&gt;&lt;tt&gt;isComplete&lt;/tt&gt;&lt;/a&gt; returns true).&lt;/p&gt;
&lt;p&gt;After calling &lt;a href=&quot;QWizardPage.html#setFinalPage(boolean)&quot;&gt;&lt;tt&gt;setFinalPage&lt;/tt&gt;&lt;/a&gt;(false), &lt;a href=&quot;QWizardPage.html#isFinalPage()&quot;&gt;&lt;tt&gt;isFinalPage&lt;/tt&gt;&lt;/a&gt; returns true if &lt;a href=&quot;QWizardPage.html#nextId()&quot;&gt;&lt;tt&gt;nextId&lt;/tt&gt;&lt;/a&gt; returns -1; otherwise, it returns false.&lt;/p&gt;

@see &lt;a href=&quot;QWizardPage.html#isFinalPage()&quot;&gt;&lt;tt&gt;isFinalPage&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QWizardPage.html#isComplete()&quot;&gt;&lt;tt&gt;isComplete&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QWizard::HaveFinishButtonOnEarlyPages&lt;/tt&gt; */"/>
    <method name="public final void setPixmap(com.trolltech.qt.gui.QWizard.WizardPixmap which, com.trolltech.qt.gui.QPixmap pixmap)" doc="/**
&lt;p&gt;Sets the pixmap for role &lt;tt&gt;which&lt;/tt&gt; to &lt;tt&gt;pixmap&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The pixmaps are used by &lt;a href=&quot;QWizard.html&quot;&gt;&lt;tt&gt;QWizard&lt;/tt&gt;&lt;/a&gt; when displaying a page. Which pixmaps are actually used depend on the &lt;a href=&quot;QWizard.html#wizard-look-and-feel&quot;&gt;wizard style&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Pixmaps can also be set for the entire wizard using QWizard::setPixmap(), in which case they apply for all pages that don't specify a pixmap.&lt;/p&gt;

@see &lt;a href=&quot;QWizardPage.html#pixmap(com.trolltech.qt.gui.QWizard.WizardPixmap)&quot;&gt;&lt;tt&gt;pixmap&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QWizard::setPixmap&lt;/tt&gt;
@see &lt;a href=&quot;QWizard.html#elements-of-a-wizard-page&quot;&gt;Elements of a Wizard Page&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setSubTitle(java.lang.String subTitle)" doc="/**
&lt;p&gt;Sets the subtitle of the page to &lt;tt&gt;subTitle&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The subtitle is shown by the &lt;a href=&quot;QWizard.html&quot;&gt;&lt;tt&gt;QWizard&lt;/tt&gt;&lt;/a&gt;, between the title and the actual page. Subtitles are optional. In ClassicStyle and ModernStyle, using subtitles is necessary to make the header appear. In MacStyle, the subtitle is shown as a text label just above the actual page.&lt;/p&gt;
&lt;p&gt;The subtitle may be plain text or HTML, depending on the value of the &lt;tt&gt;QWizard::subTitleFormat&lt;/tt&gt; property.&lt;/p&gt;

@see &lt;a href=&quot;QWizardPage.html#subTitle()&quot;&gt;&lt;tt&gt;subTitle&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QWizardPage.html#title()&quot;&gt;title&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QWizard::IgnoreSubTitles&lt;/tt&gt;
@see &lt;a href=&quot;QWizard.html#elements-of-a-wizard-page&quot;&gt;Elements of a Wizard Page&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setTitle(java.lang.String title)" doc="/**
&lt;p&gt;Sets the title of the page to &lt;tt&gt;title&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The title is shown by the &lt;a href=&quot;QWizard.html&quot;&gt;&lt;tt&gt;QWizard&lt;/tt&gt;&lt;/a&gt;, above the actual page. All pages should have a title.&lt;/p&gt;
&lt;p&gt;The title may be plain text or HTML, depending on the value of the &lt;tt&gt;QWizard::titleFormat&lt;/tt&gt; property.&lt;/p&gt;

@see &lt;a href=&quot;QWizardPage.html#title()&quot;&gt;&lt;tt&gt;title&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QWizardPage.html#subTitle()&quot;&gt;&lt;tt&gt;subTitle&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QWizard.html#elements-of-a-wizard-page&quot;&gt;Elements of a Wizard Page&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final java.lang.String subTitle()" doc="/**
&lt;p&gt;Returns the subtitle of the page.&lt;/p&gt;
&lt;p&gt;The subtitle is shown by the &lt;a href=&quot;QWizard.html&quot;&gt;&lt;tt&gt;QWizard&lt;/tt&gt;&lt;/a&gt;, between the title and the actual page. Subtitles are optional. In ClassicStyle and ModernStyle, using subtitles is necessary to make the header appear. In MacStyle, the subtitle is shown as a text label just above the actual page.&lt;/p&gt;
&lt;p&gt;The subtitle may be plain text or HTML, depending on the value of the &lt;tt&gt;QWizard::subTitleFormat&lt;/tt&gt; property.&lt;/p&gt;

@see &lt;a href=&quot;QWizardPage.html#setSubTitle(java.lang.String)&quot;&gt;&lt;tt&gt;setSubTitle&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QWizardPage.html#title()&quot;&gt;title&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QWizard::IgnoreSubTitles&lt;/tt&gt;
@see &lt;a href=&quot;QWizard.html#elements-of-a-wizard-page&quot;&gt;Elements of a Wizard Page&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final java.lang.String title()" doc="/**
&lt;p&gt;Returns the title of the page.&lt;/p&gt;
&lt;p&gt;The title is shown by the &lt;a href=&quot;QWizard.html&quot;&gt;&lt;tt&gt;QWizard&lt;/tt&gt;&lt;/a&gt;, above the actual page. All pages should have a title.&lt;/p&gt;
&lt;p&gt;The title may be plain text or HTML, depending on the value of the &lt;tt&gt;QWizard::titleFormat&lt;/tt&gt; property.&lt;/p&gt;

@see &lt;a href=&quot;QWizardPage.html#setTitle(java.lang.String)&quot;&gt;&lt;tt&gt;setTitle&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QWizardPage.html#subTitle()&quot;&gt;&lt;tt&gt;subTitle&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QWizard.html#elements-of-a-wizard-page&quot;&gt;Elements of a Wizard Page&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="protected final com.trolltech.qt.gui.QWizard wizard()" doc="/**
&lt;p&gt;Returns the wizard associated with this page, or 0 if this page hasn't been inserted into a &lt;a href=&quot;QWizard.html&quot;&gt;&lt;tt&gt;QWizard&lt;/tt&gt;&lt;/a&gt; yet.&lt;/p&gt;

@see &lt;tt&gt;QWizard::addPage&lt;/tt&gt;
@see &lt;tt&gt;QWizard::setPage&lt;/tt&gt; */"/>
    <method name="public void cleanupPage()" doc="/**
&lt;p&gt;This virtual function is called by QWizard::cleanupPage() when the user clicks &lt;b&gt;Back&lt;/b&gt; (unless the QWizard::IndependentPages option is set).&lt;/p&gt;
&lt;p&gt;The default implementation resets the page's fields to their original values (the values they had before &lt;a href=&quot;QWizardPage.html#initializePage()&quot;&gt;&lt;tt&gt;initializePage&lt;/tt&gt;&lt;/a&gt; was called).&lt;/p&gt;

@see &lt;tt&gt;QWizard::cleanupPage&lt;/tt&gt;
@see &lt;a href=&quot;QWizardPage.html#initializePage()&quot;&gt;&lt;tt&gt;initializePage&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QWizard::IndependentPages&lt;/tt&gt; */"/>
    <method name="public void initializePage()" doc="/**
&lt;p&gt;This virtual function is called by QWizard::initializePage() to prepare the page just before it is shown. (However, if the &lt;tt&gt;QWizard::IndependentPages&lt;/tt&gt; option is set, this function is only called the first time the page is shown.)&lt;/p&gt;
&lt;p&gt;By reimplementing this function, you can ensure that the page's fields are properly initialized based on fields from previous pages. For example:&lt;/p&gt;
&lt;pre&gt;    void OutputFilesPage::initializePage()
    {
        QString className = field(&amp;quot;className&amp;quot;).toString();
        headerLineEdit-&amp;gt;setText(className.toLower() + &amp;quot;.h&amp;quot;);
        implementationLineEdit-&amp;gt;setText(className.toLower() + &amp;quot;.cpp&amp;quot;);
        outputDirLineEdit-&amp;gt;setText(QDir::convertSeparators(QDir::tempPath()));
    }&lt;/pre&gt;
&lt;p&gt;The default implementation does nothing.&lt;/p&gt;

@see &lt;tt&gt;QWizard::initializePage&lt;/tt&gt;
@see &lt;a href=&quot;QWizardPage.html#cleanupPage()&quot;&gt;&lt;tt&gt;cleanupPage&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QWizard::IndependentPages&lt;/tt&gt; */"/>
    <method name="public boolean isComplete()" doc="/**
&lt;p&gt;This virtual function is called by &lt;a href=&quot;QWizard.html&quot;&gt;&lt;tt&gt;QWizard&lt;/tt&gt;&lt;/a&gt; to determine whether the &lt;b&gt;Next&lt;/b&gt; or &lt;b&gt;Finish&lt;/b&gt; button should be enabled or disabled.&lt;/p&gt;
&lt;p&gt;The default implementation returns true if all &lt;a href=&quot;QWizard.html#mandatory-fields&quot;&gt;mandatory fields&lt;/tt&gt;&lt;/a&gt; are filled; otherwise, it returns false.&lt;/p&gt;
&lt;p&gt;If you reimplement this function, make sure to emit &lt;a href=&quot;QWizardPage.html#completeChanged()&quot;&gt;&lt;tt&gt;completeChanged&lt;/tt&gt;&lt;/a&gt; whenever the value of &lt;a href=&quot;QWizardPage.html#isComplete()&quot;&gt;&lt;tt&gt;isComplete&lt;/tt&gt;&lt;/a&gt; changes, to ensure that &lt;a href=&quot;QWizard.html&quot;&gt;&lt;tt&gt;QWizard&lt;/tt&gt;&lt;/a&gt; updates the enabled or disabled state of its buttons.&lt;/p&gt;

@see &lt;a href=&quot;QWizardPage.html#completeChanged()&quot;&gt;&lt;tt&gt;completeChanged&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QWizardPage.html#isFinalPage()&quot;&gt;&lt;tt&gt;isFinalPage&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public int nextId()" doc="/**
&lt;p&gt;This virtual function is called by QWizard::nextId() to find out which page to show when the user clicks the &lt;b&gt;Next&lt;/b&gt; button.&lt;/p&gt;
&lt;p&gt;By default, this function returns the page with the following ID in the &lt;a href=&quot;QWizard.html&quot;&gt;&lt;tt&gt;QWizard&lt;/tt&gt;&lt;/a&gt;, or -1 if there is no such page.&lt;/p&gt;
&lt;p&gt;By reimplementing this function, you can specify a dynamic page order. For example:&lt;/p&gt;
&lt;pre&gt;    int IntroPage::nextId() const
    {
        if (evaluateRadioButton-&amp;gt;isChecked()) {
            return LicenseWizard::Page_Evaluate;
        } else {
            return LicenseWizard::Page_Register;
        }
    }&lt;/pre&gt;

@see &lt;tt&gt;QWizard::nextId&lt;/tt&gt; */"/>
    <method name="public boolean validatePage()" doc="/**
&lt;p&gt;This virtual function is called by QWizard::validateCurrentPage() when the user clicks &lt;b&gt;Next&lt;/b&gt; or &lt;b&gt;Finish&lt;/b&gt; to perform some last-minute validation. If it returns true, the next page is shown (or the wizard finishes); otherwise, the current page stays up.&lt;/p&gt;
&lt;p&gt;The default implementation returns true.&lt;/p&gt;
&lt;p&gt;When possible, it is usually better style to disable the &lt;b&gt;Next&lt;/b&gt; or &lt;b&gt;Finish&lt;/b&gt; button (by specifying &lt;a href=&quot;QWizard.html#mandatory-fields&quot;&gt;mandatory fields&lt;/tt&gt;&lt;/a&gt; or reimplementing &lt;a href=&quot;QWizardPage.html#isComplete()&quot;&gt;&lt;tt&gt;isComplete&lt;/tt&gt;&lt;/a&gt;) than to reimplement &lt;a href=&quot;QWizardPage.html#validatePage()&quot;&gt;&lt;tt&gt;validatePage&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;tt&gt;QWizard::validateCurrentPage&lt;/tt&gt;
@see &lt;a href=&quot;QWizardPage.html#isComplete()&quot;&gt;&lt;tt&gt;isComplete&lt;/tt&gt;&lt;/a&gt; */"/>
</class>
