Home > Back-end > Qt how to write the content of the database in the qtreewidgetitem
Qt how to write the content of the database in the qtreewidgetitem
Time:01-30
Tree node, deposited in the three fields, can deposit not only, also can through the database query again restore shows the hierarchy of the tree node,
CodePudding user response:
Not all software will be used, only use Visual Studio 2013 in VB, c + +, c # dabbled, other do not invite, thank you!
CodePudding user response:
If the data is the simplest way is to click on save, generates a tree of XML and database to store the XML tree, will restore the XML data recovery
CodePudding user response:
This method is discussed, but now all have decided to use the database, and id field is the node level, node name, the higher the node id, can have a code reference