AccountsListView QML Type
A list of selectable accounts More...
Properties
Signals
Detailed Description
The AccountsListView type provides a UI element which allows selection of an account for use.
Property Documentation
allowAccountDeletion : bool |
If this property is set to true, users may delete an account by selecting the "Remove Account" option in the long-press context menu for an account.
If the filter value is set, the model will only present those accounts whose property associated with the filterType
matches the given filter value.
For example, if filterType
is set to AccountModel.ProviderFilter
and filter
is set to "facebook"
then only accounts provided by the "facebook"
provider will be presented in the model.
See also filterType.
filterType : AccountModel::FilterType |
Enables filtering of the accounts presented by the model according to the value of the property of the account associated with the given filter type.
Valid filter types are:
AccountModel.NoFilter
AccountModel.ProviderFilter
AccountModel.ServiceFilter
AccountModel.ServiceTypeFilter
See also filter.
Signal Documentation
accountClicked(int accountId, string providerName) |
This signal is emitted by the list view when the user clicks an account. The accountId is the id of the account clicked by the user, and the providerName is the name of the provider which provides that account.