Implemented a screen displaying the history of operations with the board. Added dialogs for displaying messages and statuses

This commit is contained in:
Yury Shuvakin
2022-08-26 07:34:04 +03:00
parent 79518df613
commit 6ae4386b37
18 changed files with 535 additions and 61 deletions

View File

@@ -46,7 +46,8 @@ ComboBox {
}
onPaint: {
context.reset();
var context = getContext("2d")
context.reset()
if (control.down) {
context.moveTo(0, height);
@@ -77,7 +78,10 @@ ComboBox {
background: Rectangle {
implicitWidth: 120
implicitHeight: 46
color: control.down ? Palette.selectedBackgroundColor : Palette.backgroundColor
color: control.enabled
? (control.down ? Palette.selectedBackgroundColor : Palette.backgroundColor)
: Palette.hoveredBackgroundColor
border.color: Palette.borderColor
border.width: 1
radius: 5