PDA

View Full Version : QTableWidget custom sort



mattc
23rd August 2010, 20:18
Hello,
is it possible to implement a custom sort for a QTableWidget? I know how to go about it using the QTableView + model + proxy approach, but I am looking for a quick and dirty way. I tried to hack the builtin model, but QTableWidget::setModel() is not public.

Anyone?

mattc
24th August 2010, 11:01
nevermind, solved subclassing QTableWidgetItem