Reorganize project assets

This commit is contained in:
Sebastian Palencsar
2026-05-20 11:43:28 +02:00
parent 439af10ea8
commit 1a059f0878
13 changed files with 10 additions and 10 deletions

View File

@@ -32,4 +32,4 @@ configure_file(
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/org.kde.bearwave.desktop DESTINATION share/applications) install(FILES ${CMAKE_CURRENT_BINARY_DIR}/org.kde.bearwave.desktop DESTINATION share/applications)
# Install app icon # Install app icon
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/bearwave.png DESTINATION share/icons/hicolor/256x256/apps RENAME org.kde.bearwave.png) install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/assets/app/bearwave.png DESTINATION share/icons/hicolor/256x256/apps RENAME org.kde.bearwave.png)

View File

Before

Width:  |  Height:  |  Size: 252 KiB

After

Width:  |  Height:  |  Size: 252 KiB

View File

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

Before

Width:  |  Height:  |  Size: 840 B

After

Width:  |  Height:  |  Size: 840 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

BIN
globe.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

BIN
screenshots/screen01.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 81 KiB

BIN
screenshots/screen02.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 97 KiB

BIN
screenshots/screen03.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 90 KiB

View File

@@ -1,9 +1,9 @@
<RCC> <RCC>
<qresource prefix="/"> <qresource prefix="/">
<file alias="Main.qml">qml/Main.qml</file> <file alias="Main.qml">qml/Main.qml</file>
<file alias="bearwave.png">../bearwave.png</file> <file alias="assets/app/bearwave.png">../assets/app/bearwave.png</file>
<file alias="globe.svg">../globe.svg</file> <file alias="assets/ui/globe.svg">../assets/ui/globe.svg</file>
<file alias="github.svg">../github.svg</file> <file alias="assets/ui/github.svg">../assets/ui/github.svg</file>
<file alias="linkedin.svg">../linkedin.svg</file> <file alias="assets/ui/linkedin.svg">../assets/ui/linkedin.svg</file>
</qresource> </qresource>
</RCC> </RCC>

View File

@@ -573,7 +573,7 @@ ApplicationWindow {
Image { Image {
id: coverImage id: coverImage
anchors.fill: parent anchors.fill: parent
source: backend && backend.player && backend.player.currentCoverArtUrl ? backend.player.currentCoverArtUrl : "qrc:/bearwave.png" source: backend && backend.player && backend.player.currentCoverArtUrl ? backend.player.currentCoverArtUrl : "qrc:/assets/app/bearwave.png"
fillMode: backend && backend.player && backend.player.currentCoverArtUrl ? Image.PreserveAspectCrop : Image.PreserveAspectFit fillMode: backend && backend.player && backend.player.currentCoverArtUrl ? Image.PreserveAspectCrop : Image.PreserveAspectFit
smooth: true smooth: true
asynchronous: true asynchronous: true
@@ -761,7 +761,7 @@ ApplicationWindow {
Layout.preferredHeight: 72 Layout.preferredHeight: 72
sourceSize.width: 72 sourceSize.width: 72
sourceSize.height: 72 sourceSize.height: 72
source: "qrc:/bearwave.png" source: "qrc:/assets/app/bearwave.png"
fillMode: Image.PreserveAspectFit fillMode: Image.PreserveAspectFit
smooth: true smooth: true
} }
@@ -804,7 +804,7 @@ ApplicationWindow {
ToolButton { ToolButton {
Layout.preferredWidth: 40 Layout.preferredWidth: 40
Layout.preferredHeight: 40 Layout.preferredHeight: 40
icon.source: "qrc:/globe.svg" icon.source: "qrc:/assets/ui/globe.svg"
icon.width: 19 icon.width: 19
icon.height: 19 icon.height: 19
onClicked: Qt.openUrlExternally("https://palencsar.pro") onClicked: Qt.openUrlExternally("https://palencsar.pro")
@@ -821,7 +821,7 @@ ApplicationWindow {
ToolButton { ToolButton {
Layout.preferredWidth: 40 Layout.preferredWidth: 40
Layout.preferredHeight: 40 Layout.preferredHeight: 40
icon.source: "qrc:/github.svg" icon.source: "qrc:/assets/ui/github.svg"
icon.width: 19 icon.width: 19
icon.height: 19 icon.height: 19
onClicked: Qt.openUrlExternally("https://github.com/spalencsar") onClicked: Qt.openUrlExternally("https://github.com/spalencsar")
@@ -838,7 +838,7 @@ ApplicationWindow {
ToolButton { ToolButton {
Layout.preferredWidth: 40 Layout.preferredWidth: 40
Layout.preferredHeight: 40 Layout.preferredHeight: 40
icon.source: "qrc:/linkedin.svg" icon.source: "qrc:/assets/ui/linkedin.svg"
icon.width: 19 icon.width: 19
icon.height: 19 icon.height: 19
onClicked: Qt.openUrlExternally("https://www.linkedin.com/in/spalencsar/") onClicked: Qt.openUrlExternally("https://www.linkedin.com/in/spalencsar/")