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

QAbstractPrintDialog from/to and min/max indices not clear

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Invalid
    • P4: Low
    • None
    • 4.6.3
    • GUI: Printing
    • None

    Description

      QAbstractPrintDialog defaults to a fromPage of 0 and a toPage of 0, with a minPage of 1 and a maxPage of INT_MAX.

      This is quite hard to follow: fromPage/toPage appear to be 0-based indices, yet minPage is 1-based.

      It would be clearer if the index base was the same, and the default min/max pages set for a single page (i.e., maxPage == minPage) to match the default from/to pages.

      Attachments

        Issue Links

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

          Activity

            People

              Unassigned Unassigned
              refnum Dair Grant
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes