QTableWidget Question

  • I have a simple question - I am using a QTableWidget with selection mode MultiSelection. Currently when dragging the mouse over items in a qtablewidget with the the mouse button clicked will select those that are dragged over. However the qtablewidget currentrow doesn't change to the newly selected row at the boundary of the drag selection but rather the one before the boundary. I am actively displaying information about the most recently selected row but this doesn't work well with that condition; when drag-selecting it displays information about the second most recently selected row not the most recently. Is there a way to override this behavior? I might try reimplementing mousemoveevent to intercept mouse move events I read about that in another thread. Any other ideas?

Log in to reply