mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-04-28 17:57:16 +02:00
[ui] ScriptEditor: Adjusted Icon Size and Layout
This commit is contained in:
parent
9fa772442d
commit
1b963ab1f2
1 changed files with 34 additions and 34 deletions
|
@ -143,7 +143,7 @@ Item {
|
||||||
Layout.alignment: Qt.AlignVCenter | Qt.AlignHCenter
|
Layout.alignment: Qt.AlignVCenter | Qt.AlignHCenter
|
||||||
|
|
||||||
MaterialToolButton {
|
MaterialToolButton {
|
||||||
font.pointSize: 18
|
font.pointSize: 13
|
||||||
text: MaterialIcons.file_open
|
text: MaterialIcons.file_open
|
||||||
ToolTip.text: "Load Script"
|
ToolTip.text: "Load Script"
|
||||||
|
|
||||||
|
@ -153,7 +153,7 @@ Item {
|
||||||
}
|
}
|
||||||
|
|
||||||
MaterialToolButton {
|
MaterialToolButton {
|
||||||
font.pointSize: 18
|
font.pointSize: 13
|
||||||
text: MaterialIcons.save
|
text: MaterialIcons.save
|
||||||
ToolTip.text: "Save Script"
|
ToolTip.text: "Save Script"
|
||||||
|
|
||||||
|
@ -162,40 +162,13 @@ Item {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Item {
|
|
||||||
width: executeButton.width
|
|
||||||
}
|
|
||||||
|
|
||||||
MaterialToolButton {
|
MaterialToolButton {
|
||||||
id: executeButton
|
font.pointSize: 13
|
||||||
font.pointSize: 18
|
|
||||||
text: MaterialIcons.play_arrow
|
|
||||||
ToolTip.text: "Execute Script"
|
|
||||||
|
|
||||||
onClicked: {
|
|
||||||
root.processScript()
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
MaterialToolButton {
|
|
||||||
font.pointSize: 18
|
|
||||||
text: MaterialIcons.backspace
|
|
||||||
ToolTip.text: "Clear Output Window"
|
|
||||||
|
|
||||||
onClicked: {
|
|
||||||
output.clear()
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
Item {
|
|
||||||
width: executeButton.width
|
|
||||||
}
|
|
||||||
|
|
||||||
MaterialToolButton {
|
|
||||||
font.pointSize: 18
|
|
||||||
text: MaterialIcons.history
|
text: MaterialIcons.history
|
||||||
ToolTip.text: "Get Previous Script"
|
ToolTip.text: "Get Previous Script"
|
||||||
|
|
||||||
|
enabled: ScriptEditorManager.hasPreviousScript;
|
||||||
|
|
||||||
onClicked: {
|
onClicked: {
|
||||||
var ret = ScriptEditorManager.getPreviousScript()
|
var ret = ScriptEditorManager.getPreviousScript()
|
||||||
|
|
||||||
|
@ -207,10 +180,12 @@ Item {
|
||||||
}
|
}
|
||||||
|
|
||||||
MaterialToolButton {
|
MaterialToolButton {
|
||||||
font.pointSize: 18
|
font.pointSize: 13
|
||||||
text: MaterialIcons.update
|
text: MaterialIcons.update
|
||||||
ToolTip.text: "Get Next Script"
|
ToolTip.text: "Get Next Script"
|
||||||
|
|
||||||
|
enabled: ScriptEditorManager.hasNextScript;
|
||||||
|
|
||||||
onClicked: {
|
onClicked: {
|
||||||
var ret = ScriptEditorManager.getNextScript()
|
var ret = ScriptEditorManager.getNextScript()
|
||||||
|
|
||||||
|
@ -222,7 +197,7 @@ Item {
|
||||||
}
|
}
|
||||||
|
|
||||||
MaterialToolButton {
|
MaterialToolButton {
|
||||||
font.pointSize: 18
|
font.pointSize: 13
|
||||||
text: MaterialIcons.delete_sweep
|
text: MaterialIcons.delete_sweep
|
||||||
ToolTip.text: "Clear History"
|
ToolTip.text: "Clear History"
|
||||||
|
|
||||||
|
@ -234,9 +209,34 @@ Item {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Item {
|
||||||
|
width: executeButton.width;
|
||||||
|
}
|
||||||
|
|
||||||
|
MaterialToolButton {
|
||||||
|
id: executeButton
|
||||||
|
font.pointSize: 13
|
||||||
|
text: MaterialIcons.play_arrow
|
||||||
|
ToolTip.text: "Execute Script"
|
||||||
|
|
||||||
|
onClicked: {
|
||||||
|
root.processScript()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
MaterialToolButton {
|
||||||
|
font.pointSize: 13
|
||||||
|
text: MaterialIcons.backspace
|
||||||
|
ToolTip.text: "Clear Output Window"
|
||||||
|
|
||||||
|
onClicked: {
|
||||||
|
output.clear()
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
RowLayout {
|
RowLayout {
|
||||||
|
|
Loading…
Add table
Reference in a new issue