I have this TableView, which is sorted by column when the user clicks
on the header. The problem is though, that all the items are selected
and nothing gets sorted. But if the window loses focus everything's
get's sorted.
Basically I have list of tags say,
[{"artist":"Artist1","title":Title1"} , {
> Move the creation of the QTableWidgetItem() to the inner loop (and call
> it "item" rather than "items").
>
> Phil
Thanks, that works perfectly.
--
http://mail.python.org/mailman/listinfo/python-list
I've just started PyQt programming and I've run into this little
problem. When I set the text of one cell in my table, all the other
cells fill with that value.
All I wanted to do was run a loop, printing in each cell the row and
column number.
Here's the code.
--
fro