8000 update monitor safezone overlay · szczk/kdenlive@d7c51af · GitHub
[go: up one dir, main page]

Skip to content

Commit

Permalink
update monitor safezone overlay
Browse files Browse the repository at this point in the history
  • Loading branch information
j-b-m committed May 7, 2018
1 parent 3850e34 commit d7c51af
Show file tree
Hide file tree
Showing 2 changed files with 86 additions and 5 deletions.
46 changes: 43 additions & 3 deletions data/kdenliveclipmonitor.qml
Original file line number Diff line number Diff line change
Expand Up @@ -48,24 +48,64 @@ Item {
height: root.profile.y * root.scaley
anchors.centerIn: parent
visible: root.showSafezone

property color overlayColor: 'cyan'
Rectangle {
id: safezone
objectName: "safezone"
color: "transparent"
border.color: "cyan"
border.color: frame.overlayColor
width: parent.width * 0.9
height: parent.height * 0.9
anchors.centerIn: parent
Rectangle {
id: safetext
objectName: "safetext"
color: "transparent"
border.color: "cyan"
border.color: frame.overlayColor
width: frame.width * 0.8
height: frame.height * 0.8
anchors.centerIn: parent
}
Rectangle {
color: frame.overlayColor
width: frame.width / 20
height: 1
anchors.centerIn: parent
}
Rectangle {
color: frame.overlayColor
height: frame.width / 20
width: 1
anchors.centerIn: parent
}
Rectangle {
color: frame.overlayColor
height: frame.height / 11
width: 1
y: 0
x: parent.width / 2
}
Rectangle {
color: frame.overlayColor
height: frame.height / 11
width: 1
y: parent.height -height
x: parent.width / 2
}
Rectangle {
color: frame.overlayColor
width: frame.width / 11
height: 1
y: parent.height / 2
x: 0
}
Rectangle {
color: frame.overlayColor
width: frame.width / 11
height: 1
y: parent.height / 2
x: parent.width -width
}
}
}

Expand Down
45 changes: 43 additions & 2 deletions data/kdenlivemonitor.qml
Original file line number Diff line number Diff line change
Expand Up @@ -47,23 +47,64 @@ Item {
height: root.profile.y * root.scaley
anchors.centerIn: parent
visible: root.showSafezone
property color overlayColor: 'cyan'
Rectangle {
id: safezone
objectName: "safezone"
color: "transparent"
border.color: "cyan"
border.color: frame.overlayColor
width: parent.width * 0.9
height: parent.height * 0.9
anchors.centerIn: parent
Rectangle {
id: safetext
objectName: "safetext"
color: "transparent"
border.color: "cyan"
border.color: frame.overlayColor
width: frame.width * 0.8
height: frame.height * 0.8
anchors.centerIn: parent
}
Rectangle {
color: frame.overlayColor
width: frame.width / 20
height: 1
anchors.centerIn: parent
}
Rectangle {
color: frame.overlayColor
height: frame.width / 20
width: 1
anchors.centerIn: parent
}
Rectangle {
color: frame.overlayColor
height: frame.height / 11
width: 1
y: 0
x: parent.width / 2
}
Rectangle {
color: frame.overlayColor
height: frame.height / 11
width: 1
y: parent.height -height
x: parent.width / 2
}
Rectangle {
color: frame.overlayColor
width: frame.width / 11
height: 1
y: parent.height / 2
x: 0
}
Rectangle {
color: frame.overlayColor
width: frame.width / 11
height: 1
y: parent.height / 2
x: parent.width -width
}
}
}

Expand Down

0 comments on commit d7c51af

Please sign in to comment.
0