Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-62405

QWizardPage's icon margin is missing with AeroStyle if back button is disabled on last page

    XMLWordPrintable

Details

    Description

      How to reproduce:

      Use licensewizard example.

      In main.cpp, disable back button on last page:

      LicenseWizard wizard;
      wizard.setOptions(QWizard::NoBackButtonOnLastPage);
      wizard.show();
      return app.exec();

      In licensewizard.cpp, set AeroStyle and icon:

      #ifndef Q_OS_MAC
      //! [3] //! [4]
      setWizardStyle(AeroStyle); // or do not set at all
      setWindowIcon(QIcon(":/images/logo.png"));
      #endif

      Run the wizard till last page. Notice the missing icon margin on upper left corner. 

      Attachments

        1. page_1.png
          page_1.png
          10 kB
        2. page_2.png
          page_2.png
          9 kB
        3. page_3.png
          page_3.png
          9 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            iamsergio Sergio Martins
            janjuntu Janne Juntunen
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes