Results 1 to 14 of 14

Thread: QTableWidget first column always visible

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2009
    Posts
    1
    Qt products
    Qt Jambi
    Platforms
    Windows

    Default Re: QTableWidget first column always visible

    This thread seems to be interessting over years

    I have exactly the same problem.

    How did u connect the signal of one scrollbar to two tablewidgets?

  2. #2
    Join Date
    Jan 2010
    Posts
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QTableWidget first column always visible

    Hi ,

    I am having the same problem.
    Can some body post the code snippet to make the first column always visible.
    Thanks in advance.

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

    Default Re: QTableWidget first column always visible

    Take a look at the Frozen Column Example from 4.6 (also 4.5.3 and possibly earlier) for a way to "freeze" the first column. It's not too difficult to expand to multiple columns. There are some issues with selections crossing the column boundary and also if the columns can be reordered.

Similar Threads

  1. QTableWidget stretch a column other than the last one
    By roleroz in forum Qt Programming
    Replies: 6
    Last Post: 4th February 2015, 06:35
  2. Replies: 0
    Last Post: 10th November 2006, 13:46
  3. Replies: 6
    Last Post: 13th October 2006, 14:40
  4. QTableWidget column and row sizes
    By Arthur in forum Qt Programming
    Replies: 4
    Last Post: 27th January 2006, 11:03
  5. hidden QListView column suddenly visible
    By edb in forum Qt Programming
    Replies: 10
    Last Post: 27th January 2006, 08:00

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.