Results 1 to 4 of 4

Thread: QTreeView clicked signal coordinates

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: QTreeView clicked signal coordinates

    Reimplement the QAbstractItemDelegate::editorEvent() for your view's delegate (you'll have to provide one). There you can get all the coordinates you want. Signals and slots is a more high level mechanism which is not suited for what you want.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  2. The following user says thank you to wysota for this useful post:

    michalk (2nd February 2011)

Similar Threads

  1. Replies: 0
    Last Post: 30th September 2010, 15:11
  2. Replies: 0
    Last Post: 26th August 2010, 16:25
  3. Replies: 1
    Last Post: 23rd January 2010, 22:04
  4. signal mapping on pushbutton signal clicked
    By wagmare in forum Qt Programming
    Replies: 2
    Last Post: 17th March 2009, 07:54
  5. Emit clicked( QModelIndex &) from a QTreeView?
    By Ran in forum Qt Programming
    Replies: 1
    Last Post: 15th December 2008, 04:42

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
  •  
Qt is a trademark of The Qt Company.