Commit 7296f82e authored by luyikei's avatar luyikei
Browse files

main.qml: Add cutModeButton

parent 227f8ea1
...@@ -21,6 +21,7 @@ Rectangle { ...@@ -21,6 +21,7 @@ Rectangle {
property var selectedClips: [] // Actual clip item objects property var selectedClips: [] // Actual clip item objects
property var groups: [] // list of lists of clip uuids property var groups: [] // list of lists of clip uuids
property alias isMagneticMode: magneticModeButton.selected property alias isMagneticMode: magneticModeButton.selected
property alias isCutMode: cutModeButton.selected
property int trackHeight: 30 property int trackHeight: 30
...@@ -471,10 +472,20 @@ Rectangle { ...@@ -471,10 +472,20 @@ Rectangle {
width: parent.width - x * 2 width: parent.width - x * 2
height: parent.height / 2 height: parent.height / 2
PropertyButton { Row {
id: magneticModeButton spacing: 2
text: "M"
selected: true PropertyButton {
id: magneticModeButton
text: "M"
selected: true
}
PropertyButton {
id: cutModeButton
text: "C"
selected: false
}
} }
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment