Results 1 to 14 of 14

Thread: Help with Model View

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jul 2006
    Location
    France
    Posts
    34
    Thanks
    12
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Help with Model View

    I've use the same object logger as before on my proxy, and when I inser a new row, with 3 view opened I've got this:
    Qt Code:
    1. 10:45:30 rowsInserted # <- I inser the row
    2. 10:45:30 layout Changed # <-|
    3. 10:45:30 layout Changed # <-|- The three view have their layout changed
    4. 10:45:30 layout Changed # <-|
    To copy to clipboard, switch view to plain text mode 

    Should I use this signal to reset the root index to the view ?

  2. #2
    Join Date
    Jul 2006
    Location
    France
    Posts
    34
    Thanks
    12
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Thumbs up Re: Help with Model View

    I've catch the signal (layoutChanged) and reset the root Index to the correct value, and I must confess that it work well

    Thank for your help wysota

Similar Threads

  1. hierarchical model in a flat view
    By gniking in forum Qt Programming
    Replies: 4
    Last Post: 10th November 2009, 20:17
  2. Model, View and Proxy
    By No-Nonsense in forum Qt Programming
    Replies: 2
    Last Post: 21st November 2006, 08:50
  3. Should I develop my own model and view?
    By dandanch in forum Qt Programming
    Replies: 1
    Last Post: 20th November 2006, 06:09
  4. Model - View Programming doubt.
    By munna in forum Qt Programming
    Replies: 4
    Last Post: 28th April 2006, 13:01
  5. Replies: 6
    Last Post: 20th April 2006, 10:23

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.