Results 1 to 2 of 2

Thread: QTableWidget - how to place specific cell in top-left corner of viewport?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: QTableWidget - how to place specific cell in top-left corner of viewport?

    Seems like you should be able to combine QTableView::columnViewportPosition() and rowViewportPortPosition() with scroll() to position the cell.

  2. The following user says thank you to ChrisW67 for this useful post:

    alketi (13th May 2013)

Similar Threads

  1. Replies: 4
    Last Post: 13th February 2011, 20:24
  2. Replies: 4
    Last Post: 30th May 2010, 12:55
  3. Replies: 10
    Last Post: 29th May 2010, 18:42
  4. Replies: 1
    Last Post: 25th May 2010, 14:44
  5. QTableWidget - Using top left corner cell
    By SteveH in forum Newbie
    Replies: 6
    Last Post: 12th March 2010, 19:33

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