Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. How does QTreeWidget parse SQL tables?
Forum Updated to NodeBB v4.3 + New Features

How does QTreeWidget parse SQL tables?

Scheduled Pinned Locked Moved QML and Qt Quick
1 Posts 1 Posters 1.3k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    SatelliteEyes
    wrote on 10 May 2013, 17:45 last edited by
    #1

    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?

    1 Reply Last reply
    0

    1/1

    10 May 2013, 17:45

    • Login

    • Login or register to search.
    1 out of 1
    • First post
      1/1
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved