Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How does QTreeWidget parse SQL tables?
SatelliteEyes last edited by
Hi, I'm debugging some legacy code (PyQt 4.4.4 and Python 2.7, ugh) and I need a QTreeWidget to access an existing mySQL database and display the rows of a certain table as topLevelItems with the columns in the QTreeWidget holding the column entries of the mySQL table.
So far, I have a situation where the QTreeWidget grabs the correct row, but then displays one letter per column, which is a bit silly.
This is the first QTreeWidget I've ever written, so I think that the problem may be a case of me not understanding how the widget parses input. Is there a way to control this?