Ensuring app icons are white.

This commit is contained in:
Adsooi 2024-10-26 22:46:22 +02:00
parent 90f4691c54
commit 5d0542ffcc
Signed by: Ad5001
GPG key ID: EF45F9C6AFE20160

View file

@ -41,6 +41,7 @@ MenuBar {
shortcut: StandardKey.Open shortcut: StandardKey.Open
onTriggered: settings.load() onTriggered: settings.load()
icon.name: 'document-open' icon.name: 'document-open'
icon.color: sysPalette.windowText
} }
Action { Action {
@ -48,13 +49,14 @@ MenuBar {
shortcut: StandardKey.Save shortcut: StandardKey.Save
onTriggered: settings.save() onTriggered: settings.save()
icon.name: 'document-save' icon.name: 'document-save'
icon.color: sysPalette.windowText
} }
Action { Action {
text: qsTr("Save &As...") text: qsTr("Save &As...")
shortcut: StandardKey.SaveAs shortcut: StandardKey.SaveAs
onTriggered: settings.saveAs() onTriggered: settings.saveAs()
icon.color: sysPalette.windowText
icon.name: 'document-save-as' icon.name: 'document-save-as'
} }
MenuSeparator { } MenuSeparator { }
Action { Action {
@ -68,6 +70,7 @@ MenuBar {
} }
icon.name: 'application-exit' icon.name: 'application-exit'
icon.color: sysPalette.windowText
} }
} }
@ -92,6 +95,7 @@ MenuBar {
shortcut: StandardKey.Copy shortcut: StandardKey.Copy
onTriggered: root.copyDiagramToClipboard() onTriggered: root.copyDiagramToClipboard()
icon.name: 'edit-copy' icon.name: 'edit-copy'
icon.color: sysPalette.windowText
} }
MenuSeparator { } MenuSeparator { }
Action { Action {
@ -99,6 +103,7 @@ MenuBar {
shortcut: StandardKey.Copy shortcut: StandardKey.Copy
onTriggered: preferences.open() onTriggered: preferences.open()
icon.name: 'settings' icon.name: 'settings'
icon.color: sysPalette.windowText
} }
} }
@ -129,38 +134,45 @@ MenuBar {
Action { Action {
text: qsTr("&Source code") text: qsTr("&Source code")
icon.name: 'software-sources' icon.name: 'software-sources'
icon.color: sysPalette.windowText
onTriggered: Qt.openUrlExternally("https://git.ad5001.eu/Ad5001/LogarithmPlotter") onTriggered: Qt.openUrlExternally("https://git.ad5001.eu/Ad5001/LogarithmPlotter")
} }
Action { Action {
text: qsTr("&Report a bug") text: qsTr("&Report a bug")
icon.name: 'tools-report-bug' icon.name: 'tools-report-bug'
icon.color: sysPalette.windowText
onTriggered: Qt.openUrlExternally("https://git.ad5001.eu/Ad5001/LogarithmPlotter/issues") onTriggered: Qt.openUrlExternally("https://git.ad5001.eu/Ad5001/LogarithmPlotter/issues")
} }
Action { Action {
text: qsTr("&User manual") text: qsTr("&User manual")
icon.name: 'documentation' icon.name: 'documentation'
icon.color: sysPalette.windowText
onTriggered: Qt.openUrlExternally("https://git.ad5001.eu/Ad5001/LogarithmPlotter/wiki/_Sidebar") onTriggered: Qt.openUrlExternally("https://git.ad5001.eu/Ad5001/LogarithmPlotter/wiki/_Sidebar")
} }
Action { Action {
text: qsTr("&Changelog") text: qsTr("&Changelog")
icon.name: 'state-information' icon.name: 'state-information'
icon.color: sysPalette.windowText
onTriggered: changelog.open() onTriggered: changelog.open()
} }
Action { Action {
text: qsTr("&Help translating!") text: qsTr("&Help translating!")
icon.name: 'translator' icon.name: 'translate'
icon.color: sysPalette.windowText
onTriggered: Qt.openUrlExternally("https://hosted.weblate.org/engage/logarithmplotter/") onTriggered: Qt.openUrlExternally("https://hosted.weblate.org/engage/logarithmplotter/")
} }
MenuSeparator { } MenuSeparator { }
Action { Action {
text: qsTr("&Thanks") text: qsTr("&Thanks")
icon.name: 'about' icon.name: 'help-about'
icon.color: sysPalette.windowText
onTriggered: thanksTo.open() onTriggered: thanksTo.open()
} }
Action { Action {
text: qsTr("&About") text: qsTr("&About")
shortcut: StandardKey.HelpContents shortcut: StandardKey.HelpContents
icon.name: 'about' icon.name: 'help-about'
icon.color: sysPalette.windowText
onTriggered: about.open() onTriggered: about.open()
} }
} }