1<?xml version="1.0" encoding="UTF-8"?>
2<ui version="4.0">
3 <class>ModifyConstraintSubactivitiesPreferredStartingTimesForm_template</class>
4 <widget class="QDialog" name="ModifyConstraintSubactivitiesPreferredStartingTimesForm_template">
5  <property name="geometry">
6   <rect>
7    <x>0</x>
8    <y>0</y>
9    <width>673</width>
10    <height>569</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 subactivities preferred starting times</string>
15  </property>
16  <layout class="QGridLayout" name="gridLayout">
17   <item row="0" column="0">
18    <layout class="QHBoxLayout" name="componentBoxLayout">
19     <item>
20      <widget class="QLabel" name="textLabel1">
21       <property name="text">
22        <string>Component number (split index)</string>
23       </property>
24       <property name="wordWrap">
25        <bool>false</bool>
26       </property>
27      </widget>
28     </item>
29     <item>
30      <widget class="QSpinBox" name="componentNumberSpinBox">
31       <property name="minimum">
32        <number>1</number>
33       </property>
34      </widget>
35     </item>
36     <item>
37      <spacer name="spacer1">
38       <property name="orientation">
39        <enum>Qt::Horizontal</enum>
40       </property>
41       <property name="sizeType">
42        <enum>QSizePolicy::Expanding</enum>
43       </property>
44       <property name="sizeHint" stdset="0">
45        <size>
46         <width>131</width>
47         <height>20</height>
48        </size>
49       </property>
50      </spacer>
51     </item>
52    </layout>
53   </item>
54   <item row="1" column="0">
55    <layout class="QGridLayout" name="filterGridLayout">
56     <item row="1" column="0">
57      <widget class="QComboBox" name="teachersComboBox"/>
58     </item>
59     <item row="1" column="3">
60      <widget class="QComboBox" name="activityTagsComboBox"/>
61     </item>
62     <item row="1" column="2">
63      <widget class="QComboBox" name="subjectsComboBox"/>
64     </item>
65     <item row="0" column="3">
66      <widget class="QLabel" name="activityTagsTextLabel">
67       <property name="text">
68        <string>Activity tag</string>
69       </property>
70       <property name="wordWrap">
71        <bool>false</bool>
72       </property>
73      </widget>
74     </item>
75     <item row="0" column="0">
76      <widget class="QLabel" name="teachersTextLabel">
77       <property name="text">
78        <string>Teacher</string>
79       </property>
80       <property name="wordWrap">
81        <bool>false</bool>
82       </property>
83      </widget>
84     </item>
85     <item row="1" column="1">
86      <widget class="QComboBox" name="studentsComboBox"/>
87     </item>
88     <item row="0" column="1">
89      <widget class="QLabel" name="studentsTextLabel">
90       <property name="text">
91        <string>Students set</string>
92       </property>
93       <property name="wordWrap">
94        <bool>false</bool>
95       </property>
96      </widget>
97     </item>
98     <item row="0" column="2">
99      <widget class="QLabel" name="subjectsTextLabel">
100       <property name="text">
101        <string>Subject</string>
102       </property>
103       <property name="wordWrap">
104        <bool>false</bool>
105       </property>
106      </widget>
107     </item>
108    </layout>
109   </item>
110   <item row="2" column="0">
111    <layout class="QHBoxLayout" name="horizontalLayout">
112     <item>
113      <widget class="QCheckBox" name="durationCheckBox">
114       <property name="text">
115        <string>Duration</string>
116       </property>
117      </widget>
118     </item>
119     <item>
120      <widget class="QSpinBox" name="durationSpinBox"/>
121     </item>
122    </layout>
123   </item>
124   <item row="3" column="0">
125    <widget class="QTableWidget" name="preferredTimesTable"/>
126   </item>
127   <item row="4" column="0">
128    <layout class="QHBoxLayout" name="weightBoxLayout">
129     <item>
130      <widget class="QLabel" name="weightTextLabel">
131       <property name="frameShape">
132        <enum>QFrame::NoFrame</enum>
133       </property>
134       <property name="frameShadow">
135        <enum>QFrame::Plain</enum>
136       </property>
137       <property name="text">
138        <string>Weight percentage (recommended: 0.0%-100.0%)</string>
139       </property>
140       <property name="wordWrap">
141        <bool>false</bool>
142       </property>
143      </widget>
144     </item>
145     <item>
146      <widget class="QLineEdit" name="weightLineEdit">
147       <property name="text">
148        <string notr="true">100</string>
149       </property>
150      </widget>
151     </item>
152    </layout>
153   </item>
154   <item row="5" column="0">
155    <layout class="QGridLayout" name="buttonsGridLayout">
156     <item row="0" column="0">
157      <widget class="QPushButton" name="setAllAllowedPushButton">
158       <property name="text">
159        <string comment="It refers to time slots">Set all allowed</string>
160       </property>
161      </widget>
162     </item>
163     <item row="0" column="1" colspan="2">
164      <widget class="QLabel" name="label">
165       <property name="text">
166        <string extracomment="This is an explanation in a dialog for a constraint. It says that symbol X means that this slot is not allowed, and an empty cell means that the slot is allowed">X=not allowed, empty=allowed</string>
167       </property>
168      </widget>
169     </item>
170     <item row="1" column="0">
171      <widget class="QPushButton" name="setAllNotAllowedPushButton">
172       <property name="text">
173        <string comment="It refers to time slots">Set all not allowed</string>
174       </property>
175      </widget>
176     </item>
177     <item row="1" column="1">
178      <widget class="QPushButton" name="okPushButton">
179       <property name="text">
180        <string>Ok</string>
181       </property>
182      </widget>
183     </item>
184     <item row="1" column="2">
185      <widget class="QPushButton" name="cancelPushButton">
186       <property name="text">
187        <string>Cancel</string>
188       </property>
189      </widget>
190     </item>
191    </layout>
192   </item>
193  </layout>
194 </widget>
195 <layoutdefault spacing="6" margin="11"/>
196 <resources/>
197 <connections/>
198</ui>
199