Definition at line 59 of file qwizard.h.
Public Types
|
| enum |
WizardButton
{
BackButton,
NextButton,
CommitButton,
FinishButton,
CancelButton,
HelpButton,
CustomButton1,
CustomButton2,
CustomButton3,
Stretch,
NoButton = -1,
NStandardButtons = 6,
NButtons
= 9
} |
| enum |
WizardPixmap
{
WatermarkPixmap,
LogoPixmap,
BannerPixmap,
BackgroundPixmap,
NPixmaps
} |
| enum |
WizardStyle
{
ClassicStyle,
ModernStyle,
MacStyle,
AeroStyle,
NStyles
} |
| enum |
WizardOption
{
IndependentPages
= 0x00000001,
IgnoreSubTitles = 0x00000002,
ExtendedWatermarkPixmap = 0x00000004,
NoDefaultButton = 0x00000008,
NoBackButtonOnStartPage
= 0x00000010,
NoBackButtonOnLastPage = 0x00000020,
DisabledBackButtonOnLastPage = 0x00000040,
HaveNextButtonOnLastPage = 0x00000080,
HaveFinishButtonOnEarlyPages
= 0x00000100,
NoCancelButton = 0x00000200,
CancelButtonOnLeft = 0x00000400,
HaveHelpButton = 0x00000800,
HelpButtonOnRight
= 0x00001000,
HaveCustomButton1 = 0x00002000,
HaveCustomButton2 = 0x00004000,
HaveCustomButton3 = 0x00008000
} |
Public Slots
|
| void |
back
() |
| void |
next
() |
| void |
restart
() |
Signals
|
| void |
currentIdChanged
(int id) |
| void |
helpRequested
() |
| void |
customButtonClicked
(int which) |
| void |
pageAdded
(int id) |
| void |
pageRemoved
(int id) |
Public Member Functions
|
| |
QWizard
(QWidget *parent=0,
Qt::WindowFlags flags=0) |
| |
~QWizard
() |
| int |
addPage
(QWizardPage
*page) |
| void |
setPage
(int id, QWizardPage *page) |
| void |
removePage
(int id) |
| QWizardPage * |
page
(int id) const |
| bool |
hasVisitedPage
(int id) const |
| QList< int > |
visitedPages
() const |
| QList< int > |
pageIds
() const |
| void |
setStartId
(int id) |
| int |
startId
() const |
| QWizardPage * |
currentPage
() const |
| int |
currentId
() const |
| virtual
bool |
validateCurrentPage
() |
| virtual
int |
nextId
() const |
| void |
setField
(const QString
&name, const QVariant &value) |
| QVariant |
field
(const QString
&name) const |
| void |
setWizardStyle
(WizardStyle
style) |
| WizardStyle |
wizardStyle
() const |
| void |
setOption
(WizardOption
option, bool on=true) |
| bool |
testOption
(WizardOption
option) const |
| void |
setOptions
(WizardOptions options) |
|
WizardOptions |
options
() const |
| void |
setButtonText
(WizardButton
which, const QString
&text) |
| QString |
buttonText
(WizardButton
which) const |
| void |
setButtonLayout
(const QList<
WizardButton
> &layout) |
| void |
setButton
(WizardButton
which, QAbstractButton *button) |
| QAbstractButton
* |
button
(WizardButton
which) const |
| void |
setTitleFormat
(Qt::TextFormat
format) |
| Qt::TextFormat |
titleFormat
() const |
| void |
setSubTitleFormat
(Qt::TextFormat
format) |
| Qt::TextFormat |
subTitleFormat
() const |
| void |
setPixmap
(WizardPixmap
which, const QPixmap
&pixmap) |
| QPixmap |
pixmap
(WizardPixmap
which) const |
| void |
setSideWidget
(QWidget *widget) |
| QWidget * |
sideWidget
() const |
| void |
setDefaultProperty
(const char *className, const char *property, const char
*changedSignal) |
| void |
setVisible
(bool visible) |
| QSize |
sizeHint
() const |
Protected Member Functions
|
| bool |
event
(QEvent *event) |
| void |
resizeEvent
(QResizeEvent
*event) |
| void |
paintEvent
(QPaintEvent
*event) |
| void |
done
(int result) |
| virtual
void |
initializePage
(int id) |
| virtual
void |
cleanupPage
(int id) |
Properties
|
| WizardStyle |
wizardStyle |
|
WizardOptions |
options |
| Qt::TextFormat |
titleFormat |
| Qt::TextFormat |
subTitleFormat |
| int |
startId |
| int |
currentId |