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

QAbstractPrintDialog from/to and min/max indices not clear

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes