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

Can't close a QPrintDialog from code

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P4: Low
    • None
    • 4.8.5, 5.1.0
    • GUI: Printing
    • None
    • Windows 7 64-bit, OS X 10.8.4
    • macOS

    Description

      QPrintDialog is documented as supporting close() or done(int) methods, but neither have any effect when called.
      The native dialog produced on Windows and Mac do not respond to these calls, and the QPrintDialog* is useless.

      A sample application is attached which demonstrates that calling done() after QPrintDialog::open
      does not close the dialog as documented. There does not appear to be any way to close the dialog
      once it has been displayed without the user clicking Cancel or Print buttons.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              srutledg Shawn Rutledge
              bargonaut Brad Sandman
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes