Change main pane top bar buttons and layout
This commit is contained in:
parent
46a1c13088
commit
3a2771d138
|
@ -13,13 +13,20 @@ Rectangle {
|
||||||
|
|
||||||
HButton {
|
HButton {
|
||||||
backgroundColor: "transparent"
|
backgroundColor: "transparent"
|
||||||
icon.name: "placeholder-logo"
|
icon.name: "settings"
|
||||||
icon.color: theme.mainPane.topBar.placeholderLogo
|
toolTip.text: qsTr("Open config folder")
|
||||||
|
|
||||||
|
onClicked: py.callCoro("get_config_dir", [], Qt.openUrlExternally)
|
||||||
|
|
||||||
|
Layout.fillHeight: true
|
||||||
|
}
|
||||||
|
|
||||||
|
HButton {
|
||||||
|
backgroundColor: "transparent"
|
||||||
|
|
||||||
text: qsTr("%1 %2")
|
text: qsTr("%1 %2")
|
||||||
.arg(Qt.application.displayName).arg(Qt.application.version)
|
.arg(Qt.application.displayName).arg(Qt.application.version)
|
||||||
label.color: theme.mainPane.topBar.nameVersionLabel
|
label.color: theme.mainPane.topBar.nameVersionLabel
|
||||||
label.horizontalAlignment: Text.AlignLeft
|
|
||||||
toolTip.text: qsTr("Open project repository")
|
toolTip.text: qsTr("Open project repository")
|
||||||
|
|
||||||
onClicked:
|
onClicked:
|
||||||
|
@ -38,25 +45,5 @@ Rectangle {
|
||||||
|
|
||||||
Layout.fillHeight: true
|
Layout.fillHeight: true
|
||||||
}
|
}
|
||||||
|
|
||||||
HButton {
|
|
||||||
backgroundColor: "transparent"
|
|
||||||
icon.name: "reload-config-files"
|
|
||||||
toolTip.text: qsTr("Reload config files")
|
|
||||||
|
|
||||||
onClicked: mainUI.reloadSettings()
|
|
||||||
|
|
||||||
Layout.fillHeight: true
|
|
||||||
}
|
|
||||||
|
|
||||||
HButton {
|
|
||||||
backgroundColor: "transparent"
|
|
||||||
icon.name: "settings"
|
|
||||||
toolTip.text: qsTr("Open config folder")
|
|
||||||
|
|
||||||
onClicked: py.callCoro("get_config_dir", [], Qt.openUrlExternally)
|
|
||||||
|
|
||||||
Layout.fillHeight: true
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
<svg clip-rule="evenodd" fill-rule="evenodd" height="24" width="24" xmlns="http://www.w3.org/2000/svg">
|
|
||||||
<path d="m12 0-12 12.001 12 11.999 12.001-11.999zm-9.171 12.001 9.171-9.172 9.172 9.172-9.172 9.172z"/>
|
|
||||||
</svg>
|
|
Before Width: | Height: | Size: 219 B |
|
@ -258,7 +258,6 @@ mainPane:
|
||||||
|
|
||||||
topBar:
|
topBar:
|
||||||
color background: colors.strongBackground
|
color background: colors.strongBackground
|
||||||
color placeholderLogo: icons.colorize
|
|
||||||
color nameVersionLabel: colors.text
|
color nameVersionLabel: colors.text
|
||||||
|
|
||||||
listView:
|
listView:
|
||||||
|
|
|
@ -268,7 +268,6 @@ mainPane:
|
||||||
|
|
||||||
topBar:
|
topBar:
|
||||||
color background: colors.strongBackground
|
color background: colors.strongBackground
|
||||||
color placeholderLogo: icons.colorize
|
|
||||||
color nameVersionLabel: colors.text
|
color nameVersionLabel: colors.text
|
||||||
|
|
||||||
listView:
|
listView:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user