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. Does QPrintDialog open the system print dialog?
QtWS25 Last Chance

Does QPrintDialog open the system print dialog?

Scheduled Pinned Locked Moved Unsolved General and Desktop
qprintdialognative dialog
3 Posts 3 Posters 1.2k 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.
  • S Offline
    S Offline
    stevej
    wrote on 16 Jul 2017, 16:08 last edited by
    #1

    Re: Accessing system printer preferences dialog using c++ In this topic SGaist suggests the QPrintDialog class opens the OS official print dialog. I am using QPrintDialog on the Mint Cinnamon desktop, and the dialog that opens is not the same as the dialog opened by the installed applications (like GEdit). The QPrintDialog dialog has fewer controls, for example. I need the extra controls, and want the dialog the user is accustomed to.

    1 Reply Last reply
    0
    • F Offline
      F Offline
      Fuel
      wrote on 16 Jul 2017, 17:20 last edited by
      #2

      You can build your own Dialog. Just create your own Class and inherit from QPrintDialog and add your own Controls you want.

      1 Reply Last reply
      0
      • A Offline
        A Offline
        artwaw
        wrote on 16 Jul 2017, 18:01 last edited by
        #3

        Hi,
        documentation states that:
        The printer dialog (shown above in Plastique style) enables access to common printing properties. On X11 platforms that use the CUPS printing system, the settings for each available printer can be modified via the dialog's Properties push button.

        On Windows and macOS, the native print dialog is used, which means that some QWidget and QDialog properties set on the dialog won't be respected.

        Therefore you really ask about...?

        For more information please re-read.

        Kind Regards,
        Artur

        1 Reply Last reply
        2

        1/3

        16 Jul 2017, 16:08

        • Login

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