1<?xml version="1.0" encoding="UTF-8"?>
2<ui version="4.0">
3 <class>ModifyConstraintTeacherMaxGapsPerDayForm_template</class>
4 <widget class="QDialog" name="ModifyConstraintTeacherMaxGapsPerDayForm_template">
5  <property name="geometry">
6   <rect>
7    <x>0</x>
8    <y>0</y>
9    <width>610</width>
10    <height>318</height>
11   </rect>
12  </property>
13  <property name="windowTitle">
14   <string extracomment="This is the title of the dialog to modify a constraint of this type">Modify teacher max gaps per day</string>
15  </property>
16  <layout class="QVBoxLayout" name="verticalLayout_2">
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>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 day and lower it as you find new timetables.
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="spacer4">
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>99</width>
51       <height>99</height>
52      </size>
53     </property>
54    </spacer>
55   </item>
56   <item>
57    <layout class="QVBoxLayout" name="verticalLayout">
58     <item>
59      <widget class="QLabel" name="teacherTextLabel">
60       <property name="frameShape">
61        <enum>QFrame::NoFrame</enum>
62       </property>
63       <property name="frameShadow">
64        <enum>QFrame::Plain</enum>
65       </property>
66       <property name="text">
67        <string>Teacher</string>
68       </property>
69       <property name="wordWrap">
70        <bool>false</bool>
71       </property>
72      </widget>
73     </item>
74     <item>
75      <widget class="QComboBox" name="teachersComboBox">
76       <property name="editable">
77        <bool>false</bool>
78       </property>
79       <property name="insertPolicy">
80        <enum>QComboBox::NoInsert</enum>
81       </property>
82       <property name="duplicatesEnabled">
83        <bool>false</bool>
84       </property>
85      </widget>
86     </item>
87    </layout>
88   </item>
89   <item>
90    <layout class="QHBoxLayout" name="horizontalLayout">
91     <item>
92      <widget class="QLabel" name="textLabel1">
93       <property name="text">
94        <string>Max gaps per day</string>
95       </property>
96       <property name="wordWrap">
97        <bool>false</bool>
98       </property>
99      </widget>
100     </item>
101     <item>
102      <widget class="QSpinBox" name="maxGapsSpinBox"/>
103     </item>
104    </layout>
105   </item>
106   <item>
107    <layout class="QHBoxLayout" name="horizontalLayout_2">
108     <item>
109      <widget class="QLabel" name="weightTextLabel">
110       <property name="frameShape">
111        <enum>QFrame::NoFrame</enum>
112       </property>
113       <property name="frameShadow">
114        <enum>QFrame::Plain</enum>
115       </property>
116       <property name="text">
117        <string>Weight percentage (necessary: 100%)</string>
118       </property>
119       <property name="wordWrap">
120        <bool>false</bool>
121       </property>
122      </widget>
123     </item>
124     <item>
125      <widget class="QLineEdit" name="weightLineEdit">
126       <property name="text">
127        <string notr="true">100</string>
128       </property>
129      </widget>
130     </item>
131    </layout>
132   </item>
133   <item>
134    <layout class="QHBoxLayout">
135     <item>
136      <widget class="QPushButton" name="okPushButton">
137       <property name="text">
138        <string>Ok</string>
139       </property>
140      </widget>
141     </item>
142     <item>
143      <widget class="QPushButton" name="cancelPushButton">
144       <property name="text">
145        <string>Cancel</string>
146       </property>
147      </widget>
148     </item>
149    </layout>
150   </item>
151  </layout>
152 </widget>
153 <layoutdefault spacing="6" margin="11"/>
154 <resources/>
155 <connections/>
156</ui>
157