Results 1 to 3 of 3

Thread: QTableView restrict ScrollArea

  1. #1
    Join Date
    Apr 2009
    Posts
    9
    Qt products
    Qt4
    Platforms
    Windows

    Question QTableView restrict ScrollArea

    Hi folks,

    how is it possible to restrict the ScrollArea of a QTableView, so that the first column will always be shown.

    Thanks...

  2. #2
    Join Date
    Feb 2009
    Location
    Noida, India
    Posts
    517
    Thanks
    21
    Thanked 66 Times in 62 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QTableView restrict ScrollArea

    your first column isnt getting shown?

  3. #3
    Join Date
    Apr 2009
    Posts
    9
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: QTableView restrict ScrollArea

    Well, I wan't something like this:

    |id|column1 |column2 |...
    |1 |testentry|testentry|...
    ^ this can be scrolled!
    ^ this will always be in focus / shown

    What I did, I just used two QTableViews and synct. the vertical ScrollBars. But I want it with one QTableView.
    Is that possible?

    thx

Similar Threads

  1. Very high CPU usage with QTableView and MVC
    By montylee in forum Qt Programming
    Replies: 7
    Last Post: 24th March 2009, 06:14
  2. QTableView in ui with model/delegate
    By tpf80 in forum Qt Programming
    Replies: 7
    Last Post: 6th November 2008, 23:00
  3. scrollArea not updating
    By user in forum Qt Programming
    Replies: 9
    Last Post: 3rd October 2007, 08:17
  4. QTableView - Restrict editable rows.
    By jimroos in forum Newbie
    Replies: 2
    Last Post: 4th June 2007, 07:31
  5. Multi-line messages in QTableView
    By Conel in forum Qt Programming
    Replies: 6
    Last Post: 13th April 2006, 13:49

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.