215 lines
5.6 KiB
XML
215 lines
5.6 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>PreferencesDialog</class>
|
|
<widget class="QDialog" name="PreferencesDialog">
|
|
<property name="windowModality">
|
|
<enum>Qt::ApplicationModal</enum>
|
|
</property>
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>375</width>
|
|
<height>171</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Preferences</string>
|
|
</property>
|
|
<property name="modal">
|
|
<bool>true</bool>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBox">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Expanding">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="title">
|
|
<string> Preferences </string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
<item>
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
<item row="1" column="1" colspan="2">
|
|
<widget class="QLabel" name="labelJobCount">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>Maximum number of running jobs:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="3">
|
|
<widget class="QSpinBox" name="spinBoxJobCount">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>80</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="minimum">
|
|
<number>1</number>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>16</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="5" rowspan="2">
|
|
<spacer name="horizontalSpacer_3">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>1024</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item row="0" column="0" rowspan="2">
|
|
<spacer name="horizontalSpacer_2">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeType">
|
|
<enum>QSizePolicy::Fixed</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>8</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item row="1" column="4">
|
|
<spacer name="horizontalSpacer_4">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>0</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item row="0" column="1" colspan="4">
|
|
<widget class="QCheckBox" name="checkRunNextJob">
|
|
<property name="text">
|
|
<string>Automatically launch next job when a running job completes</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
<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="QPushButton" name="closeButton">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>100</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>Close</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../res/resources.qrc">
|
|
<normaloff>:/buttons/accept.png</normaloff>:/buttons/accept.png</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<tabstops>
|
|
<tabstop>closeButton</tabstop>
|
|
<tabstop>checkRunNextJob</tabstop>
|
|
<tabstop>spinBoxJobCount</tabstop>
|
|
</tabstops>
|
|
<resources>
|
|
<include location="../res/resources.qrc"/>
|
|
</resources>
|
|
<connections>
|
|
<connection>
|
|
<sender>closeButton</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>PreferencesDialog</receiver>
|
|
<slot>accept()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>339</x>
|
|
<y>157</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>199</x>
|
|
<y>89</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>checkRunNextJob</sender>
|
|
<signal>clicked(bool)</signal>
|
|
<receiver>spinBoxJobCount</receiver>
|
|
<slot>setEnabled(bool)</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>188</x>
|
|
<y>55</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>294</x>
|
|
<y>93</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>checkRunNextJob</sender>
|
|
<signal>clicked(bool)</signal>
|
|
<receiver>labelJobCount</receiver>
|
|
<slot>setEnabled(bool)</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>188</x>
|
|
<y>55</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>136</x>
|
|
<y>93</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
</connections>
|
|
</ui>
|