Changeset View
Changeset View
Standalone View
Standalone View
discover/qml/UpdatesPage.qml
Show First 20 Lines • Show All 90 Lines • ▼ Show 20 Line(s) | 89 | footer: ColumnLayout { | |||
---|---|---|---|---|---|
91 | anchors.left: parent.left | 91 | anchors.left: parent.left | ||
92 | Kirigami.Heading { | 92 | Kirigami.Heading { | ||
93 | Layout.fillWidth: true | 93 | Layout.fillWidth: true | ||
94 | Layout.alignment: Qt.AlignHCenter | 94 | Layout.alignment: Qt.AlignHCenter | ||
95 | horizontalAlignment: Text.AlignHCenter | 95 | horizontalAlignment: Text.AlignHCenter | ||
96 | visible: page.footerLabel !== "" | 96 | visible: page.footerLabel !== "" | ||
97 | text: page.footerLabel | 97 | text: page.footerLabel | ||
98 | } | 98 | } | ||
99 | QIconItem { | 99 | Kirigami.Icon { | ||
100 | Layout.alignment: Qt.AlignHCenter | 100 | Layout.alignment: Qt.AlignHCenter | ||
101 | visible: page.footerLabel !== "" | 101 | visible: page.footerLabel !== "" | ||
102 | icon: "update-none" | 102 | source: "update-none" | ||
103 | opacity: 0.3 | 103 | opacity: 0.3 | ||
104 | width: 200 | 104 | width: 200 | ||
105 | height: 200 | 105 | height: 200 | ||
106 | } | 106 | } | ||
107 | Item { | 107 | Item { | ||
108 | visible: page.footerLabel === "" | 108 | visible: page.footerLabel === "" | ||
109 | height: Kirigami.Units.gridUnit | 109 | height: Kirigami.Units.gridUnit | ||
110 | width: 1 | 110 | width: 1 | ||
Show All 39 Lines | 147 | RowLayout { | |||
150 | 150 | | |||
151 | CheckBox { | 151 | CheckBox { | ||
152 | id: itemChecked | 152 | id: itemChecked | ||
153 | anchors.verticalCenter: parent.verticalCenter | 153 | anchors.verticalCenter: parent.verticalCenter | ||
154 | checked: model.checked == Qt.Checked | 154 | checked: model.checked == Qt.Checked | ||
155 | onClicked: model.checked = (model.checked==Qt.Checked ? Qt.Unchecked : Qt.Checked) | 155 | onClicked: model.checked = (model.checked==Qt.Checked ? Qt.Unchecked : Qt.Checked) | ||
156 | } | 156 | } | ||
157 | 157 | | |||
158 | QIconItem { | 158 | Kirigami.Icon { | ||
159 | Layout.fillHeight: true | 159 | Layout.fillHeight: true | ||
160 | Layout.preferredWidth: height | 160 | Layout.preferredWidth: height | ||
161 | icon: decoration | 161 | source: decoration | ||
162 | } | 162 | } | ||
163 | 163 | | |||
164 | Label { | 164 | Label { | ||
165 | Layout.fillWidth: true | 165 | Layout.fillWidth: true | ||
166 | text: i18n("%1 (%2)", display, version) | 166 | text: i18n("%1 (%2)", display, version) | ||
167 | elide: Text.ElideRight | 167 | elide: Text.ElideRight | ||
168 | } | 168 | } | ||
169 | 169 | | |||
▲ Show 20 Lines • Show All 81 Lines • Show Last 20 Lines |