Differential D6938 Diff 17547 containments/desktop/package/contents/ui/FolderItemPreviewPluginsDialog.qml
Changeset View
Changeset View
Standalone View
Standalone View
containments/desktop/package/contents/ui/FolderItemPreviewPluginsDialog.qml
Show First 20 Lines • Show All 56 Lines • ▼ Show 20 Line(s) | 52 | ScrollView { | |||
---|---|---|---|---|---|
57 | 57 | | |||
58 | ListView { | 58 | ListView { | ||
59 | model: previewPluginsModel | 59 | model: previewPluginsModel | ||
60 | 60 | | |||
61 | delegate: CheckBox { | 61 | delegate: CheckBox { | ||
62 | text: model.display | 62 | text: model.display | ||
63 | 63 | | |||
64 | checked: model.checked | 64 | checked: model.checked | ||
65 | 65 | onCheckedChanged: model.checked = checked | |||
66 | onCheckedChanged: { | | |||
67 | if (checked != model.checked) { | | |||
68 | previewPluginsModel.setRowChecked(model.index, checked); | | |||
69 | } | | |||
70 | } | | |||
71 | } | 66 | } | ||
72 | } | 67 | } | ||
73 | } | 68 | } | ||
74 | 69 | | |||
75 | RowLayout { | 70 | RowLayout { | ||
76 | Layout.alignment: (Qt.application.layoutDirection == Qt.LeftToRight) ? Qt.AlignRight : Qt.AlignLeft | 71 | Layout.alignment: (Qt.application.layoutDirection == Qt.LeftToRight) ? Qt.AlignRight : Qt.AlignLeft | ||
77 | 72 | | |||
78 | layoutDirection: Qt.application.layoutDirection | 73 | layoutDirection: Qt.application.layoutDirection | ||
Show All 27 Lines |