Settings: new json model structure
This commit is contained in:
parent
0c044c7b81
commit
2d47c2ed1b
10 changed files with 149 additions and 100 deletions
|
|
@ -7,7 +7,7 @@ PanelWindow {
|
|||
id: outerPanel
|
||||
|
||||
readonly property real scaling: Scaling.scale(screen)
|
||||
property bool showOverlay: Settings.settings.dimPanels
|
||||
property bool showOverlay: Settings.data.general.dimDesktop
|
||||
property int topMargin: Style.barHeight * scaling
|
||||
property color overlayColor: showOverlay ? Colors.overlay : "transparent"
|
||||
signal dismissed
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ Text {
|
|||
|
||||
readonly property real scaling: Scaling.scale(screen)
|
||||
|
||||
font.family: Settings.settings.fontFamily
|
||||
font.family: Settings.data.ui.fontFamily
|
||||
font.pointSize: Style.fontSizeMedium * scaling
|
||||
font.weight: Font.Bold
|
||||
color: Colors.textPrimary
|
||||
|
|
|
|||
|
|
@ -111,12 +111,10 @@ Window {
|
|||
z: 1
|
||||
}
|
||||
|
||||
Text {
|
||||
NText {
|
||||
id: tooltipText
|
||||
anchors.centerIn: parent
|
||||
text: root.text
|
||||
color: Colors.textPrimary
|
||||
font.family: Settings.settings.fontFamily
|
||||
font.pointSize: Style.fontSizeMedium * scaling
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue