Use QTableWidget::indexFromItem if you know the item. This method return index which is QModelIndex, and use QModelIndex::row
Use QTableWidget::indexFromItem if you know the item. This method return index which is QModelIndex, and use QModelIndex::row
Last edited by viulskiez; 26th April 2012 at 10:37. Reason: missing [qtclass] tags
~ We are nothing in this universe ~
rawfool (26th April 2012)
Bookmarks