Data management

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) and create a file picker that lets users select and save individual or multiple files.


Data models

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.

Data sources

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.

  • 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.

  • 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.

  • DataItem -

    Class representing a single item of data in the 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 can be used to extend the behaviour of existing queries.

  • DataRevision -

    Object that encapsulates revision information for some data.

  • DataSource -

    Provides access to data from an external data source.

  • DataSourceType -

    Represents data types that you can use with a DataSource.

  • HeaderDataItem -

    Class representing 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.

  • JsonDataAccess -

    Provides load and save operations for JSON data.

  • NumericRevision -

    A Revision which uses a 64 bit unsigned integer as the revision.

  • Revision -

    Interface for objects that can be compared, in order to determine whether the associated data has changed.

  • SimpleQueryDataModel -

    A simple data model that loads data from a DataQuery.

  • SqlConnection -

    Connects to an SQL database and executes commands asynchronously.

  • SqlDataAccess -

    Retrieves and updates data in an SQL database.

  • 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.

  • SqlWorker -

    A worker that executes SQL commands in another thread.

  • QueryDataModel -

    A data model that loads its data from a DataQuery.

  • XmlDataAccess -

    Converts data from XML format to QT C++ value objects or from QT C++ value objects to XML format.

File picker

  • 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.

Last modified: 2014-03-13

comments powered by Disqus