Results 1 to 1 of 1

Thread: About QTreeVew's expanded() signal

  1. #1
    Join Date
    Jun 2009
    Posts
    22
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default About QTreeVew's expanded() signal

    In my program,when I click the"+", the treeview will emit signal.
    But the signal is not as the same as I think. See the picture:


    In my opinion,when I click the "+" before "Logic View",the signal's parameter should be "Logic View"'s QMoudelIndex.

    But I found that the the signal's parameter was "Logic View"'s parent's QMoudelIndex!

    How can I get "Logic View"'s QMoudelIndex when I when I click the "+" before "Logic View"?

    Could you give me some helps?Thanks a lot!
    Attached Images Attached Images

Similar Threads

  1. pthread instead QThread
    By brevleq in forum Qt Programming
    Replies: 8
    Last Post: 23rd December 2008, 07:16
  2. Connection of custon signals/slots
    By brevleq in forum Qt Programming
    Replies: 2
    Last Post: 23rd December 2008, 07:04
  3. Possible signal mapper problem
    By MarkoSan in forum Qt Programming
    Replies: 13
    Last Post: 25th January 2008, 13:11
  4. Replies: 2
    Last Post: 17th May 2006, 21:01

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.