Add BarService, use signals to check state of bar and update widgets accordingly
This commit is contained in:
parent
dcedae46e5
commit
e706dabef3
7 changed files with 115 additions and 28 deletions
|
|
@ -51,8 +51,8 @@ ColumnLayout {
|
|||
name: "Right"
|
||||
}
|
||||
}
|
||||
currentKey: Settings.data.bar.position
|
||||
onSelected: key => Settings.data.bar.position = key
|
||||
currentKey: BarService.position
|
||||
onSelected: key => BarService.setPosition(key)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue