Results 1 to 2 of 2

Thread: QTableView Delegate Usage

  1. #1
    Join Date
    Jun 2007
    Location
    India/Bangalore
    Posts
    156
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    26
    Thanked 1 Time in 1 Post

    Thumbs up QTableView Delegate Usage

    Hi All,

    I have one TableView which is having 5 columns , I want to set different delegates for each column , if i insert any data into that it should call paint of corresponding delegate,
    I used setItemDelegateForColumn , but if i insert any data its not calling that corresponding paint.

    how to achieve this ?
    Thanks,
    Rajesh.S

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,373
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    3
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: QTableView Delegate Usage

    Could you show us the code you used? Both of the delegate itself (one is enough) and the code where you set the delegates.

Similar Threads

  1. make QTableView work as a multi-column list view
    By wesley in forum Qt Programming
    Replies: 1
    Last Post: 11th March 2008, 14:43

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.