summaryrefslogtreecommitdiff
path: root/src/yuzu/loading_screen.ui
diff options
context:
space:
mode:
authorJames Rowe <jroweboy@gmail.com>2019-01-21 09:20:16 -0700
committerJames Rowe <jroweboy@gmail.com>2019-01-21 09:20:16 -0700
commit3ca0af8bb3dfd7c67320a842db8eabe198058bd6 (patch)
tree5c61bb08f161af8450000093f355e0f6462a80c8 /src/yuzu/loading_screen.ui
parent3740adb6f582963e50afba0a248163e3a37dd659 (diff)
Add fade out effect to the loading screen
Diffstat (limited to 'src/yuzu/loading_screen.ui')
-rw-r--r--src/yuzu/loading_screen.ui201
1 files changed, 111 insertions, 90 deletions
diff --git a/src/yuzu/loading_screen.ui b/src/yuzu/loading_screen.ui
index 35d50741e..a67d273fd 100644
--- a/src/yuzu/loading_screen.ui
+++ b/src/yuzu/loading_screen.ui
@@ -30,59 +30,77 @@
<number>0</number>
</property>
<item>
- <widget class="QLabel" name="logo">
- <property name="text">
- <string/>
- </property>
- <property name="alignment">
- <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
- </property>
- <property name="margin">
- <number>30</number>
- </property>
- </widget>
- </item>
- <item>
- <layout class="QVBoxLayout" name="verticalLayout" stretch="1,0,1">
- <property name="spacing">
- <number>15</number>
- </property>
- <property name="sizeConstraint">
- <enum>QLayout::SetNoConstraint</enum>
- </property>
- <item alignment="Qt::AlignHCenter|Qt::AlignBottom">
- <widget class="QLabel" name="stage">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="styleSheet">
- <string notr="true">background-color: black; color: white;
+ <widget class="QWidget" name="fade_parent" native="true">
+ <layout class="QVBoxLayout" name="verticalLayout_2">
+ <property name="spacing">
+ <number>0</number>
+ </property>
+ <property name="leftMargin">
+ <number>0</number>
+ </property>
+ <property name="topMargin">
+ <number>0</number>
+ </property>
+ <property name="rightMargin">
+ <number>0</number>
+ </property>
+ <property name="bottomMargin">
+ <number>0</number>
+ </property>
+ <item alignment="Qt::AlignLeft|Qt::AlignTop">
+ <widget class="QLabel" name="logo">
+ <property name="text">
+ <string/>
+ </property>
+ <property name="alignment">
+ <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
+ </property>
+ <property name="margin">
+ <number>30</number>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <layout class="QVBoxLayout" name="verticalLayout" stretch="1,0,1">
+ <property name="spacing">
+ <number>15</number>
+ </property>
+ <property name="sizeConstraint">
+ <enum>QLayout::SetNoConstraint</enum>
+ </property>
+ <item alignment="Qt::AlignHCenter|Qt::AlignBottom">
+ <widget class="QLabel" name="stage">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="styleSheet">
+ <string notr="true">background-color: black; color: white;
font: 75 20pt &quot;Arial&quot;;</string>
- </property>
- <property name="text">
- <string>Loading Shaders 387 / 1628</string>
- </property>
- </widget>
- </item>
- <item alignment="Qt::AlignHCenter|Qt::AlignTop">
- <widget class="QProgressBar" name="progress_bar">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>500</width>
- <height>40</height>
- </size>
- </property>
- <property name="styleSheet">
- <string notr="true">QProgressBar {
+ </property>
+ <property name="text">
+ <string>Loading Shaders 387 / 1628</string>
+ </property>
+ </widget>
+ </item>
+ <item alignment="Qt::AlignHCenter|Qt::AlignTop">
+ <widget class="QProgressBar" name="progress_bar">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="minimumSize">
+ <size>
+ <width>500</width>
+ <height>40</height>
+ </size>
+ </property>
+ <property name="styleSheet">
+ <string notr="true">QProgressBar {
color: white;
border: 2px solid white;
outline-color: black;
@@ -92,45 +110,48 @@ QProgressBar::chunk {
background-color: white;
border-radius: 15px;
}</string>
- </property>
- <property name="value">
- <number>50</number>
- </property>
- <property name="textVisible">
- <bool>false</bool>
- </property>
- <property name="format">
- <string>Loading Shaders %v out of %m</string>
- </property>
- </widget>
- </item>
- <item alignment="Qt::AlignHCenter|Qt::AlignTop">
- <widget class="QLabel" name="value">
- <property name="toolTip">
- <string notr="true"/>
- </property>
- <property name="styleSheet">
- <string notr="true">background-color: black; color: white;
+ </property>
+ <property name="value">
+ <number>50</number>
+ </property>
+ <property name="textVisible">
+ <bool>false</bool>
+ </property>
+ <property name="format">
+ <string>Loading Shaders %v out of %m</string>
+ </property>
+ </widget>
+ </item>
+ <item alignment="Qt::AlignHCenter|Qt::AlignTop">
+ <widget class="QLabel" name="value">
+ <property name="toolTip">
+ <string notr="true"/>
+ </property>
+ <property name="styleSheet">
+ <string notr="true">background-color: black; color: white;
font: 75 15pt &quot;Arial&quot;;</string>
- </property>
- <property name="text">
- <string>Stage 1 of 2. Estimate Time 5m 4s</string>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- <item alignment="Qt::AlignRight|Qt::AlignBottom">
- <widget class="QLabel" name="banner">
- <property name="styleSheet">
- <string notr="true">background-color: black;</string>
- </property>
- <property name="text">
- <string/>
- </property>
- <property name="margin">
- <number>30</number>
- </property>
+ </property>
+ <property name="text">
+ <string>Stage 1 of 2. Estimate Time 5m 4s</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ <item alignment="Qt::AlignRight|Qt::AlignBottom">
+ <widget class="QLabel" name="banner">
+ <property name="styleSheet">
+ <string notr="true">background-color: black;</string>
+ </property>
+ <property name="text">
+ <string/>
+ </property>
+ <property name="margin">
+ <number>30</number>
+ </property>
+ </widget>
+ </item>
+ </layout>
</widget>
</item>
</layout>