Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
9
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Open sidebar
Elias Steurer
ScreenPlay
Commits
dd64e93a
Commit
dd64e93a
authored
Jan 05, 2021
by
Elias Steurer
🇩🇪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix UploadProject popup
parent
daa76b8b
Pipeline
#238151351
passed with stages
in 9 minutes and 39 seconds
Changes
3
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
36 additions
and
18 deletions
+36
-18
ScreenPlay/qml/Workshop/Workshop.qml
ScreenPlay/qml/Workshop/Workshop.qml
+31
-0
ScreenPlay/qml/Workshop/upload/UploadProject.qml
ScreenPlay/qml/Workshop/upload/UploadProject.qml
+5
-6
ScreenPlay/qml/Workshop/upload/UploadProjectBigItem.qml
ScreenPlay/qml/Workshop/upload/UploadProjectBigItem.qml
+0
-12
No files found.
ScreenPlay/qml/Workshop/Workshop.qml
View file @
dd64e93a
...
...
@@ -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
...
...
ScreenPlay/qml/Workshop/upload/UploadProject.qml
View file @
dd64e93a
...
...
@@ -8,10 +8,11 @@ import ScreenPlay 1.0
Popup
{
id
:
root
width
:
1
1
00
height
:
6
00
width
:
1
2
00
height
:
7
00
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
{
...
...
ScreenPlay/qml/Workshop/upload/UploadProjectBigItem.qml
View file @
dd64e93a
...
...
@@ -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
:
[
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment