Domanda

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!

È stato utile?

Soluzione

If you want to go from a QModelIndex to coordinates, use QListView::rectForIndex.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top