a role made from concatenating other roles. More...
Import Statement: | import SortFilterProxyModel . |
Inherits: |
A JoinRole is a simple ProxyRole that concatenates other roles.
In the following example, the fullName
role is computed by the concatenation of the firstName
role and the lastName
role separated by a space :
SortFilterProxyModel { sourceModel: contactModel proxyRoles: JoinRole { name: "fullName" roleNames: ["firstName", "lastName"] } }
This property holds the separator that is used to join the roles specified in roleNames.
By default, it's a space.