Results 1 to 2 of 2

Thread: hello,i want to ask a question about qtreewidget?

  1. #1
    Join Date
    Apr 2008
    Location
    China
    Posts
    2
    Qt products
    Qt4
    Platforms
    Windows

    Default hello,i want to ask a question about qtreewidget?

    i made class pulic from QTreeWidget, then i conenected my slot[myslot(QTreeWidgetItem * item, int column) ] to itemActivated ( QTreeWidgetItem * item, int column ).

    my slot was triggered when i doubled clicked my mouse(left and right). But, i saw it was trigger by clicked once in assistant source code.

    what's the matter?


  2. #2
    Join Date
    Sep 2007
    Location
    Rome, GA
    Posts
    199
    Thanks
    14
    Thanked 41 Times in 35 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Re: hello,i want to ask a question about qtreewidget?

    I think you probably want itemDoubleClicked().

Similar Threads

  1. QTreeWidget question
    By ClamsTheCat in forum Qt Programming
    Replies: 1
    Last Post: 19th March 2008, 20:48
  2. QTreeWidget Question
    By BatteryCell in forum Qt Programming
    Replies: 2
    Last Post: 22nd June 2007, 22:44
  3. resizing a QTreeWidget
    By drhex in forum Qt Programming
    Replies: 6
    Last Post: 27th October 2006, 22:32
  4. QTreeWidget question
    By Mad Max in forum Qt Programming
    Replies: 13
    Last Post: 1st March 2006, 12:58

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.