Qt Selection Rect Position
Frage
Can I get Selection rectangle position on my form in qt, if yes, how?
My problem is to get QPos from selected QModelIndex in QListView.
Thank you!
Lösung
If you want to go from a QModelIndex
to coordinates, use QListView::rectForIndex
.
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow