1
0
Fork 0
mirror of synced 2024-06-29 19:51:02 +12:00
Rare/rare/ui/components/tabs/games/game_info/game_dlc.ui
loathingKernel 304ad0388e GameDlc: Re-write the form to use a QToolBox instead of two separate QGroupBoxes.
By using a QToolBox, we can better utilize the available space for
long lists of DLCs. `GameDlcWidget` is now responsible for handling
installing and uninstalling the DLC based on RareGame's functionality.

Since `GameUtils` is not used for uninstalling any more, remove it the
arguments of `GameInfoTabs` completely.
2023-02-04 17:38:07 +02:00

133 lines
3.5 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>GameDlc</class>
<widget class="QToolBox" name="GameDlc">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>271</width>
<height>139</height>
</rect>
</property>
<property name="windowTitle">
<string notr="true">GameDlc</string>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Sunken</enum>
</property>
<property name="lineWidth">
<number>0</number>
</property>
<widget class="QWidget" name="installed_dlc_page">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>267</width>
<height>79</height>
</rect>
</property>
<attribute name="label">
<string>Installed DLCs</string>
</attribute>
<layout class="QVBoxLayout" name="installed_dlc_page_layout" stretch="0,1">
<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::AlignTop">
<widget class="QLabel" name="installed_dlc_label">
<property name="text">
<string>No Downloadable Content has been installed.</string>
</property>
</widget>
</item>
<item alignment="Qt::AlignTop">
<widget class="QWidget" name="installed_dlc_container" native="true">
<layout class="QVBoxLayout" name="installed_dlc_container_layout">
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>3</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
</layout>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="available_dlc_page">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>267</width>
<height>79</height>
</rect>
</property>
<attribute name="label">
<string>Available DLCs</string>
</attribute>
<layout class="QVBoxLayout" name="available_dlc_page_layou" stretch="0,1">
<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::AlignTop">
<widget class="QLabel" name="available_dlc_label">
<property name="text">
<string>No Downloadable Content is available</string>
</property>
</widget>
</item>
<item alignment="Qt::AlignTop">
<widget class="QWidget" name="available_dlc_container" native="true">
<layout class="QVBoxLayout" name="available_dlc_container_layout">
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>3</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
</layout>
</widget>
</item>
</layout>
</widget>
</widget>
<resources/>
<connections/>
</ui>