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
|
||||
|
||||
MaterialToolButton {
|
||||
font.pointSize: 18
|
||||
font.pointSize: 13
|
||||
text: MaterialIcons.file_open
|
||||
ToolTip.text: "Load Script"
|
||||
|
||||
|
@ -153,7 +153,7 @@ Item {
|
|||
}
|
||||
|
||||
MaterialToolButton {
|
||||
font.pointSize: 18
|
||||
font.pointSize: 13
|
||||
text: MaterialIcons.save
|
||||
ToolTip.text: "Save Script"
|
||||
|
||||
|
@ -162,40 +162,13 @@ Item {
|
|||
}
|
||||
}
|
||||
|
||||
Item {
|
||||
width: executeButton.width
|
||||
}
|
||||
|
||||
MaterialToolButton {
|
||||
id: executeButton
|
||||
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
|
||||
font.pointSize: 13
|
||||
text: MaterialIcons.history
|
||||
ToolTip.text: "Get Previous Script"
|
||||
|
||||
enabled: ScriptEditorManager.hasPreviousScript;
|
||||
|
||||
onClicked: {
|
||||
var ret = ScriptEditorManager.getPreviousScript()
|
||||
|
||||
|
@ -207,10 +180,12 @@ Item {
|
|||
}
|
||||
|
||||
MaterialToolButton {
|
||||
font.pointSize: 18
|
||||
font.pointSize: 13
|
||||
text: MaterialIcons.update
|
||||
ToolTip.text: "Get Next Script"
|
||||
|
||||
enabled: ScriptEditorManager.hasNextScript;
|
||||
|
||||
onClicked: {
|
||||
var ret = ScriptEditorManager.getNextScript()
|
||||
|
||||
|
@ -222,7 +197,7 @@ Item {
|
|||
}
|
||||
|
||||
MaterialToolButton {
|
||||
font.pointSize: 18
|
||||
font.pointSize: 13
|
||||
text: MaterialIcons.delete_sweep
|
||||
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 {
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
|
||||
MaterialToolButton {
|
||||
font.pointSize: 13
|
||||
text: MaterialIcons.backspace
|
||||
ToolTip.text: "Clear Output Window"
|
||||
|
||||
onClicked: {
|
||||
output.clear()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
RowLayout {
|
||||
|
|
Loading…
Add table
Reference in a new issue