Quantcast
Channel: Installation and Deployment
Viewing all articles
Browse latest Browse all 22112

How does QTreeWidget parse SQL tables?

$
0
0
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?

Viewing all articles
Browse latest Browse all 22112

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>