Results 1 to 1 of 1

Thread: Model/View/Delegate How gets setEditorData / setModelData

  1. #1
    Join Date
    Jun 2010
    Location
    Germany, Munich
    Posts
    16
    Thanks
    1
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Model/View/Delegate How gets setEditorData / setModelData

    Hi there,
    I'm using QComboBox with a (TreeModel). It is working fine but, if the model data
    is changed by some other view, and the model emits dataChanged(index,index) nothing
    happends. As workarround I am calling explicit setEditorData. Shouldn`t work
    this by some event trigger?

    regards Marc
    Last edited by moviemax; 11th July 2011 at 14:48.

Similar Threads

  1. setEditorData() for QComboBox Delegate
    By fatecasino in forum Newbie
    Replies: 10
    Last Post: 6th April 2011, 02:00
  2. Replies: 9
    Last Post: 8th March 2011, 08:35
  3. Model-View-Delegate
    By hotdox in forum Qt Programming
    Replies: 3
    Last Post: 11th May 2010, 13:20
  4. QTreeWidget Delegate setModelData limitations
    By kubas in forum Qt Programming
    Replies: 0
    Last Post: 8th September 2009, 08:40
  5. Model View - Delegate - setIndexWidget
    By starcontrol in forum Qt Programming
    Replies: 16
    Last Post: 2nd April 2008, 14:30

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.