Sophie

Sophie

distrib > Mageia > 6 > armv5tl > media > core-updates > by-pkgid > 768f7d9f703884aa2562bf0a651086df > files > 3728

qtbase5-doc-5.9.4-1.1.mga6.noarch.rpm

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- classwizard.qdoc -->
  <title>Class Wizard Example | Qt Widgets 5.9</title>
  <link rel="stylesheet" type="text/css" href="style/offline-simple.css" />
  <script type="text/javascript">
    document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css");
    // loading style sheet breaks anchors that were jumped to before
    // so force jumping to anchor again
    setTimeout(function() {
        var anchor = location.hash;
        // need to jump to different anchor first (e.g. none)
        location.hash = "#";
        setTimeout(function() {
            location.hash = anchor;
        }, 0);
    }, 0);
  </script>
</head>
<body>
<div class="header" id="qtdocheader">
  <div class="main">
    <div class="main-rounded">
      <div class="navigationbar">
        <table><tr>
<td >Qt 5.9</td><td ><a href="qtwidgets-index.html">Qt Widgets</a></td><td ><a href="examples-dialogs.html">Dialog Examples</a></td><td >Class Wizard Example</td></tr></table><table class="buildversion"><tr>
<td id="buildversion" width="100%" align="right">Qt 5.9.4 Reference Documentation</td>
        </tr></table>
      </div>
    </div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="sidebar">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#classwizard-class-definition">ClassWizard Class Definition</a></li>
<li class="level1"><a href="#the-classwizard-class">The ClassWizard Class</a></li>
<li class="level1"><a href="#the-intropage-class">The IntroPage Class</a></li>
<li class="level1"><a href="#the-classinfopage-class">The ClassInfoPage Class</a></li>
<li class="level1"><a href="#the-codestylepage-class">The CodeStylePage Class</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">Class Wizard Example</h1>
<span class="subtitle"></span>
<!-- $$$dialogs/classwizard-description -->
<div class="descr"> <a name="details"></a>
<p class="centerAlign"><img src="images/classwizard.png" alt="Screenshot of the Class Wizard example" /></p><p>Most wizards have a linear structure, with page 1 followed by page 2 and so on until the last page. Some wizards are more complex in that they allow different traversal paths based on the information provided by the user. The <a href="qtwidgets-dialogs-licensewizard-example.html">License Wizard</a> example shows how to create such wizards.</p>
<p>The Class Wizard example consists of the following classes:</p>
<ul>
<li><code>ClassWizard</code> inherits <a href="qwizard.html">QWizard</a> and provides a three-step wizard that generates the skeleton of a C++ class based on the user's input.</li>
<li><code>IntroPage</code>, <code>ClassInfoPage</code>, <code>CodeStylePage</code>, <code>OutputFilesPage</code>, and <code>ConclusionPage</code> are <a href="qwizardpage.html">QWizardPage</a> subclasses that implement the wizard pages.</li>
</ul>
<a name="classwizard-class-definition"></a>
<h2 id="classwizard-class-definition">ClassWizard Class Definition</h2>
<p class="centerAlign"><img src="images/classwizard-flow.png" alt="The Class Wizard pages" /></p><p>We will see how to subclass <a href="qwizard.html">QWizard</a> to implement our own wizard. The concrete wizard class is called <code>ClassWizard</code> and provides five pages:</p>
<ul>
<li>The first page is an introduction page, telling the user what the wizard is going to do.</li>
<li>The second page asks for a class name and a base class, and allows the user to specify whether the class should have a <code>Q_OBJECT</code> macro and what constructors it should provide.</li>
<li>The third page allows the user to set some options related to the code style, such as the macro used to protect the header file from multiple inclusion (e.g&#x2e;, <code>MYDIALOG_H</code>).</li>
<li>The fourth page allows the user to specify the names of the output files.</li>
<li>The fifth page is a conclusion page.</li>
</ul>
<p>Although the program is just an example, if you press <b>Finish</b> (<b>Done</b> on macOS), actual C++ source files will actually be generated.</p>
<a name="the-classwizard-class"></a>
<h2 id="the-classwizard-class">The ClassWizard Class</h2>
<p>Here's the <code>ClassWizard</code> definition:</p>
<pre class="cpp">

  <span class="keyword">class</span> ClassWizard : <span class="keyword">public</span> <span class="type"><a href="qwizard.html">QWizard</a></span>
  {
      Q_OBJECT

  <span class="keyword">public</span>:
      ClassWizard(<span class="type"><a href="qwidget.html">QWidget</a></span> <span class="operator">*</span>parent <span class="operator">=</span> <span class="number">0</span>);

      <span class="type">void</span> accept() override;
  };

</pre>
<p>The class reimplements <a href="qdialog.html">QDialog</a>'s <a href="qdialog.html#accept">accept()</a> slot. This slot is called when the user clicks <b>Finish</b>.</p>
<p>Here's the constructor:</p>
<pre class="cpp">

  ClassWizard<span class="operator">::</span>ClassWizard(<span class="type"><a href="qwidget.html">QWidget</a></span> <span class="operator">*</span>parent)
      : <span class="type"><a href="qwizard.html">QWizard</a></span>(parent)
  {
      addPage(<span class="keyword">new</span> IntroPage);
      addPage(<span class="keyword">new</span> ClassInfoPage);
      addPage(<span class="keyword">new</span> CodeStylePage);
      addPage(<span class="keyword">new</span> OutputFilesPage);
      addPage(<span class="keyword">new</span> ConclusionPage);

      setPixmap(<span class="type"><a href="qwizard.html">QWizard</a></span><span class="operator">::</span>BannerPixmap<span class="operator">,</span> <span class="type"><a href="../qtgui/qpixmap.html">QPixmap</a></span>(<span class="string">&quot;:/images/banner.png&quot;</span>));
      setPixmap(<span class="type"><a href="qwizard.html">QWizard</a></span><span class="operator">::</span>BackgroundPixmap<span class="operator">,</span> <span class="type"><a href="../qtgui/qpixmap.html">QPixmap</a></span>(<span class="string">&quot;:/images/background.png&quot;</span>));

      setWindowTitle(tr(<span class="string">&quot;Class Wizard&quot;</span>));
  }

</pre>
<p>We instantiate the five pages and insert them into the wizard using <a href="qwizard.html#addPage">QWizard::addPage</a>(). The order in which they are inserted is also the order in which they will be shown later on.</p>
<p>We call <a href="qwizard.html#setPixmap">QWizard::setPixmap</a>() to set the banner and the background pixmaps for all pages. The banner is used as a background for the page header when the wizard's style is <a href="qwizard.html#WizardStyle-enum">ModernStyle</a>; the background is used as the dialog's background in <a href="qwizard.html#WizardStyle-enum">MacStyle</a>. (See <a href="qwizard.html#elements-of-a-wizard-page">Elements of a Wizard Page</a> for more information.)</p>
<pre class="cpp">

  <span class="type">void</span> ClassWizard<span class="operator">::</span>accept()
  {
      <span class="type"><a href="../qtcore/qbytearray.html">QByteArray</a></span> className <span class="operator">=</span> field(<span class="string">&quot;className&quot;</span>)<span class="operator">.</span>toByteArray();
      <span class="type"><a href="../qtcore/qbytearray.html">QByteArray</a></span> baseClass <span class="operator">=</span> field(<span class="string">&quot;baseClass&quot;</span>)<span class="operator">.</span>toByteArray();
      <span class="type"><a href="../qtcore/qbytearray.html">QByteArray</a></span> macroName <span class="operator">=</span> field(<span class="string">&quot;macroName&quot;</span>)<span class="operator">.</span>toByteArray();
      <span class="type"><a href="../qtcore/qbytearray.html">QByteArray</a></span> baseInclude <span class="operator">=</span> field(<span class="string">&quot;baseInclude&quot;</span>)<span class="operator">.</span>toByteArray();

      <span class="type"><a href="../qtcore/qstring.html">QString</a></span> outputDir <span class="operator">=</span> field(<span class="string">&quot;outputDir&quot;</span>)<span class="operator">.</span>toString();
      <span class="type"><a href="../qtcore/qstring.html">QString</a></span> header <span class="operator">=</span> field(<span class="string">&quot;header&quot;</span>)<span class="operator">.</span>toString();
      <span class="type"><a href="../qtcore/qstring.html">QString</a></span> implementation <span class="operator">=</span> field(<span class="string">&quot;implementation&quot;</span>)<span class="operator">.</span>toString();
      ...
      <span class="type"><a href="qdialog.html">QDialog</a></span><span class="operator">::</span>accept();
  }

</pre>
<p>If the user clicks <b>Finish</b>, we extract the information from the various pages using <a href="qwizard.html#field">QWizard::field</a>() and generate the files. The code is long and tedious (and has barely anything to do with noble art of designing wizards), so most of it is skipped here. See the actual example in the Qt distribution for the details if you're curious.</p>
<a name="the-intropage-class"></a>
<h2 id="the-intropage-class">The IntroPage Class</h2>
<p>The pages are defined in <code>classwizard.h</code> and implemented in <code>classwizard.cpp</code>, together with <code>ClassWizard</code>. We will start with the easiest page:</p>
<pre class="cpp">

  <span class="keyword">class</span> IntroPage : <span class="keyword">public</span> <span class="type"><a href="qwizardpage.html">QWizardPage</a></span>
  {
      Q_OBJECT

  <span class="keyword">public</span>:
      IntroPage(<span class="type"><a href="qwidget.html">QWidget</a></span> <span class="operator">*</span>parent <span class="operator">=</span> <span class="number">0</span>);

  <span class="keyword">private</span>:
      <span class="type"><a href="qlabel.html">QLabel</a></span> <span class="operator">*</span>label;
  };

  IntroPage<span class="operator">::</span>IntroPage(<span class="type"><a href="qwidget.html">QWidget</a></span> <span class="operator">*</span>parent)
      : <span class="type"><a href="qwizardpage.html">QWizardPage</a></span>(parent)
  {
      setTitle(tr(<span class="string">&quot;Introduction&quot;</span>));
      setPixmap(<span class="type"><a href="qwizard.html">QWizard</a></span><span class="operator">::</span>WatermarkPixmap<span class="operator">,</span> <span class="type"><a href="../qtgui/qpixmap.html">QPixmap</a></span>(<span class="string">&quot;:/images/watermark1.png&quot;</span>));

      label <span class="operator">=</span> <span class="keyword">new</span> <span class="type"><a href="qlabel.html">QLabel</a></span>(tr(<span class="string">&quot;This wizard will generate a skeleton C++ class &quot;</span>
                            <span class="string">&quot;definition, including a few functions. You simply &quot;</span>
                            <span class="string">&quot;need to specify the class name and set a few &quot;</span>
                            <span class="string">&quot;options to produce a header file and an &quot;</span>
                            <span class="string">&quot;implementation file for your new C++ class.&quot;</span>));
      label<span class="operator">-</span><span class="operator">&gt;</span>setWordWrap(<span class="keyword">true</span>);

      <span class="type"><a href="qvboxlayout.html">QVBoxLayout</a></span> <span class="operator">*</span>layout <span class="operator">=</span> <span class="keyword">new</span> <span class="type"><a href="qvboxlayout.html">QVBoxLayout</a></span>;
      layout<span class="operator">-</span><span class="operator">&gt;</span>addWidget(label);
      setLayout(layout);
  }

</pre>
<p>A page inherits from <a href="qwizardpage.html">QWizardPage</a>. We set a <a href="qwizardpage.html#title-prop">title</a> and a <a href="qwizard.html#WizardPixmap-enum">watermark pixmap</a>. By not setting any <a href="qwizardpage.html#subTitle-prop">subTitle</a>, we ensure that no header is displayed for this page. (On Windows, it is customary for wizards to display a watermark pixmap on the first and last pages, and to have a header on the other pages.)</p>
<p>Then we create a <a href="qlabel.html">QLabel</a> and add it to a layout.</p>
<a name="the-classinfopage-class"></a>
<h2 id="the-classinfopage-class">The ClassInfoPage Class</h2>
<p>The second page is defined and implemented as follows:</p>
<pre class="cpp">

  <span class="keyword">class</span> ClassInfoPage : <span class="keyword">public</span> <span class="type"><a href="qwizardpage.html">QWizardPage</a></span>
  {
      Q_OBJECT

  <span class="keyword">public</span>:
      ClassInfoPage(<span class="type"><a href="qwidget.html">QWidget</a></span> <span class="operator">*</span>parent <span class="operator">=</span> <span class="number">0</span>);

  <span class="keyword">private</span>:
      <span class="type"><a href="qlabel.html">QLabel</a></span> <span class="operator">*</span>classNameLabel;
      <span class="type"><a href="qlabel.html">QLabel</a></span> <span class="operator">*</span>baseClassLabel;
      <span class="type"><a href="qlineedit.html">QLineEdit</a></span> <span class="operator">*</span>classNameLineEdit;
      <span class="type"><a href="qlineedit.html">QLineEdit</a></span> <span class="operator">*</span>baseClassLineEdit;
      <span class="type"><a href="qcheckbox.html">QCheckBox</a></span> <span class="operator">*</span>qobjectMacroCheckBox;
      <span class="type"><a href="qgroupbox.html">QGroupBox</a></span> <span class="operator">*</span>groupBox;
      <span class="type"><a href="qradiobutton.html">QRadioButton</a></span> <span class="operator">*</span>qobjectCtorRadioButton;
      <span class="type"><a href="qradiobutton.html">QRadioButton</a></span> <span class="operator">*</span>qwidgetCtorRadioButton;
      <span class="type"><a href="qradiobutton.html">QRadioButton</a></span> <span class="operator">*</span>defaultCtorRadioButton;
      <span class="type"><a href="qcheckbox.html">QCheckBox</a></span> <span class="operator">*</span>copyCtorCheckBox;
  };

  ClassInfoPage<span class="operator">::</span>ClassInfoPage(<span class="type"><a href="qwidget.html">QWidget</a></span> <span class="operator">*</span>parent)
      : <span class="type"><a href="qwizardpage.html">QWizardPage</a></span>(parent)
  {
      setTitle(tr(<span class="string">&quot;Class Information&quot;</span>));
      setSubTitle(tr(<span class="string">&quot;Specify basic information about the class for which you &quot;</span>
                     <span class="string">&quot;want to generate skeleton source code files.&quot;</span>));
      setPixmap(<span class="type"><a href="qwizard.html">QWizard</a></span><span class="operator">::</span>LogoPixmap<span class="operator">,</span> <span class="type"><a href="../qtgui/qpixmap.html">QPixmap</a></span>(<span class="string">&quot;:/images/logo1.png&quot;</span>));

      classNameLabel <span class="operator">=</span> <span class="keyword">new</span> <span class="type"><a href="qlabel.html">QLabel</a></span>(tr(<span class="string">&quot;&amp;Class name:&quot;</span>));
      classNameLineEdit <span class="operator">=</span> <span class="keyword">new</span> <span class="type"><a href="qlineedit.html">QLineEdit</a></span>;
      classNameLabel<span class="operator">-</span><span class="operator">&gt;</span>setBuddy(classNameLineEdit);

      baseClassLabel <span class="operator">=</span> <span class="keyword">new</span> <span class="type"><a href="qlabel.html">QLabel</a></span>(tr(<span class="string">&quot;B&amp;ase class:&quot;</span>));
      baseClassLineEdit <span class="operator">=</span> <span class="keyword">new</span> <span class="type"><a href="qlineedit.html">QLineEdit</a></span>;
      baseClassLabel<span class="operator">-</span><span class="operator">&gt;</span>setBuddy(baseClassLineEdit);

      qobjectMacroCheckBox <span class="operator">=</span> <span class="keyword">new</span> <span class="type"><a href="qcheckbox.html">QCheckBox</a></span>(tr(<span class="string">&quot;Generate Q_OBJECT &amp;macro&quot;</span>));

      groupBox <span class="operator">=</span> <span class="keyword">new</span> <span class="type"><a href="qgroupbox.html">QGroupBox</a></span>(tr(<span class="string">&quot;C&amp;onstructor&quot;</span>));
      ...
      registerField(<span class="string">&quot;className*&quot;</span><span class="operator">,</span> classNameLineEdit);
      registerField(<span class="string">&quot;baseClass&quot;</span><span class="operator">,</span> baseClassLineEdit);
      registerField(<span class="string">&quot;qobjectMacro&quot;</span><span class="operator">,</span> qobjectMacroCheckBox);
      registerField(<span class="string">&quot;qobjectCtor&quot;</span><span class="operator">,</span> qobjectCtorRadioButton);
      registerField(<span class="string">&quot;qwidgetCtor&quot;</span><span class="operator">,</span> qwidgetCtorRadioButton);
      registerField(<span class="string">&quot;defaultCtor&quot;</span><span class="operator">,</span> defaultCtorRadioButton);
      registerField(<span class="string">&quot;copyCtor&quot;</span><span class="operator">,</span> copyCtorCheckBox);

      <span class="type"><a href="qvboxlayout.html">QVBoxLayout</a></span> <span class="operator">*</span>groupBoxLayout <span class="operator">=</span> <span class="keyword">new</span> <span class="type"><a href="qvboxlayout.html">QVBoxLayout</a></span>;
      ...
  }

</pre>
<p>First, we set the page's <a href="qwizardpage.html#title-prop">title</a>, <a href="qwizardpage.html#subTitle-prop">subTitle</a>, and <a href="qwizard.html#WizardPixmap-enum">logo pixmap</a>. The logo pixmap is displayed in the page's header in <a href="qwizard.html#WizardStyle-enum">ClassicStyle</a> and <a href="qwizard.html#WizardStyle-enum">ModernStyle</a>.</p>
<p>Then we create the child widgets, create <a href="qwizard.html#registering-and-using-fields">wizard fields</a> associated with them, and put them into layouts. The <code>className</code> field is created with an asterisk (<code>*</code>) next to its name. This makes it a <a href="qwizard.html#mandatory-fields">mandatory field</a>, that is, a field that must be filled before the user can press the <b>Next</b> button (<b>Continue</b> on macOS). The fields' values can be accessed from any other page using <a href="qwizardpage.html#field">QWizardPage::field</a>(), or from the wizard code using <a href="qwizard.html#field">QWizard::field</a>().</p>
<a name="the-codestylepage-class"></a>
<h2 id="the-codestylepage-class">The CodeStylePage Class</h2>
<p>The third page is defined and implemented as follows:</p>
<pre class="cpp">

  <span class="keyword">class</span> CodeStylePage : <span class="keyword">public</span> <span class="type"><a href="qwizardpage.html">QWizardPage</a></span>
  {
      Q_OBJECT

  <span class="keyword">public</span>:
      CodeStylePage(<span class="type"><a href="qwidget.html">QWidget</a></span> <span class="operator">*</span>parent <span class="operator">=</span> <span class="number">0</span>);

  <span class="keyword">protected</span>:
      <span class="type">void</span> initializePage() override;

  <span class="keyword">private</span>:
      <span class="type"><a href="qcheckbox.html">QCheckBox</a></span> <span class="operator">*</span>commentCheckBox;
      <span class="type"><a href="qcheckbox.html">QCheckBox</a></span> <span class="operator">*</span>protectCheckBox;
      <span class="type"><a href="qcheckbox.html">QCheckBox</a></span> <span class="operator">*</span>includeBaseCheckBox;
      <span class="type"><a href="qlabel.html">QLabel</a></span> <span class="operator">*</span>macroNameLabel;
      <span class="type"><a href="qlabel.html">QLabel</a></span> <span class="operator">*</span>baseIncludeLabel;
      <span class="type"><a href="qlineedit.html">QLineEdit</a></span> <span class="operator">*</span>macroNameLineEdit;
      <span class="type"><a href="qlineedit.html">QLineEdit</a></span> <span class="operator">*</span>baseIncludeLineEdit;
  };

  CodeStylePage<span class="operator">::</span>CodeStylePage(<span class="type"><a href="qwidget.html">QWidget</a></span> <span class="operator">*</span>parent)
      : <span class="type"><a href="qwizardpage.html">QWizardPage</a></span>(parent)
  {
      setTitle(tr(<span class="string">&quot;Code Style Options&quot;</span>));
      setSubTitle(tr(<span class="string">&quot;Choose the formatting of the generated code.&quot;</span>));
      setPixmap(<span class="type"><a href="qwizard.html">QWizard</a></span><span class="operator">::</span>LogoPixmap<span class="operator">,</span> <span class="type"><a href="../qtgui/qpixmap.html">QPixmap</a></span>(<span class="string">&quot;:/images/logo2.png&quot;</span>));

      commentCheckBox <span class="operator">=</span> <span class="keyword">new</span> <span class="type"><a href="qcheckbox.html">QCheckBox</a></span>(tr(<span class="string">&quot;&amp;Start generated files with a &quot;</span>
      ...
      setLayout(layout);
  }

  <span class="type">void</span> CodeStylePage<span class="operator">::</span>initializePage()
  {
      <span class="type"><a href="../qtcore/qstring.html">QString</a></span> className <span class="operator">=</span> field(<span class="string">&quot;className&quot;</span>)<span class="operator">.</span>toString();
      macroNameLineEdit<span class="operator">-</span><span class="operator">&gt;</span>setText(className<span class="operator">.</span>toUpper() <span class="operator">+</span> <span class="string">&quot;_H&quot;</span>);

      <span class="type"><a href="../qtcore/qstring.html">QString</a></span> baseClass <span class="operator">=</span> field(<span class="string">&quot;baseClass&quot;</span>)<span class="operator">.</span>toString();

      includeBaseCheckBox<span class="operator">-</span><span class="operator">&gt;</span>setChecked(<span class="operator">!</span>baseClass<span class="operator">.</span>isEmpty());
      includeBaseCheckBox<span class="operator">-</span><span class="operator">&gt;</span>setEnabled(<span class="operator">!</span>baseClass<span class="operator">.</span>isEmpty());
      baseIncludeLabel<span class="operator">-</span><span class="operator">&gt;</span>setEnabled(<span class="operator">!</span>baseClass<span class="operator">.</span>isEmpty());
      baseIncludeLineEdit<span class="operator">-</span><span class="operator">&gt;</span>setEnabled(<span class="operator">!</span>baseClass<span class="operator">.</span>isEmpty());

      <span class="type"><a href="../qtcore/qregularexpression.html">QRegularExpression</a></span> rx(<span class="string">&quot;Q[A-Z].*&quot;</span>);
      <span class="keyword">if</span> (baseClass<span class="operator">.</span>isEmpty()) {
          baseIncludeLineEdit<span class="operator">-</span><span class="operator">&gt;</span>clear();
      } <span class="keyword">else</span> <span class="keyword">if</span> (rx<span class="operator">.</span>match(baseClass)<span class="operator">.</span>hasMatch()) {
          baseIncludeLineEdit<span class="operator">-</span><span class="operator">&gt;</span>setText(<span class="char">'&lt;'</span> <span class="operator">+</span> baseClass <span class="operator">+</span> <span class="char">'&gt;'</span>);
      } <span class="keyword">else</span> {
          baseIncludeLineEdit<span class="operator">-</span><span class="operator">&gt;</span>setText(<span class="char">'&quot;'</span> <span class="operator">+</span> baseClass<span class="operator">.</span>toLower() <span class="operator">+</span> <span class="string">&quot;.h\&quot;&quot;</span>);
      }
  }

</pre>
<p>The code in the constructor is very similar to what we did for <code>ClassInfoPage</code>, so we skipped most of it.</p>
<p>The <code>initializePage()</code> function is what makes this class interesting. It is reimplemented from <a href="qwizardpage.html">QWizardPage</a> and is used to initialize some of the page's fields with values from the previous page (namely, <code>className</code> and <code>baseClass</code>). For example, if the class name on page 2 is <code>SuperDuperWidget</code>, the default macro name on page 3 is <code>SUPERDUPERWIDGET_H</code>.</p>
<p>The <code>OutputFilesPage</code> and <code>ConclusionPage</code> classes are very similar to <code>CodeStylePage</code>, so we won't review them here.</p>
<p>Files:</p>
<ul>
<li><a href="qtwidgets-dialogs-classwizard-classwizard-cpp.html">dialogs/classwizard/classwizard.cpp</a></li>
<li><a href="qtwidgets-dialogs-classwizard-classwizard-h.html">dialogs/classwizard/classwizard.h</a></li>
<li><a href="qtwidgets-dialogs-classwizard-main-cpp.html">dialogs/classwizard/main.cpp</a></li>
<li><a href="qtwidgets-dialogs-classwizard-classwizard-pro.html">dialogs/classwizard/classwizard.pro</a></li>
<li><a href="qtwidgets-dialogs-classwizard-classwizard-qrc.html">dialogs/classwizard/classwizard.qrc</a></li>
</ul>
<p>Images:</p>
<ul>
<li><a href="images/used-in-examples/dialogs/classwizard/images/background.png">dialogs/classwizard/images/background.png</a></li>
<li><a href="images/used-in-examples/dialogs/classwizard/images/banner.png">dialogs/classwizard/images/banner.png</a></li>
<li><a href="images/used-in-examples/dialogs/classwizard/images/logo1.png">dialogs/classwizard/images/logo1.png</a></li>
<li><a href="images/used-in-examples/dialogs/classwizard/images/logo2.png">dialogs/classwizard/images/logo2.png</a></li>
<li><a href="images/used-in-examples/dialogs/classwizard/images/logo3.png">dialogs/classwizard/images/logo3.png</a></li>
<li><a href="images/used-in-examples/dialogs/classwizard/images/watermark1.png">dialogs/classwizard/images/watermark1.png</a></li>
<li><a href="images/used-in-examples/dialogs/classwizard/images/watermark2.png">dialogs/classwizard/images/watermark2.png</a></li>
</ul>
</div>
<p><b>See also </b><a href="qwizard.html">QWizard</a>, <a href="qtwidgets-dialogs-licensewizard-example.html">License Wizard Example</a>, and <a href="qtwidgets-dialogs-trivialwizard-example.html">Trivial Wizard Example</a>.</p>
<!-- @@@dialogs/classwizard -->
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</acronym> 2017 The Qt Company Ltd.
   Documentation contributions included herein are the copyrights of
   their respective owners.<br>    The documentation provided herein is licensed under the terms of the    <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation    License version 1.3</a> as published by the Free Software Foundation.<br>    Qt and respective logos are trademarks of The Qt Company Ltd.     in Finland and/or other countries worldwide. All other trademarks are property
   of their respective owners. </p>
</div>
</body>
</html>