65 Q_PROPERTY(WizardOptions options READ options WRITE setOptions)
69 Q_PROPERTY(
int currentId READ currentId NOTIFY currentIdChanged)
106 IndependentPages = 0x00000001,
107 IgnoreSubTitles = 0x00000002,
108 ExtendedWatermarkPixmap = 0x00000004,
109 NoDefaultButton = 0x00000008,
110 NoBackButtonOnStartPage = 0x00000010,
111 NoBackButtonOnLastPage = 0x00000020,
112 DisabledBackButtonOnLastPage = 0x00000040,
113 HaveNextButtonOnLastPage = 0x00000080,
114 HaveFinishButtonOnEarlyPages = 0x00000100,
115 NoCancelButton = 0x00000200,
116 CancelButtonOnLeft = 0x00000400,
117 HaveHelpButton = 0x00000800,
118 HelpButtonOnRight = 0x00001000,
119 HaveCustomButton1 = 0x00002000,
120 HaveCustomButton2 = 0x00004000,
121 HaveCustomButton3 = 0x00008000
124 Q_DECLARE_FLAGS(WizardOptions, WizardOption)
131 void removePage(
int id);
133 bool hasVisitedPage(
int id) const;
134 QList<
int> visitedPages() const;
135 QList<
int> pageIds() const;
136 void setStartId(
int id);
139 int currentId() const;
141 virtual
bool validateCurrentPage();
142 virtual
int nextId() const;
147 void setWizardStyle(WizardStyle style);
148 WizardStyle wizardStyle() const;
150 void setOption(WizardOption option,
bool on = true);
151 bool testOption(WizardOption option) const;
152 void setOptions(WizardOptions options);
153 WizardOptions options() const;
155 void setButtonText(WizardButton which, const
QString &text);
156 QString buttonText(WizardButton which) const;
157 void setButtonLayout(const
QList<WizardButton> &layout);
166 QPixmap pixmap(WizardPixmap which) const;
168 void setSideWidget(
QWidget *widget);
171 void setDefaultProperty(const
char *className, const
char *property,
172 const
char *changedSignal);
174 void setVisible(
bool visible);
175 QSize sizeHint() const;
178 void currentIdChanged(
int id);
179 void helpRequested();
180 void customButtonClicked(
int which);
181 void pageAdded(
int id);
182 void pageRemoved(
int id);
190 bool event(
QEvent *event);
193 #if defined(Q_WS_WIN)
194 bool winEvent(
MSG * message,
long * result);
196 void done(
int result);
197 virtual void initializePage(
int id);
198 virtual void cleanupPage(
int id);
210 Q_DECLARE_OPERATORS_FOR_FLAGS(
QWizard::WizardOptions)
212 class QWizardPagePrivate;
214 class Q_GUI_EXPORT QWizardPage : public
QWidget
221 QWizardPage(QWidget *parent = 0);
223 void setTitle(const
QString &title);
225 void setSubTitle(const
QString &subTitle);
227 void setPixmap(
QWizard::WizardPixmap which, const
QPixmap &pixmap);
229 void setFinalPage(
bool finalPage);
230 bool isFinalPage() const;
231 void setCommitPage(
bool commitPage);
232 bool isCommitPage() const;
233 void setButtonText(
QWizard::WizardButton which, const
QString &text);
236 virtual
void initializePage();
237 virtual
void cleanupPage();
238 virtual
bool validatePage();
239 virtual
bool isComplete() const;
240 virtual
int nextId() const;
243 void completeChanged();
248 void registerField(const
QString &name, QWidget *widget, const
char *property = 0,
249 const
char *changedSignal = 0);
253 Q_DISABLE_COPY(QWizardPage)
254 Q_DECLARE_PRIVATE(QWizardPage)
259 friend class QWizardPrivate;
266 #endif // QT_NO_WIZARD
GLXFBConfig Pixmap pixmap
#define Q_PRIVATE_SLOT(d, signature)
#define QT_BEGIN_NAMESPACE
GLenum GLsizei GLenum format
GLsizei const GLfloat * value
GLuint const GLchar * name