Results 1 to 6 of 6

Thread: problem printing a QTableWidget

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: problem printing a QTableWidget

    EDIT
    Deleted
    Last edited by high_flyer; 29th December 2009 at 10:32.
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

  2. #2
    Join Date
    Jun 2007
    Location
    italy
    Posts
    126
    Thanks
    15
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: problem printing a QTableWidget

    Any help??
    with Qt 4.2.2 the code works good. With higher version it stops working correctly. I mean it does not print QtableWidget but only a blod black line..
    Thx
    Roby

  3. #3
    Join Date
    Jan 2008
    Location
    Poland
    Posts
    687
    Thanks
    4
    Thanked 140 Times in 132 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: problem printing a QTableWidget

    I didn't inspect your code much but I imagine you use paint events to paint table widget on a pixmap? If so then just use QWidget::render() - much more simple, so much less space for mistake.
    I would like to be a "Guru"

    Useful hints (try them before asking):
    1. Use Qt Assistant
    2. Search the forum

    If you haven't found solution yet then create new topic with smart question.

  4. The following user says thank you to faldzip for this useful post:

    rmagro (11th January 2010)

Similar Threads

  1. Replies: 6
    Last Post: 22nd November 2016, 13:57
  2. Replies: 0
    Last Post: 9th February 2009, 20:57
  3. QTableWidget problem
    By MarkoSan in forum Qt Programming
    Replies: 53
    Last Post: 7th May 2008, 11:15
  4. problem in printing QTableView
    By miguel_mark in forum Qt Programming
    Replies: 2
    Last Post: 6th February 2008, 08:19
  5. Replies: 16
    Last Post: 7th March 2006, 15:57

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
  •  
Qt is a trademark of The Qt Company.