Skip to content

Commit 074a55a

Browse files
committed
Add placeholder tool buttons in arrangement panel
1 parent ef6bf89 commit 074a55a

File tree

3 files changed

+61
-1
lines changed

3 files changed

+61
-1
lines changed

src/plugins/coreplugin/qml/panels/ArrangementPanel.qml

Lines changed: 55 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,59 @@ import SVSCraft.UIComponents
99
import DiffScope.UIShell
1010

1111
ActionDockingPane {
12-
12+
header: RowLayout {
13+
anchors.fill: parent
14+
spacing: 4
15+
ToolButton {
16+
icon.source: "qrc:/diffscope/coreplugin/icons/AddCircle16Filled.svg"
17+
text: qsTr("Add Track")
18+
}
19+
Rectangle {
20+
width: 1
21+
Layout.fillHeight: true
22+
Layout.topMargin: 4
23+
Layout.bottomMargin: 4
24+
color: Theme.borderColor
25+
}
26+
ButtonGroup {
27+
id: editModeButtonGroup
28+
exclusive: true
29+
}
30+
ToolButton {
31+
icon.source: "qrc:/diffscope/coreplugin/icons/Cursor16Filled.svg"
32+
text: qsTr("Pointer")
33+
display: AbstractButton.IconOnly
34+
checkable: true
35+
checked: true
36+
ButtonGroup.group: editModeButtonGroup
37+
}
38+
ToolButton {
39+
icon.source: "qrc:/diffscope/coreplugin/icons/Edit16Filled.svg"
40+
text: qsTr("Pen")
41+
display: AbstractButton.IconOnly
42+
checkable: true
43+
ButtonGroup.group: editModeButtonGroup
44+
}
45+
ToolButton {
46+
icon.source: "qrc:/diffscope/coreplugin/icons/Cut16Filled.svg"
47+
text: qsTr("Scissor")
48+
display: AbstractButton.IconOnly
49+
checkable: true
50+
ButtonGroup.group: editModeButtonGroup
51+
}
52+
Item {
53+
Layout.fillWidth: true
54+
}
55+
ToolButton {
56+
text: qsTr("Toggle Tempo Track")
57+
display: AbstractButton.IconOnly
58+
checkable: true
59+
}
60+
ToolButton {
61+
icon.source: "qrc:/diffscope/coreplugin/icons/Tag16Filled"
62+
text: qsTr("Toggle Tag Track")
63+
display: AbstractButton.IconOnly
64+
checkable: true
65+
}
66+
}
1367
}
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)