1<?xml version="1.0" encoding="UTF-8"?>
2<ui version="4.0">
3 <class>ModifyConstraintTeachersMaxGapsPerMorningAndAfternoonForm_template</class>
4 <widget class="QDialog" name="ModifyConstraintTeachersMaxGapsPerMorningAndAfternoonForm_template">
5  <property name="geometry">
6   <rect>
7    <x>0</x>
8    <y>0</y>
9    <width>727</width>
10    <height>304</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 teachers max gaps per morning and afternoon</string>
15  </property>
16  <layout class="QGridLayout" name="gridLayout">
17   <item row="0" column="0">
18    <widget class="QLabel" name="instructionsTextLabel_2">
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>This constraint considers the gaps = the sum of gaps of the morning and of the afternoon of each real day.</string>
33     </property>
34     <property name="wordWrap">
35      <bool>true</bool>
36     </property>
37    </widget>
38   </item>
39   <item row="1" column="0">
40    <widget class="QLabel" name="instructionsTextLabel">
41     <property name="sizePolicy">
42      <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
43       <horstretch>0</horstretch>
44       <verstretch>0</verstretch>
45      </sizepolicy>
46     </property>
47     <property name="frameShape">
48      <enum>QFrame::NoFrame</enum>
49     </property>
50     <property name="frameShadow">
51      <enum>QFrame::Plain</enum>
52     </property>
53     <property name="text">
54      <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 morning and afternoon and lower it as you find new timetables.
55Note: teacher not available and break are not counted as gaps.</string>
56     </property>
57     <property name="wordWrap">
58      <bool>true</bool>
59     </property>
60    </widget>
61   </item>
62   <item row="2" column="0">
63    <spacer name="spacer5">
64     <property name="orientation">
65      <enum>Qt::Vertical</enum>
66     </property>
67     <property name="sizeType">
68      <enum>QSizePolicy::Expanding</enum>
69     </property>
70     <property name="sizeHint" stdset="0">
71      <size>
72       <width>20</width>
73       <height>83</height>
74      </size>
75     </property>
76    </spacer>
77   </item>
78   <item row="3" column="0">
79    <layout class="QHBoxLayout" name="horizontalLayout">
80     <item>
81      <widget class="QLabel" name="textLabel1">
82       <property name="text">
83        <string>Max gaps per morning and afternoon</string>
84       </property>
85       <property name="wordWrap">
86        <bool>false</bool>
87       </property>
88      </widget>
89     </item>
90     <item>
91      <widget class="QSpinBox" name="maxGapsSpinBox"/>
92     </item>
93    </layout>
94   </item>
95   <item row="4" column="0">
96    <layout class="QHBoxLayout" name="horizontalLayout_2">
97     <item>
98      <widget class="QLabel" name="weightTextLabel">
99       <property name="frameShape">
100        <enum>QFrame::NoFrame</enum>
101       </property>
102       <property name="frameShadow">
103        <enum>QFrame::Plain</enum>
104       </property>
105       <property name="text">
106        <string>Weight percentage (necessary: 100%)</string>
107       </property>
108       <property name="wordWrap">
109        <bool>false</bool>
110       </property>
111      </widget>
112     </item>
113     <item>
114      <widget class="QLineEdit" name="weightLineEdit">
115       <property name="text">
116        <string notr="true">100</string>
117       </property>
118      </widget>
119     </item>
120    </layout>
121   </item>
122   <item row="5" column="0">
123    <layout class="QHBoxLayout">
124     <item>
125      <widget class="QPushButton" name="okPushButton">
126       <property name="text">
127        <string>Ok</string>
128       </property>
129      </widget>
130     </item>
131     <item>
132      <widget class="QPushButton" name="cancelPushButton">
133       <property name="text">
134        <string>Cancel</string>
135       </property>
136      </widget>
137     </item>
138    </layout>
139   </item>
140  </layout>
141 </widget>
142 <layoutdefault spacing="6" margin="11"/>
143 <resources/>
144 <connections/>
145</ui>
146