Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
假设我有一个QTableWidgetin pyqt4 和一个QPoint对象。如何获取表中与QPoint对象中的坐标相对应的行?
QTableWidget
QPoint
使用QTableView::rowAt函数。
row = table.rowAt(point.y())