Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Recover QPrintDialog range on linux.
Qt 6.11 is out! See what's new in the release blog

Recover QPrintDialog range on linux.

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 292 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • SMF-QtS Offline
    SMF-QtS Offline
    SMF-Qt
    wrote on last edited by
    #1

    When I run QPrintDialog under the options in the dialog box I get 3 options for print range:
    Print all
    Pages from .. to
    Pages

    When I select "Pages from .. to" QPrint printRange returns QPrinter::PageRange and fromPage and toPage return appropriate numbers. If I select Pages and enter a range QPrint printRange returns QPrinter::AllPages. My questions are why is printRange returning QPrinter::AllPages and how do I recover the ranges I have entered. My build is Qt 5.14.0 and is running on linux 5.11.16.
    Thanks

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved