1<?xml version="1.0" encoding="UTF-8"?> 2<ui version="4.0"> 3 <class>AddConstraintTeachersMaxSpanPerRealDayForm_template</class> 4 <widget class="QDialog" name="AddConstraintTeachersMaxSpanPerRealDayForm_template"> 5 <property name="geometry"> 6 <rect> 7 <x>0</x> 8 <y>0</y> 9 <width>591</width> 10 <height>312</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 span per real day</string> 15 </property> 16 <layout class="QGridLayout" name="gridLayout"> 17 <item row="0" column="0"> 18 <spacer name="spacer2"> 19 <property name="orientation"> 20 <enum>Qt::Vertical</enum> 21 </property> 22 <property name="sizeType"> 23 <enum>QSizePolicy::Expanding</enum> 24 </property> 25 <property name="sizeHint" stdset="0"> 26 <size> 27 <width>20</width> 28 <height>71</height> 29 </size> 30 </property> 31 </spacer> 32 </item> 33 <item row="1" column="0"> 34 <layout class="QHBoxLayout" name="horizontalLayout"> 35 <item> 36 <widget class="QLabel" name="textLabel1"> 37 <property name="text"> 38 <string>Max span per day</string> 39 </property> 40 <property name="wordWrap"> 41 <bool>false</bool> 42 </property> 43 </widget> 44 </item> 45 <item> 46 <widget class="QSpinBox" name="maxSpanSpinBox"/> 47 </item> 48 </layout> 49 </item> 50 <item row="2" column="0"> 51 <widget class="QCheckBox" name="exceptionCheckBox"> 52 <property name="text"> 53 <string comment="It is for max span per day, means that in one day the teacher is allowed to have max span + 1">Allow one day exception of plus one</string> 54 </property> 55 </widget> 56 </item> 57 <item row="3" column="0"> 58 <layout class="QHBoxLayout" name="horizontalLayout_2"> 59 <item> 60 <widget class="QLabel" name="weightTextLabel"> 61 <property name="frameShape"> 62 <enum>QFrame::NoFrame</enum> 63 </property> 64 <property name="frameShadow"> 65 <enum>QFrame::Plain</enum> 66 </property> 67 <property name="text"> 68 <string>Weight percentage (necessary: 100%)</string> 69 </property> 70 <property name="wordWrap"> 71 <bool>false</bool> 72 </property> 73 </widget> 74 </item> 75 <item> 76 <widget class="QLineEdit" name="weightLineEdit"> 77 <property name="text"> 78 <string notr="true">100</string> 79 </property> 80 </widget> 81 </item> 82 </layout> 83 </item> 84 <item row="4" column="0"> 85 <layout class="QHBoxLayout"> 86 <item> 87 <widget class="QPushButton" name="addConstraintPushButton"> 88 <property name="text"> 89 <string>Add constraint</string> 90 </property> 91 </widget> 92 </item> 93 <item> 94 <widget class="QPushButton" name="closePushButton"> 95 <property name="text"> 96 <string>Close</string> 97 </property> 98 </widget> 99 </item> 100 </layout> 101 </item> 102 </layout> 103 </widget> 104 <layoutdefault spacing="6" margin="11"/> 105 <resources/> 106 <connections/> 107</ui> 108