|
|
@ -52,10 +52,6 @@ WidgetTemplate { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
onUpdated: { |
|
|
|
|
|
|
|
widget.settings.styles = Object.assign(defaultValues, widget.settings.styles); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
readonly property var configs: widget.settings.styles |
|
|
|
readonly property var configs: widget.settings.styles |
|
|
|
readonly property real w: widget.width |
|
|
|
readonly property real w: widget.width |
|
|
|
readonly property real h: 0.46*widget.width |
|
|
|
readonly property real h: 0.46*widget.width |
|
|
@ -245,7 +241,7 @@ WidgetTemplate { |
|
|
|
anchors.fill: parent |
|
|
|
anchors.fill: parent |
|
|
|
|
|
|
|
|
|
|
|
header: TitleBar { |
|
|
|
header: TitleBar { |
|
|
|
text: qsTr("Settings") |
|
|
|
text: qsTr("Ordinal Scale Weather Widget") |
|
|
|
|
|
|
|
|
|
|
|
standardButtons: Dialog.Save | Dialog.Reset |
|
|
|
standardButtons: Dialog.Save | Dialog.Reset |
|
|
|
|
|
|
|
|
|
|
|