Home
·
Overviews
·
Examples
Model/View Programming
An Introduction to Model/View Programming
The Model/View Architecture
Models
Views
Delegates
Sorting
Convenience Classes
The Model/View Components
Using Models and Views
Introduction
Using Views with an Existing Model
Model Classes
Basic Concepts
Model Indexes
Rows and Columns
Parents of Items
Item Roles
Summary of Concepts
Using Model Indexes
Further Reading
Creating New Models
Introduction
Designing a Model
A Read-Only Example Model
Dimensions of The Model
Model Headers and Data
An Editable Model
Making the Model Editable
Inserting and Removing Rows
Next Steps
View Classes
Concepts
Using an Existing View
Using a Model
Using Multiple Views onto the Same Model
Handling Selections of Items
Sharing Selections Between Views
Handling Selections in Item Views
Concepts
Using a Selection Model
Selecting Items
Reading the Selection State
Updating a Selection
Selecting All Items in a Model
Delegate Classes
Concepts
Using an Existing Delegate
A Simple Delegate
Providing an Editor
Submitting Data to the Model
Updating the Editor's Geometry
Editing Hints
Item View Convenience Classes
Overview
List Widgets
Tree Widgets
Table Widgets
Common Features
Hidden Items
Selections
Searching
Using Drag and Drop with Item Views
Overview
Using Convenience Views
Using Model/View Classes
Enabling Drag and Drop for Items
Encoding Exported Data
Inserting Dropped Data into a Model
Decoding Imported Data
Proxy Models
Overview
Using Proxy Models
Customizing Proxy Models
Custom Filtering Models
Custom Sorting Models
Model Subclassing Reference
Introduction
Item Data Handling
Read-Only Access
Editable Items
Resizable Models
Lazy Population of Model Data
Navigation and Model Index Creation
Parents and Children
Drag and Drop Support and MIME Type Handling
MIME Data
Accepting Dropped Data
Convenience Views
Performance Optimization for Large Amounts of Data
See also the list of
Model/View Classes
.
Related Examples
Dir View
Spin Box Delegate
Pixelator
Simple Tree Model
Chart
Copyright © 2008
Trolltech
Trademarks
Qt Jambi 4.3.5_01