Results 1 to 3 of 3

Thread: TableView navigate signal/event

  1. #1
    Join Date
    Oct 2007
    Posts
    65
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    15

    Question TableView navigate signal/event

    Hello all,
    i have a tableview with a custom model and a qlabel (outside the table) showing a pixmap on each line load, i have done emitting a signal from the model to change the pixmap with the new data from database, but when the user navigate (with the keyboard) to the old rows i cant find a way to know it and change the pixmap to the correct pixmap for that old line (i have all the line pixmaps in a object inside the model), i have searched the signals from qabstractitemview but i cant find one that notify me about this. how could have this done? Thanks in advance.

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts

    Default Re: TableView navigate signal/event

    J-P Nurmi

  3. The following user says thank you to jpn for this useful post:

    skuda (25th January 2008)

  4. #3
    Join Date
    Oct 2007
    Posts
    65
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    15

    Talking Re: TableView navigate signal/event

    wow what a fast and correct reply, many thanks jpn

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.