mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-11-22 02:32:29 +01:00
Fix workshop resource path prefix
This commit is contained in:
parent
7a02ec11ae
commit
dd00683445
@ -21,7 +21,7 @@ MouseArea {
|
||||
|
||||
Icon image if the icon.
|
||||
*/
|
||||
property string icon: "qrc:/ScreenPlayWorkshop/assets/icons/icon_close.svg"
|
||||
property string icon: "qrc:/qml/ScreenPlayWorkshop/assets/icons/icon_close.svg"
|
||||
|
||||
width: 32
|
||||
height: width
|
||||
|
@ -37,7 +37,7 @@ Rectangle {
|
||||
id: maskSource
|
||||
|
||||
visible: false
|
||||
source: "qrc:/ScreenPlayWorkshop/assets/images/mask_workshop.png"
|
||||
source: "qrc:/qml/ScreenPlayWorkshop/assets/images/mask_workshop.png"
|
||||
}
|
||||
|
||||
Image {
|
||||
|
@ -78,14 +78,14 @@ Rectangle {
|
||||
Image {
|
||||
id: avatarPlaceholder
|
||||
anchors.fill: avatar
|
||||
source: "qrc:/ScreenPlayWorkshop/assets/images/steam_default_avatar.png"
|
||||
source: "qrc:/qml/ScreenPlayWorkshop/assets/images/steam_default_avatar.png"
|
||||
}
|
||||
|
||||
Button {
|
||||
id: btnUplaod
|
||||
|
||||
text: qsTr("Upload to the Steam Workshop")
|
||||
icon.source: "qrc:/ScreenPlayWorkshop/assets/icons/icon_plus.svg"
|
||||
icon.source: "qrc:/qml/ScreenPlayWorkshop/assets/icons/icon_plus.svg"
|
||||
icon.color: "white"
|
||||
icon.width: 16
|
||||
icon.height: 16
|
||||
|
@ -36,7 +36,7 @@ Popup {
|
||||
}
|
||||
|
||||
Image {
|
||||
source: "qrc:/ScreenPlayWorkshop/assets/images/steam_offline.png"
|
||||
source: "qrc:/qml/ScreenPlayWorkshop/assets/images/steam_offline.png"
|
||||
Layout.alignment: Qt.AlignHCenter
|
||||
}
|
||||
|
||||
|
@ -138,7 +138,7 @@ Item {
|
||||
Image {
|
||||
id: mask
|
||||
|
||||
source: "qrc:/ScreenPlayWorkshop/assets/images/window.svg"
|
||||
source: "qrc:/qml/ScreenPlayWorkshop/assets/images/window.svg"
|
||||
sourceSize: Qt.size(screenPlayItem.width, screenPlayItem.height)
|
||||
visible: false
|
||||
smooth: true
|
||||
|
@ -150,7 +150,7 @@ Drawer {
|
||||
Image {
|
||||
id: imgBack
|
||||
|
||||
source: "qrc:/ScreenPlayWorkshop/assets/icons/icon_arrow_right.svg"
|
||||
source: "qrc:/qml/ScreenPlayWorkshop/assets/icons/icon_arrow_right.svg"
|
||||
sourceSize: Qt.size(15, 15)
|
||||
fillMode: Image.PreserveAspectFit
|
||||
anchors.centerIn: parent
|
||||
@ -186,7 +186,7 @@ Drawer {
|
||||
id: txtVotesUp
|
||||
|
||||
Layout.fillWidth: true
|
||||
icon.source: "qrc:/ScreenPlayWorkshop/assets/icons/icon_thumb_up.svg"
|
||||
icon.source: "qrc:/qml/ScreenPlayWorkshop/assets/icons/icon_thumb_up.svg"
|
||||
ToolTip.visible: hovered
|
||||
ToolTip.text: qsTr("Click here if you like the content")
|
||||
onClicked: {
|
||||
@ -200,7 +200,7 @@ Drawer {
|
||||
id: txtVotesDown
|
||||
|
||||
Layout.fillWidth: true
|
||||
icon.source: "qrc:/ScreenPlayWorkshop/assets/icons/icon_thumb_down.svg"
|
||||
icon.source: "qrc:/qml/ScreenPlayWorkshop/assets/icons/icon_thumb_down.svg"
|
||||
ToolTip.visible: hovered
|
||||
ToolTip.text: qsTr("Click here if you do not like the content")
|
||||
onClicked: {
|
||||
@ -324,7 +324,7 @@ Drawer {
|
||||
id: btnOpenInSteam
|
||||
|
||||
font.pointSize: 10
|
||||
icon.source: "qrc:/ScreenPlayWorkshop/assets/icons/icon_open_in_new.svg"
|
||||
icon.source: "qrc:/qml/ScreenPlayWorkshop/assets/icons/icon_open_in_new.svg"
|
||||
height: 25
|
||||
text: qsTr("Open In Steam")
|
||||
onClicked: Qt.openUrlExternally(
|
||||
@ -336,7 +336,7 @@ Drawer {
|
||||
|
||||
highlighted: !root.subscribed
|
||||
enabled: !root.subscribed
|
||||
icon.source: "qrc:/ScreenPlayWorkshop/assets/icons/icon_download.svg"
|
||||
icon.source: "qrc:/qml/ScreenPlayWorkshop/assets/icons/icon_download.svg"
|
||||
text: root.subscribed ? qsTr("Subscribed!") : qsTr("Subscribe")
|
||||
onClicked: {
|
||||
root.subscribed = true
|
||||
|
@ -59,7 +59,7 @@ Item {
|
||||
Image {
|
||||
id: avatarPlaceholder
|
||||
anchors.fill: parent
|
||||
source: "qrc:/ScreenPlayWorkshop/assets/images/steam_default_avatar.png"
|
||||
source: "qrc:/qml/ScreenPlayWorkshop/assets/images/steam_default_avatar.png"
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -154,7 +154,7 @@ Item {
|
||||
text: qsTr("Download now!")
|
||||
Material.accent: Material.color(Material.Orange)
|
||||
highlighted: true
|
||||
icon.source: "qrc:/ScreenPlayWorkshop/assets/icons/icon_download.svg"
|
||||
icon.source: "qrc:/qml/ScreenPlayWorkshop/assets/icons/icon_download.svg"
|
||||
onClicked: {
|
||||
text = qsTr("Downloading...")
|
||||
root.steamWorkshop.subscribeItem(
|
||||
@ -167,7 +167,7 @@ Item {
|
||||
text: qsTr("Details")
|
||||
Material.accent: Material.color(Material.Orange)
|
||||
highlighted: true
|
||||
icon.source: "qrc:/ScreenPlayWorkshop/assets/icons/icon_info.svg"
|
||||
icon.source: "qrc:/qml/ScreenPlayWorkshop/assets/icons/icon_info.svg"
|
||||
visible: false
|
||||
onClicked: {
|
||||
sidebar.setWorkshopItem(publishedFileID,
|
||||
@ -261,7 +261,7 @@ Item {
|
||||
Image {
|
||||
id: avatarPlaceholder
|
||||
anchors.fill: avatar
|
||||
source: "qrc:/ScreenPlayWorkshop/assets/images/steam_default_avatar.png"
|
||||
source: "qrc:/qml/ScreenPlayWorkshop/assets/images/steam_default_avatar.png"
|
||||
}
|
||||
|
||||
Button {
|
||||
@ -340,7 +340,7 @@ Item {
|
||||
|
||||
ToolButton {
|
||||
id: tb
|
||||
icon.source: "qrc:/ScreenPlayWorkshop/assets/icons/icon_search.svg"
|
||||
icon.source: "qrc:/qml/ScreenPlayWorkshop/assets/icons/icon_search.svg"
|
||||
onClicked: {
|
||||
root.state = "searching"
|
||||
root.steamWorkshop.searchWorkshopByText(
|
||||
@ -377,7 +377,7 @@ Item {
|
||||
font.capitalization: Font.Capitalize
|
||||
onClicked: Qt.openUrlExternally(
|
||||
"steam://url/SteamWorkshopPage/672870")
|
||||
icon.source: "qrc:/ScreenPlayWorkshop/assets/icons/icon_steam.svg"
|
||||
icon.source: "qrc:/qml/ScreenPlayWorkshop/assets/icons/icon_steam.svg"
|
||||
icon.width: 18
|
||||
icon.height: 18
|
||||
height: cbQuerySort.height
|
||||
|
@ -127,7 +127,7 @@ Item {
|
||||
Image {
|
||||
id: mask
|
||||
|
||||
//source: "qrc:/ScreenPlayWorkshop/assets/images/Window.svg"
|
||||
//source: "qrc:/qml/ScreenPlayWorkshop/assets/images/Window.svg"
|
||||
sourceSize: Qt.size(screenPlay.width, screenPlay.height)
|
||||
visible: false
|
||||
smooth: true
|
||||
@ -220,7 +220,7 @@ Item {
|
||||
}
|
||||
|
||||
Image {
|
||||
source: "qrc:/ScreenPlayWorkshop/assets/icons/icon_open_in_new.svg"
|
||||
source: "qrc:/qml/ScreenPlayWorkshop/assets/icons/icon_open_in_new.svg"
|
||||
sourceSize: Qt.size(parent.width, parent.height)
|
||||
fillMode: Image.PreserveAspectFit
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user