1<?xml version="1.0" encoding="UTF-8"?>
2<ui version="4.0">
3 <class>AddConstraintTeachersMaxGapsPerWeekForm_template</class>
4 <widget class="QDialog" name="AddConstraintTeachersMaxGapsPerWeekForm_template">
5  <property name="geometry">
6   <rect>
7    <x>0</x>
8    <y>0</y>
9    <width>611</width>
10    <height>313</height>
11   </rect>
12  </property>
13  <property name="windowTitle">
14   <string extracomment="This is the title of the dialog to add a new constraint of this type">Add teachers max gaps per week</string>
15  </property>
16  <layout class="QVBoxLayout" name="verticalLayout">
17   <item>
18    <widget class="QLabel" name="instructionsTextLabel">
19     <property name="sizePolicy">
20      <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
21       <horstretch>0</horstretch>
22       <verstretch>0</verstretch>
23      </sizepolicy>
24     </property>
25     <property name="frameShape">
26      <enum>QFrame::NoFrame</enum>
27     </property>
28     <property name="frameShadow">
29      <enum>QFrame::Plain</enum>
30     </property>
31     <property name="text">
32      <string>It is recommended to use only one constraint of this type. You must use weight percentage 100%, because otherwise you will get poor timetables. Try to fix firstly a rather large value for max gaps per week and lower it as you find new timetables. The default given here, 3, might be too low for your school and you might need to use higher values.
33Note: teacher not available and break are not counted as gaps.</string>
34     </property>
35     <property name="wordWrap">
36      <bool>true</bool>
37     </property>
38    </widget>
39   </item>
40   <item>
41    <spacer name="spacer2">
42     <property name="orientation">
43      <enum>Qt::Vertical</enum>
44     </property>
45     <property name="sizeType">
46      <enum>QSizePolicy::Expanding</enum>
47     </property>
48     <property name="sizeHint" stdset="0">
49      <size>
50       <width>20</width>
51       <height>52</height>
52      </size>
53     </property>
54    </spacer>
55   </item>
56   <item>
57    <layout class="QHBoxLayout" name="horizontalLayout_2">
58     <item>
59      <widget class="QLabel" name="textLabel1">
60       <property name="text">
61        <string>Max gaps per week</string>
62       </property>
63       <property name="wordWrap">
64        <bool>false</bool>
65       </property>
66      </widget>
67     </item>
68     <item>
69      <widget class="QSpinBox" name="maxGapsSpinBox"/>
70     </item>
71    </layout>
72   </item>
73   <item>
74    <layout class="QHBoxLayout" name="horizontalLayout">
75     <item>
76      <widget class="QLabel" name="weightTextLabel">
77       <property name="frameShape">
78        <enum>QFrame::NoFrame</enum>
79       </property>
80       <property name="frameShadow">
81        <enum>QFrame::Plain</enum>
82       </property>
83       <property name="text">
84        <string>Weight percentage (necessary: 100%)</string>
85       </property>
86       <property name="wordWrap">
87        <bool>false</bool>
88       </property>
89      </widget>
90     </item>
91     <item>
92      <widget class="QLineEdit" name="weightLineEdit">
93       <property name="text">
94        <string notr="true">100</string>
95       </property>
96      </widget>
97     </item>
98    </layout>
99   </item>
100   <item>
101    <layout class="QHBoxLayout">
102     <item>
103      <widget class="QPushButton" name="addConstraintPushButton">
104       <property name="text">
105        <string>Add constraint</string>
106       </property>
107      </widget>
108     </item>
109     <item>
110      <widget class="QPushButton" name="closePushButton">
111       <property name="text">
112        <string>Close</string>
113       </property>
114      </widget>
115     </item>
116    </layout>
117   </item>
118  </layout>
119 </widget>
120 <layoutdefault spacing="6" margin="11"/>
121 <resources/>
122 <connections/>
123</ui>
124