文件名称:QT5.5 Demo - Simple Tree Modek Example
文件大小:12KB
文件格式:ZIP
更新时间:2019-04-13 03:20:16
QT, C++
Qt's model/view architecture provides a standard way for views to manipulate information in a data source, using an abstract model of the data to simplify and standardize the way it is accessed. Simple models represent data as a table of items, and allow views to access this data via an index-based system. More generally, models can be used to represent data in the form of a tree structure by allowing each item to act as a parent to a table of child items.
【文件预览】:
simpletreemodel
----treeitem.h(2KB)
----simpletreemodel.pro.user(18KB)
----default.txt(2KB)
----treeitem.cpp(3KB)
----simpletreemodel.pro(286B)
----treemodel.cpp(6KB)
----simpletreemodel.qrc(94B)
----main.cpp(2KB)
----treemodel.h(3KB)