Results 1 to 2 of 2

Thread: Custom painting in QTableView subclass overlaps with table contents

  1. #1
    Join Date
    Oct 2011
    Posts
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Custom painting in QTableView subclass overlaps with table contents

    I need to paint a custom status bar on the bottom of QTableView but when I do this(in subclassed paintevent) - it essentially hides the 2 last records. Is there a way to limit the area in which QTableview:aintevent will paint its items?

  2. #2
    Join Date
    Feb 2008
    Posts
    491
    Thanks
    12
    Thanked 142 Times in 135 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11

    Default Re: Custom painting in QTableView subclass overlaps with table contents

    Perhaps this thread will help.

Similar Threads

  1. scaling all contents of a QTableView
    By JoZCaVaLLo in forum Qt Programming
    Replies: 0
    Last Post: 9th March 2012, 16:47
  2. Replies: 1
    Last Post: 9th May 2011, 00:13
  3. QTableView resizing to contents.
    By chris_helloworld in forum Qt Programming
    Replies: 2
    Last Post: 24th November 2010, 14:43
  4. Replies: 2
    Last Post: 18th May 2010, 23:44
  5. Copying contents of QTableView cell to clipboard
    By Conel in forum Qt Programming
    Replies: 2
    Last Post: 18th April 2006, 16:50

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.