[Qt-interest] QTreeWidget::itemAt() off by header height?
Roland Krause
rokrau at yahoo.com
Mon Jul 27 19:52:14 CEST 2009
Hello,
I just noticed that the QTreeWidget::itemAt(QPoint pos) function seems to be off by the height of the headerItem. Has anyone else noticed this? This is a bit annoying cause I am trying to find out what item the user has clicked on from inside a contextMenuEvent. Specifically I am trying to find out whether the user clicked on the header item.
Any ideas?
Thanks
Roland
More information about the Qt-interest-old
mailing list