Item (Item): storing a text item, text formats, custom data.
1, the view item (Item View)
For a data model may have different display needs, such as display folders in the picture, it can be a list or thumbnails
- QListView (list view): e.g., contacts, and other micro-channel buddy list
- QTableView (Table View)
- QTreeView (Tree View): The file structure directory (top right)
- QColumnView (column view)
2, item assembly (Item Widgets):
Directly to the data stored in each entry in
- QListWidget (list of components): Each row is a term
- QTreeWidget (tree component): Each node is a term
- The QTableWidget (table component): Each cell is a term