Use the APIs in this category to access data from data sources, such as XML, JSON, or SQL. You can also store data in data models (to display to users in a list), manage large amounts of data, and create a file picker that lets users select and save individual or multiple files.
Use the APIs in this category to store, organize, and present the data from your data sources.
- ArrayDataModel -
Contains a list of QVariant values, typically for a ListView.
- DataModel -
An abstract class that can be used to provide a ListView with data.
- DataModelChangeType -
Represents different types of data model changes.
- GroupDataModel -
A data model to be used with a ListView.
- IndexMapper -
Indicates whether a ListView can translate cached items to new indexes.
- ItemGrouping -
Represents different ways of grouping items in a GroupDataModel.
- QListDataModel -
Contains a list of <Item> values, typically for a ListView.
- XmlDataModel -
A class that creates a static DataModel for ListView from an XML file.
Use the APIs in this category to access data from data sources, such as XML, JSON, or SQL.
- AsyncDataAccess -
Allows communication with an asynchronous worker in another thread.
- AsyncWorker -
Represents objects that do asynchronous work.
- DataAccessError -
Represents an error from a DataAccess load or save operation.
- DataAccessErrorType -
Represents types of data access errors.
- DataAccessReply -
The reply from an asynchronous data access operation.
- DataSource -
Provides access to data from an external data source.
- DataSourceType -
Represents data types that you can use with a DataSource.
- JsonDataAccess -
Provides load and save operations for JSON data.
- SqlConnection -
Connects to an SQL database and executes commands asynchronously.
- SqlDataAccess -
Retrieves and updates data in an SQL database.
- SqlWorker -
A worker that executes SQL commands in another thread.
- XmlDataAccess -
Converts data from XML format to QT C++ value objects or from QT C++ value objects to XML format.
- FilePicker -
Allows the user to select a file or select a name and location for saving a file.
- FilePickerError -
An error class for indicating failures from the file picker.
- FilePickerMode -
Defines whether the FilePicker is used for picking single or multiple files or selecting a destination for saving one or more files.
- FilePickerSortFlag -
Defines the attributes that the files can be sorted on in FilePicker.
- FilePickerSortOrder -
Defines the possible sort order.
- FilePickerSourceRestriction -
Defines source restriction modes in FilePicker.
- FilePickerViewMode -
Defines view modes in FilePicker.
- FileType -
Defines the type of files that the user can select in FilePicker.
Large data sets
Use the APIs in this category to manage the flow of large amounts of data from your data sources.
- AsyncDataModel -
A data model that manages a partial cache of data from the full data set.
- AsyncHeaderDataModel -
A data model that supports index paths with length of two.
- AsyncHierarchicalDataModel -
A data model that supports index paths with length greater than one.
- DataItem -
This class represents a single item of data in a result set.
- DataModelDecorator -
DataModelDecorator is used to decorate the DataModel before it is used by ListView.
- DataQuery -
Retrieve data for a particular view of a data source.
- DataQueryDecorator -
A DataQuery wrapper that extends the behavior of existing queries.
- DataRevision -
This class encapsulates revision information for some data.
- HeaderDataItem -
This class represents a single header data item.
- HeaderDataQuery -
Retrieve data and header data for a particular view of a data source.
- HeaderDescriptor -
HeaderDescriptor is used to describe the header data returned by the HeaderDataQuery.
- NumericRevision -
A Revision which uses a 64-bit unsigned integer as the revision.
- Revision -
This is an interface for objects that can be compared, to determine whether the associated data has changed.
- SimpleQueryDataModel -
A simple data model that loads data from a DataQuery.
- SqlDataQuery -
The default DataQuery implementation that uses an SQL select to retrieve data.
- SqlHeaderDataQuery -
The default HeaderDataQuery implementation that uses SQL selects to retrieve header and detail data.
- SqlQueryUtils -
Utility methods for performing common operations in SQL data queries.
- QueryDataModel -
A data model that loads its data from a DataQuery.