Results 1 to 4 of 4

Thread: Qt treeWidget and arrow key usage help.

  1. #1
    Join Date
    Oct 2009
    Posts
    18
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Qt treeWidget and arrow key usage help.

    Hi,
    We can navigate the tree items in treewidget using arrow key.

    My question is which signal should i catch in this case to know the item selected using arrow key not mouse.
    I am using itemClicked now but i want my application to support even the arrow keys.

  2. #2
    Join Date
    Aug 2008
    Location
    Ukraine, Krivoy Rog
    Posts
    1,963
    Thanked 370 Times in 336 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Qt treeWidget and arrow key usage help.

    Qt Assistant -- rocks!
    please, use tags [CODE] & [/CODE].

  3. #3
    Join Date
    Oct 2009
    Posts
    18
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt treeWidget and arrow key usage help.

    Ya, but it doest seems to work.

  4. #4
    Join Date
    Oct 2009
    Posts
    18
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt treeWidget and arrow key usage help.

    Thanks, i figured it out

    itemSelectionChanged() signal works

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.