7#include <QtWidgets/qtwidgetsglobal.h>
8#include <QtWidgets/qdialog.h>
22 Q_PROPERTY(WizardOptions options READ options WRITE setOptions)
25 Q_PROPERTY(
int startId READ startId WRITE setStartId)
26 Q_PROPERTY(
int currentId READ currentId WRITE setCurrentId NOTIFY currentIdChanged)
64 IndependentPages = 0x00000001,
65 IgnoreSubTitles = 0x00000002,
66 ExtendedWatermarkPixmap = 0x00000004,
67 NoDefaultButton = 0x00000008,
68 NoBackButtonOnStartPage = 0x00000010,
69 NoBackButtonOnLastPage = 0x00000020,
70 DisabledBackButtonOnLastPage = 0x00000040,
71 HaveNextButtonOnLastPage = 0x00000080,
72 HaveFinishButtonOnEarlyPages = 0x00000100,
73 NoCancelButton = 0x00000200,
74 CancelButtonOnLeft = 0x00000400,
75 HaveHelpButton = 0x00000800,
76 HelpButtonOnRight = 0x00001000,
77 HaveCustomButton1 = 0x00002000,
78 HaveCustomButton2 = 0x00004000,
79 HaveCustomButton3 = 0x00008000,
80 NoCancelButtonOnLastPage = 0x00010000
92 void removePage(
int id);
94 bool hasVisitedPage(
int id)
const;
97 void setStartId(
int id);
100 int currentId()
const;
102 virtual bool validateCurrentPage();
103 virtual int nextId()
const;
108 void setWizardStyle(WizardStyle style);
109 WizardStyle wizardStyle()
const;
111 void setOption(WizardOption
option,
bool on =
true);
112 bool testOption(WizardOption
option)
const;
113 void setOptions(WizardOptions options);
114 WizardOptions options()
const;
116 void setButtonText(WizardButton which,
const QString &
text);
117 QString buttonText(WizardButton which)
const;
133 const char *changedSignal);
148 void setCurrentId(
int id);
155#if defined(Q_OS_WIN) || defined(Q_QDOC)
159 virtual void initializePage(
int id);
160 virtual void cleanupPage(
int id);
188 void setSubTitle(
const QString &subTitle);
192 void setFinalPage(
bool finalPage);
193 bool isFinalPage()
const;
194 void setCommitPage(
bool commitPage);
195 bool isCommitPage()
const;
199 virtual void initializePage();
200 virtual void cleanupPage();
201 virtual bool validatePage();
202 virtual bool isComplete()
const;
203 virtual int nextId()
const;
212 const char *changedSignal =
nullptr);
The QDialog class is the base class of dialog windows.
QSize sizeHint() const override
\reimp
void resizeEvent(QResizeEvent *) override
\reimp
virtual void done(int)
Closes the dialog and sets its result code to r.
The QPaintEvent class contains event parameters for paint events.
Returns a copy of the pixmap that is transformed using the given transformation transform and transfo...
The QResizeEvent class contains event parameters for resize events.
\macro QT_RESTRICTED_CAST_FROM_ASCII
The QWizardPage class is the base class for wizard pages.
void completeChanged()
This signal is emitted whenever the complete state of the page (i.e., the value of isComplete()) chan...
The QWizard class provides a framework for wizards.
WizardOption
This enum specifies various options that affect the look and feel of a wizard.
void helpRequested()
This signal is emitted when the user clicks the \uicontrol Help button.
WizardPixmap
This enum specifies the pixmaps that can be associated with a page.
WizardStyle
This enum specifies the different looks supported by QWizard.
void currentIdChanged(int id)
This signal is emitted when the current page changes, with the new current id.
void customButtonClicked(int which)
This signal is emitted when the user clicks a custom button.
WizardButton
This enum specifies the buttons in a wizard.
Combined button and popup list for selecting options.
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
#define Q_DECLARE_FLAGS(Flags, Enum)
#define Q_DECLARE_OPERATORS_FOR_FLAGS(Flags)
GLuint GLsizei const GLchar * message
GLint GLsizei GLsizei GLenum format
#define QT_REQUIRE_CONFIG(feature)
const char className[16]
[1]
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent