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. QTableWidget Printing Question
QtWS25 Last Chance

QTableWidget Printing Question

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 614 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.
  • G Offline
    G Offline
    garyvee
    wrote on last edited by
    #1

    I have a QTableWidget based application with 45 columns and perhaps several hundred rows. I am using "this bit of code as a guidance":http://stackoverflow.com/questions/9769680/printing-qtableview-using-render-method on how to resize the content to fit a printed page. It does shrink down the content but some right most columns are clipped and not shown.

    First of all I noticed hidden columns are not excluded from the resulting printed page. Is there some way to exclude hidden columns?

    Next I need to perform page breaks for the several hundred rows. I haven't as yet found a good example on how to achieve this.

    Any help is much appreciated.

    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