diff options
author | Volker Hilsheimer <[email protected]> | 2023-05-16 15:32:28 +0200 |
---|---|---|
committer | Volker Hilsheimer <[email protected]> | 2023-05-16 18:33:18 +0200 |
commit | b7c15f7f24c1f0afcea87b31d3b4e096149c9e7d (patch) | |
tree | e0d96c8eb2239df3d0ab1b7784b3a7dfbb94fb84 /examples/widgets/dialogs/trivialwizard/trivialwizard.cpp | |
parent | 11da92ba94570e5eec01597fe09f0a9a48acc677 (diff) |
Remove the "classwizard" example
It adds nothing new to what the trivial and license wizard examples
show, other than a bunch of somewhat messy and outdated code to generate
C++ code files based on the input.
The example is referenced in a few parts of the documentation, but there
are equivalent snippets in the trivial and license wizard examples, so
point at those instead, and add some relevant API usage where needed.
Pick-to: 6.5
Change-Id: If1ff57e775bad28920d9e019aeccae69d1f4d127
Reviewed-by: Axel Spoerl <[email protected]>
Diffstat (limited to 'examples/widgets/dialogs/trivialwizard/trivialwizard.cpp')
-rw-r--r-- | examples/widgets/dialogs/trivialwizard/trivialwizard.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/widgets/dialogs/trivialwizard/trivialwizard.cpp b/examples/widgets/dialogs/trivialwizard/trivialwizard.cpp index 83de13f0466..b9321338a47 100644 --- a/examples/widgets/dialogs/trivialwizard/trivialwizard.cpp +++ b/examples/widgets/dialogs/trivialwizard/trivialwizard.cpp @@ -86,10 +86,12 @@ int main(int argc, char *argv[]) app.installTranslator(translator); #endif +//! [linearAddPage] QWizard wizard; wizard.addPage(createIntroPage()); wizard.addPage(createRegistrationPage()); wizard.addPage(createConclusionPage()); +//! [linearAddPage] wizard.setWindowTitle("Trivial Wizard"); wizard.show(); |