Results 1 to 5 of 5

Thread: QTableWidget Header Cell Occluded When Rendered to Printer

  1. #1
    Join Date
    Oct 2008
    Location
    Liverpool, NY, USA
    Posts
    3
    Qt products
    Qt4
    Platforms
    MacOS X

    Default QTableWidget Header Cell Occluded When Rendered to Printer

    Hello,

    I am having a problem when rendering a QTableWidget to the printer. Onscreen the image is fine but on paper the right part of the right most horizontal header cell is occluded by a grayish rectangle sized the full height of the cell and the same width as a scrollbar. I am thinking that it must be more than a coincidence that the width is the same as the scrollbar that is not present and should not be present. I have played with varying sizes for rows and columns but the grayish rectangle remains. I have tried setting the vertical scrollbar policy to "Qt::ScrollBarAlwaysOff". This did not solve my problem. Any ideas on where to look further for a possible solution would be greatly appreciated.

    Using Qt 4.7.2 on Mac OS X 10.6.6 with an Epson Stylus Photo R380 printer.

    Thanks,

    Tim Reilly

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: QTableWidget Header Cell Occluded When Rendered to Printer

    I guess we would have to see the printer output first.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Oct 2008
    Location
    Liverpool, NY, USA
    Posts
    3
    Qt products
    Qt4
    Platforms
    MacOS X

    Default Re: QTableWidget Header Cell Occluded When Rendered to Printer

    Here is a picture:

    QtRenderIssue.png

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: QTableWidget Header Cell Occluded When Rendered to Printer

    And the relevant code?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  5. #5
    Join Date
    Oct 2008
    Location
    Liverpool, NY, USA
    Posts
    3
    Qt products
    Qt4
    Platforms
    MacOS X

    Default Re: QTableWidget Header Cell Occluded When Rendered to Printer


Similar Threads

  1. repaint a cell or row in QTableWidget
    By alphaqt in forum Newbie
    Replies: 6
    Last Post: 26th June 2012, 12:21
  2. Getting Cell Content of QTableWidget
    By Kclark in forum Qt Programming
    Replies: 1
    Last Post: 27th December 2010, 14:30
  3. qtablewidget cell's x() , y()
    By BalaQT in forum Qt Programming
    Replies: 1
    Last Post: 7th December 2010, 13:23
  4. Replies: 1
    Last Post: 7th December 2009, 19:56
  5. Close a QtableWidget cell
    By SailinShoes in forum Qt Programming
    Replies: 2
    Last Post: 7th March 2008, 15:03

Tags for this Thread

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.