1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2024-12-29 03:19:44 +00:00
OpenMW/files/ui/mainwindow.ui
Thunderforge b86356fe13 [Launcher] Removing extra box surrounding all main content
Previously, all main content was in a single box, separated from the bottom containing the version and Help/Close/Play buttons. For pages that already had boxes, that meant there were were boxes within boxes and this looked visually cluttered.

I've removed the box to reduce the amount of visual clutter and added a horizontal line so that the content is still separated from the bottom content.
2021-05-08 19:57:11 -05:00

103 lines
2.6 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>MainWindow</class>
<widget class="QMainWindow" name="MainWindow">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>720</width>
<height>565</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>720</width>
<height>565</height>
</size>
</property>
<property name="windowTitle">
<string>OpenMW Launcher</string>
</property>
<property name="windowIcon">
<iconset resource="../launcher/launcher.qrc">
<normaloff>:/images/openmw.png</normaloff>:/images/openmw.png</iconset>
</property>
<widget class="QWidget" name="centralwidget">
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<widget class="QListWidget" name="iconWidget">
<property name="minimumSize">
<size>
<width>400</width>
<height>80</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>80</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">#iconWidget {
background-image: url(&quot;:/images/openmw-header.png&quot;);
background-color: palette(base);
background-repeat: no-repeat;
background-attachment: scroll;
background-position: right;
}
</string>
</property>
</widget>
</item>
<item>
<widget class="QStackedWidget" name="pagesWidget"/>
</item>
<item>
<widget class="Line" name="line">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QLabel" name="versionLabel">
<property name="text">
<string>OpenMW version</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QDialogButtonBox" name="buttonBox">
<property name="standardButtons">
<set>QDialogButtonBox::Close</set>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</widget>
<resources>
<include location="../launcher/launcher.qrc"/>
</resources>
<connections/>
</ui>