Changeset View
Changeset View
Standalone View
Standalone View
kcm/package/contents/ui/OutputPanel.qml
Show First 20 Lines • Show All 56 Lines • ▼ Show 20 Line(s) | 53 | RowLayout { | |||
---|---|---|---|---|---|
57 | Kirigami.FormData.label: i18n("Scale:") | 57 | Kirigami.FormData.label: i18n("Scale:") | ||
58 | 58 | | |||
59 | Controls.Slider { | 59 | Controls.Slider { | ||
60 | id: scaleSlider | 60 | id: scaleSlider | ||
61 | 61 | | |||
62 | Layout.fillWidth: true | 62 | Layout.fillWidth: true | ||
63 | from: 0.5 | 63 | from: 0.5 | ||
64 | to: 3 | 64 | to: 3 | ||
65 | stepSize: 0.1 | 65 | stepSize: 0.25 | ||
66 | live: true | 66 | live: true | ||
67 | value: element.scale | 67 | value: element.scale | ||
68 | onMoved: element.scale = value | 68 | onMoved: element.scale = value | ||
69 | } | 69 | } | ||
70 | Controls.SpinBox { | 70 | Controls.SpinBox { | ||
71 | id: spinbox | 71 | id: spinbox | ||
72 | // Because QQC2 SpinBox doesn't natively support decimal step | 72 | // Because QQC2 SpinBox doesn't natively support decimal step | ||
73 | // sizes: https://bugreports.qt.io/browse/QTBUG-67349 | 73 | // sizes: https://bugreports.qt.io/browse/QTBUG-67349 | ||
▲ Show 20 Lines • Show All 64 Lines • Show Last 20 Lines |