Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    QTableWidget Printing Question

    General and Desktop
    1
    1
    512
    Loading More Posts
    • 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
      garyvee last edited by

      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 Reply Quote 0
      • First post
        Last post