~dpm/sudoku-app/rm-pot

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
import QtQuick 2.3
import Ubuntu.Components 1.1
import Ubuntu.Components.Popups 1.0
import "../js/SudokuCU.js" as SudokuCU
import QtFeedback 5.0

Rectangle {
    width: 3*blockSize + 5*blockDistance
    height: 3*blockSize + 5*blockDistance
    id: block
    Rectangle {
        color: UbuntuColors.warmGrey
        height: parent.height - units.dp(6)
        width: units.dp(2)
        x: block.width*1/3;
        y: units.dp(3)
    }
    Rectangle {
        color: UbuntuColors.warmGrey
        height: parent.height - units.dp(6)
        width: units.dp(2)
        x: block.width*2/3;
        y: units.dp(3)
    }
    Rectangle {
        color: UbuntuColors.warmGrey
        width: parent.height - units.dp(6)
        height: units.dp(2)
        y: block.width*1/3;
        x: units.dp(3)
    }
    Rectangle {
        color: UbuntuColors.warmGrey
        width: parent.height - units.dp(6)
        height: units.dp(2)
        y: block.width*2/3;
        x: units.dp(3)
    }
}