435d560b5c
This change makes it more inline with how QScrollArea operates on a central widget. Other changes include using a QFrame instead of a QWidget as a base and adding a QLabel for the title instead of the horizontal line. The advanced options were split into their own separate widget. Right now their class operates only as a container with the logic remaining in the InstallDialog.
199 lines
5.2 KiB
XML
199 lines
5.2 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>InstallDialogAdvanced</class>
|
|
<widget class="QWidget" name="InstallDialogAdvanced">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>379</width>
|
|
<height>208</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string notr="true">InstallDialogAdvanced</string>
|
|
</property>
|
|
<layout class="QFormLayout" name="install_dialog_advanced_layout">
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="max_workers_label">
|
|
<property name="text">
|
|
<string>Max workers</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<layout class="QHBoxLayout" name="max_workers_layout">
|
|
<item>
|
|
<widget class="QSpinBox" name="max_workers_spin">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Maximum" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="max_workers_info">
|
|
<property name="font">
|
|
<font>
|
|
<italic>true</italic>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>Less is slower. (0: Default)</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="max_memory_label">
|
|
<property name="text">
|
|
<string>Max shared memory</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<layout class="QHBoxLayout" name="max_memory_layout">
|
|
<item>
|
|
<widget class="QSpinBox" name="max_memory_spin">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Maximum" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="suffix">
|
|
<string>MiB</string>
|
|
</property>
|
|
<property name="minimum">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>10240</number>
|
|
</property>
|
|
<property name="singleStep">
|
|
<number>128</number>
|
|
</property>
|
|
<property name="value">
|
|
<number>1024</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="max_memory_info">
|
|
<property name="font">
|
|
<font>
|
|
<italic>true</italic>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>Less is slower (0: Default)</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QLabel" name="install_prereqs_label">
|
|
<property name="text">
|
|
<string>Install prerequisites</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1">
|
|
<widget class="QCheckBox" name="install_prereqs_check">
|
|
<property name="font">
|
|
<font>
|
|
<italic>true</italic>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string notr="true"/>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="0">
|
|
<widget class="QLabel" name="dl_optimizations_label">
|
|
<property name="text">
|
|
<string>Enable reordering</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="1">
|
|
<widget class="QCheckBox" name="dl_optimizations_check">
|
|
<property name="text">
|
|
<string notr="true"/>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="0">
|
|
<widget class="QLabel" name="force_download_label">
|
|
<property name="text">
|
|
<string>Force redownload</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="1">
|
|
<widget class="QCheckBox" name="force_download_check">
|
|
<property name="text">
|
|
<string notr="true"/>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="5" column="0">
|
|
<widget class="QLabel" name="ignore_space_label">
|
|
<property name="text">
|
|
<string>Ignore free space</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="5" column="1">
|
|
<widget class="QCheckBox" name="ignore_space_check">
|
|
<property name="font">
|
|
<font>
|
|
<italic>true</italic>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>Use with caution!</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="6" column="0">
|
|
<widget class="QLabel" name="download_only_label">
|
|
<property name="text">
|
|
<string>Download only</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="6" column="1">
|
|
<widget class="QCheckBox" name="download_only_check">
|
|
<property name="font">
|
|
<font>
|
|
<italic>true</italic>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>Do not try to install.</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|