Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for Python
  4. Fitting Qimage to pdf page when printing QTextBrowser
Forum Updated to NodeBB v4.3 + New Features

Fitting Qimage to pdf page when printing QTextBrowser

Scheduled Pinned Locked Moved Unsolved Qt for Python
1 Posts 1 Posters 456 Views 1 Watching
  • 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.
  • K Offline
    K Offline
    krajcsi
    wrote on last edited by
    #1

    Hi,
    I have a QTextBrowser widget which includes html str parts and QImages. When I print the QTextBroser to a PdfFormat printer, the images that are too large cannot be seen entirely in the pdf file, because the right part of the images that do not fit to the page are beyond the right edge of the paper. Is there a setting or parameter that tells the printing procedure to fit (decrease) those large images to the width of the page automatically?
    Thank you!

    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