[Interest] Position of QListWidgetItem
Sensei
senseiwa at gmail.com
Tue Dec 17 15:40:22 CET 2013
On 12/17/13, 2:40pm, Nurmi J-P wrote:
>> 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
Thanks, I am sorry I didn't see the visualItemRect function!
More information about the Interest
mailing list