[Interest] Position of QListWidgetItem
Nurmi J-P
jpnurmi at digia.com
Tue Dec 17 14:40:56 CET 2013
> I have a simple question: how can I retrieve the coordinates of the current
> QListWidgetItem? I only have access to a QListWidget, and I'd really
> appreciate if I could stick with this very simple widget! :)
QListWidget::currentItem() and QListWidget::visualItemRect()
http://qt-project.org/doc/qt-5/qlistwidget.html#currentItem
http://qt-project.org/doc/qt-5/qlistwidget.html#visualItemRect
--
J-P Nurmi
More information about the Interest
mailing list