Results 1 to 2 of 2

Thread: no keyboard event received while dragging on my treeview

  1. #1
    Join Date
    Feb 2019
    Posts
    1
    Qt products
    Qt5
    Platforms
    Windows

    Default no keyboard event received while dragging on my treeview

    I want to implement mouse wheel on qtreeview while dragging an item.
    I found out that while I was dragging, the treeview won't receive any event except dragmoveevent.
    So is that my problem or design ? how to implement the function that I want?

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: no keyboard event received while dragging on my treeview

    Check if the treeview's "viewport()" widget gets the mouse wheel events.

    Cheers,
    _

Similar Threads

  1. Replies: 1
    Last Post: 15th January 2013, 20:08
  2. Aborting dragging event in some area of qml item
    By alizadeh91 in forum Qt Quick
    Replies: 0
    Last Post: 23rd October 2012, 13:41
  3. Replies: 2
    Last Post: 5th March 2012, 12:09
  4. Keyboard shortcut event not received
    By D Cell in forum Qt Programming
    Replies: 3
    Last Post: 15th December 2010, 10:52
  5. TreeView keyboard navigation
    By Onanymous in forum Newbie
    Replies: 2
    Last Post: 14th May 2010, 07:22

Tags for this Thread

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.