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
Forum Updated to NodeBB v4.3 + New Features

QTableWidget Printing Question

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 615 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.
  • G Offline
    G Offline
    garyvee
    wrote on 8 Dec 2014, 17:07 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

    1/1

    8 Dec 2014, 17:07

    • Login

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