[PySide] custom table sorting

Frank Rueter | OHUfx frank at ohufx.com
Fri Apr 6 02:50:19 CEST 2012


Hi guys,

I'm working on a table that has ItemWidgets (comboBoxes, checkBoxes etc) 
in some cells and I'm trying to figure out how to write a custom sort 
behaviour that will enable me to sort the table by columns containing 
widgets using the respective widgets' current value (e.g. show all rows 
with a checked checkBox first, followed by all rows with an unchecked 
checkBox).

Has anyone done this before?
Any pointers would be fabulous!

Cheers,
frank




More information about the PySide mailing list