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?
↧