1 <?xml version="1.0" encoding="UTF-8"?>
3 <class>PreferencesDialog</class>
4 <widget class="QDialog" name="PreferencesDialog">
5 <property name="windowModality">
6 <enum>Qt::ApplicationModal</enum>
8 <property name="geometry">
16 <property name="windowTitle">
17 <string>Preferences</string>
19 <property name="modal">
22 <layout class="QVBoxLayout" name="verticalLayout">
24 <widget class="QGroupBox" name="groupBox">
25 <property name="sizePolicy">
26 <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
27 <horstretch>0</horstretch>
28 <verstretch>0</verstretch>
31 <property name="title">
32 <string> Preferences </string>
34 <layout class="QVBoxLayout" name="verticalLayout_2">
36 <layout class="QGridLayout" name="gridLayout">
37 <item row="1" column="1" colspan="2">
38 <widget class="QLabel" name="labelJobCount">
39 <property name="enabled">
42 <property name="text">
43 <string>Maximum number of running jobs:</string>
47 <item row="1" column="3">
48 <widget class="QSpinBox" name="spinBoxJobCount">
49 <property name="enabled">
52 <property name="minimumSize">
58 <property name="minimum">
61 <property name="maximum">
66 <item row="0" column="5" rowspan="2">
67 <spacer name="horizontalSpacer_3">
68 <property name="orientation">
69 <enum>Qt::Horizontal</enum>
71 <property name="sizeHint" stdset="0">
79 <item row="0" column="0" rowspan="2">
80 <spacer name="horizontalSpacer_2">
81 <property name="orientation">
82 <enum>Qt::Horizontal</enum>
84 <property name="sizeType">
85 <enum>QSizePolicy::Fixed</enum>
87 <property name="sizeHint" stdset="0">
95 <item row="1" column="4">
96 <spacer name="horizontalSpacer_4">
97 <property name="orientation">
98 <enum>Qt::Horizontal</enum>
100 <property name="sizeHint" stdset="0">
108 <item row="0" column="1" colspan="4">
109 <widget class="QCheckBox" name="checkRunNextJob">
110 <property name="text">
111 <string>Automatically launch next job when a running job completes</string>
121 <layout class="QHBoxLayout" name="horizontalLayout">
123 <spacer name="horizontalSpacer">
124 <property name="orientation">
125 <enum>Qt::Horizontal</enum>
127 <property name="sizeHint" stdset="0">
136 <widget class="QPushButton" name="closeButton">
137 <property name="minimumSize">
143 <property name="text">
144 <string>Close</string>
146 <property name="icon">
147 <iconset resource="../res/resources.qrc">
148 <normaloff>:/buttons/accept.png</normaloff>:/buttons/accept.png</iconset>
157 <tabstop>closeButton</tabstop>
158 <tabstop>checkRunNextJob</tabstop>
159 <tabstop>spinBoxJobCount</tabstop>
162 <include location="../res/resources.qrc"/>
166 <sender>closeButton</sender>
167 <signal>clicked()</signal>
168 <receiver>PreferencesDialog</receiver>
169 <slot>accept()</slot>
171 <hint type="sourcelabel">
175 <hint type="destinationlabel">
182 <sender>checkRunNextJob</sender>
183 <signal>clicked(bool)</signal>
184 <receiver>spinBoxJobCount</receiver>
185 <slot>setEnabled(bool)</slot>
187 <hint type="sourcelabel">
191 <hint type="destinationlabel">
198 <sender>checkRunNextJob</sender>
199 <signal>clicked(bool)</signal>
200 <receiver>labelJobCount</receiver>
201 <slot>setEnabled(bool)</slot>
203 <hint type="sourcelabel">
207 <hint type="destinationlabel">