Results 1 to 2 of 2

Thread: Printing and QTableWidget

  1. #1
    Join Date
    Mar 2008
    Posts
    8
    Thanks
    1
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Printing and QTableWidget

    Hi all.
    In my program i have table with information and grid. This table is member of QTableWidget. I need to print this table with grid. For it i used this solution. But after print i see black sheet with grid. What is wrong? My sources and printing example are attached.
    Attached Files Attached Files

  2. #2
    Join Date
    Mar 2008
    Posts
    8
    Thanks
    1
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Printing and QTableWidget

    Well, to see white sheet it's necessary to fill pixmap with "Qt:white" before printing. Thanks to blight_ from #qt in freenode.

Similar Threads

  1. Printing QTableWidget
    By rmagro in forum Qt Programming
    Replies: 21
    Last Post: 27th June 2007, 21:06
  2. experiencing problem at printing out QTableWidget
    By rmagro in forum Qt Programming
    Replies: 9
    Last Post: 27th June 2007, 16:04

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.