[PyQt] Qt4/Qt5 incompatible results of QTableWidget.selectedItems()?

T.N.T. tnt at banza.net
Tue Jul 2 20:01:36 BST 2013


On 02.07.2013 20:38, Andreas Pakulat wrote:
> Hi,
>
> Qt makes no guarantee on the order of returned items, it merely
> guarantee's that all items that are selected are returned in a list.
> There's no incompatibility, just a change in a behaviour that is not
> explicitly defined.


Thank you. So it was just no good idea to rely on the position in the 
result list to access only the items in the left column. Okay. So I will 
try my luck with QTableWidgetItem::column()...


More information about the PyQt mailing list