Changeset View
Changeset View
Standalone View
Standalone View
src/monitor/view/OverlayThirds.qml
- This file was added.
1 | import QtQuick.Controls 1.3 | ||||
---|---|---|---|---|---|
2 | import QtQuick.Controls.Styles 1.3 | ||||
3 | import QtQuick 2.0 | ||||
4 | | ||||
5 | Item { | ||||
6 | id: overlay | ||||
7 | // Vertical segments | ||||
8 | Rectangle { | ||||
9 | color: root.overlayColor | ||||
10 | height: parent.height | ||||
11 | width: 1 | ||||
12 | x: parent.width / 3 | ||||
13 | } | ||||
14 | Rectangle { | ||||
15 | color: root.overlayColor | ||||
16 | height: parent.height | ||||
17 | width: 1 | ||||
18 | x: (parent.width / 3 ) * 2 | ||||
19 | } | ||||
20 | // Horizontal segments | ||||
21 | Rectangle { | ||||
22 | color: root.overlayColor | ||||
23 | width: parent.width | ||||
24 | height: 1 | ||||
25 | y: parent.height / 3 | ||||
26 | } | ||||
27 | Rectangle { | ||||
28 | color: root.overlayColor | ||||
29 | width: parent.width | ||||
30 | height: 1 | ||||
31 | y: (parent.height / 3) * 2 | ||||
32 | } | ||||
33 | } |