Changeset View
Changeset View
Standalone View
Standalone View
src/kcm/package/contents/ui/AvailableAccounts.qml
Show All 23 Lines | |||||
24 | import org.kde.kaccounts 1.0 | 24 | import org.kde.kaccounts 1.0 | ||
25 | import org.kde.kcm 1.2 | 25 | import org.kde.kcm 1.2 | ||
26 | import Ubuntu.OnlineAccounts 0.1 as OA | 26 | import Ubuntu.OnlineAccounts 0.1 as OA | ||
27 | 27 | | |||
28 | ScrollViewKCM { | 28 | ScrollViewKCM { | ||
29 | id: root | 29 | id: root | ||
30 | title: i18n("Add new Account") | 30 | title: i18n("Add new Account") | ||
31 | 31 | | |||
32 | ListView { | 32 | view: ListView { | ||
33 | anchors.fill: parent | | |||
34 | | ||||
35 | model: OA.ProviderModel {} | 33 | model: OA.ProviderModel {} | ||
36 | 34 | | |||
37 | delegate: Kirigami.BasicListItem { | 35 | delegate: Kirigami.BasicListItem { | ||
38 | icon: model.iconName | 36 | icon: model.iconName | ||
39 | label: model.displayName | 37 | label: model.displayName | ||
40 | width: parent.width | 38 | width: parent.width | ||
41 | 39 | | |||
42 | onClicked: { | 40 | onClicked: { | ||
Show All 13 Lines |