mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-09-18 16:32:33 +02:00
Fix UploadProject popup
This commit is contained in:
parent
daa76b8b51
commit
dd64e93afe
@ -278,6 +278,37 @@ Item {
|
||||
}
|
||||
}
|
||||
|
||||
Row {
|
||||
spacing: 20
|
||||
anchors {
|
||||
left: searchWrapper.right
|
||||
leftMargin: 20
|
||||
right: cbQuerySort.left
|
||||
rightMargin: 20
|
||||
verticalCenter: parent.verticalCenter
|
||||
}
|
||||
Button {
|
||||
text: qsTr("Open Workshop in Steam")
|
||||
font.capitalization: Font.Capitalize
|
||||
font.family: ScreenPlay.settings.font
|
||||
onClicked: Qt.openUrlExternally(
|
||||
"steam://url/SteamWorkshopPage/672870")
|
||||
icon.source: "qrc:/assets/icons/icon_steam.svg"
|
||||
icon.width: 18
|
||||
icon.height: 18
|
||||
}
|
||||
Button {
|
||||
text: qsTr("Open GameHub in Steam")
|
||||
font.capitalization: Font.Capitalize
|
||||
font.family: ScreenPlay.settings.font
|
||||
onClicked: Qt.openUrlExternally(
|
||||
"steam://url/GameHub/672870")
|
||||
icon.source: "qrc:/assets/icons/icon_steam.svg"
|
||||
icon.width: 18
|
||||
icon.height: 18
|
||||
}
|
||||
}
|
||||
|
||||
ComboBox {
|
||||
id: cbQuerySort
|
||||
width: 250
|
||||
|
@ -8,10 +8,11 @@ import ScreenPlay 1.0
|
||||
|
||||
Popup {
|
||||
id: root
|
||||
width: 1100
|
||||
height: 600
|
||||
width: 1200
|
||||
height: 700
|
||||
modal: true
|
||||
dim: true
|
||||
anchors.centerIn: Overlay.overlay
|
||||
closePolicy: Popup.NoAutoClose
|
||||
onAboutToShow: uploadLoader.sourceComponent = com
|
||||
onAboutToHide: uploadLoader.sourceComponent = undefined
|
||||
@ -123,7 +124,7 @@ Popup {
|
||||
}
|
||||
}
|
||||
Button {
|
||||
id:btnAbort
|
||||
id: btnAbort
|
||||
text: qsTr("Abort")
|
||||
onClicked: {
|
||||
SP.Workshop.steamWorkshop.uploadListModel.clear()
|
||||
@ -139,7 +140,7 @@ Popup {
|
||||
|
||||
Button {
|
||||
id: btnUploadProjects
|
||||
text: qsTr("Upload Projects")
|
||||
text: qsTr("Upload Selected Projects")
|
||||
highlighted: true
|
||||
enabled: false
|
||||
anchors {
|
||||
@ -219,8 +220,6 @@ Popup {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
PageIndicator {
|
||||
|
@ -128,13 +128,6 @@ Item {
|
||||
}
|
||||
}
|
||||
|
||||
Rectangle {
|
||||
id: rctInvalid
|
||||
anchors.fill: parent
|
||||
color: screenPlayItemWrapper.color
|
||||
opacity: 0
|
||||
visible: false
|
||||
}
|
||||
|
||||
Text {
|
||||
id: txtInvalidError
|
||||
@ -193,11 +186,6 @@ Item {
|
||||
opacity: 1
|
||||
}
|
||||
|
||||
PropertyChanges {
|
||||
target: rctInvalid
|
||||
opacity: .8
|
||||
visible: true
|
||||
}
|
||||
}
|
||||
]
|
||||
transitions: [
|
||||
|
Loading…
Reference in New Issue
Block a user