Changeset View
Changeset View
Standalone View
Standalone View
cuttlefish/package/contents/ui/Preview.qml
Show First 20 Lines • Show All 299 Lines • ▼ Show 20 Line(s) | 280 | QQC2.Menu { | |||
---|---|---|---|---|---|
300 | QQC2.MenuItem { | 300 | QQC2.MenuItem { | ||
301 | text: i18n("Screenshot with Active Color Scheme") | 301 | text: i18n("Screenshot with Active Color Scheme") | ||
302 | onTriggered: { | 302 | onTriggered: { | ||
303 | iconPreview.shot("active") | 303 | iconPreview.shot("active") | ||
304 | } | 304 | } | ||
305 | } | 305 | } | ||
306 | } | 306 | } | ||
307 | } | 307 | } | ||
308 | QQC2.Button { | ||||
309 | Layout.alignment: Qt.AlignCenter | ||||
310 | text: i18n("View icon in other themes") | ||||
311 | icon.name: "document-equal" | ||||
312 | onClicked: comparison.sheetOpen = true | ||||
313 | } | ||||
308 | Item { | 314 | Item { | ||
309 | Layout.fillHeight: true | 315 | Layout.fillHeight: true | ||
310 | } | 316 | } | ||
311 | DualMontage { id: dualMont } | 317 | DualMontage { id: dualMont } | ||
312 | } | 318 | } | ||
313 | 319 | | |||
314 | Kirigami.Separator { | 320 | Kirigami.Separator { | ||
315 | width: 1 | 321 | width: 1 | ||
316 | anchors { | 322 | anchors { | ||
317 | left: parent.left | 323 | left: parent.left | ||
318 | bottom: parent.bottom | 324 | bottom: parent.bottom | ||
319 | top: parent.top | 325 | top: parent.top | ||
320 | } | 326 | } | ||
321 | } | 327 | } | ||
322 | } | 328 | } |