Thank you for reading this.

I'm new to both Pyqt and this list. I want to set a table widget header based on its cell contents. The documentation shows how it's done;

self.tableWidget.setHorizontalHeaderItem (1, QTableWidgetItem *item)

I have done this many years ago in C++ but I don't quite see how to instantiate a QTableWidgetItem in Python.

--
Regards,
Phil
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to