1<?xml version="1.0" encoding="UTF-8"?> 2<ui version="4.0"> 3 <class>AddConstraintTeacherMinMorningsPerWeekForm_template</class> 4 <widget class="QDialog" name="AddConstraintTeacherMinMorningsPerWeekForm_template"> 5 <property name="geometry"> 6 <rect> 7 <x>0</x> 8 <y>0</y> 9 <width>418</width> 10 <height>277</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 teacher min mornings per week</string> 15 </property> 16 <layout class="QVBoxLayout" name="verticalLayout_2"> 17 <item> 18 <layout class="QVBoxLayout" name="verticalLayout"> 19 <item> 20 <widget class="QLabel" name="teacherTextLabel"> 21 <property name="frameShape"> 22 <enum>QFrame::NoFrame</enum> 23 </property> 24 <property name="frameShadow"> 25 <enum>QFrame::Plain</enum> 26 </property> 27 <property name="text"> 28 <string>Teacher</string> 29 </property> 30 <property name="wordWrap"> 31 <bool>false</bool> 32 </property> 33 </widget> 34 </item> 35 <item> 36 <widget class="QComboBox" name="teachersComboBox"> 37 <property name="editable"> 38 <bool>false</bool> 39 </property> 40 <property name="insertPolicy"> 41 <enum>QComboBox::NoInsert</enum> 42 </property> 43 <property name="duplicatesEnabled"> 44 <bool>false</bool> 45 </property> 46 </widget> 47 </item> 48 </layout> 49 </item> 50 <item> 51 <spacer name="verticalSpacer"> 52 <property name="orientation"> 53 <enum>Qt::Vertical</enum> 54 </property> 55 <property name="sizeHint" stdset="0"> 56 <size> 57 <width>20</width> 58 <height>35</height> 59 </size> 60 </property> 61 </spacer> 62 </item> 63 <item> 64 <layout class="QHBoxLayout" name="horizontalLayout_2"> 65 <item> 66 <widget class="QLabel" name="weightTextLabel"> 67 <property name="frameShape"> 68 <enum>QFrame::NoFrame</enum> 69 </property> 70 <property name="frameShadow"> 71 <enum>QFrame::Plain</enum> 72 </property> 73 <property name="text"> 74 <string>Weight percentage 75(necessary: 100%)</string> 76 </property> 77 <property name="wordWrap"> 78 <bool>false</bool> 79 </property> 80 </widget> 81 </item> 82 <item> 83 <widget class="QLineEdit" name="weightLineEdit"> 84 <property name="text"> 85 <string notr="true">100</string> 86 </property> 87 </widget> 88 </item> 89 </layout> 90 </item> 91 <item> 92 <spacer name="verticalSpacer_2"> 93 <property name="orientation"> 94 <enum>Qt::Vertical</enum> 95 </property> 96 <property name="sizeHint" stdset="0"> 97 <size> 98 <width>20</width> 99 <height>35</height> 100 </size> 101 </property> 102 </spacer> 103 </item> 104 <item> 105 <layout class="QHBoxLayout" name="horizontalLayout_3"> 106 <item> 107 <widget class="QLabel" name="minMorningsTextLabel"> 108 <property name="frameShape"> 109 <enum>QFrame::NoFrame</enum> 110 </property> 111 <property name="frameShadow"> 112 <enum>QFrame::Plain</enum> 113 </property> 114 <property name="text"> 115 <string>Min mornings per week</string> 116 </property> 117 <property name="wordWrap"> 118 <bool>false</bool> 119 </property> 120 </widget> 121 </item> 122 <item> 123 <widget class="QSpinBox" name="minMorningsSpinBox"/> 124 </item> 125 </layout> 126 </item> 127 <item> 128 <spacer name="verticalSpacer_3"> 129 <property name="orientation"> 130 <enum>Qt::Vertical</enum> 131 </property> 132 <property name="sizeHint" stdset="0"> 133 <size> 134 <width>20</width> 135 <height>35</height> 136 </size> 137 </property> 138 </spacer> 139 </item> 140 <item> 141 <layout class="QHBoxLayout" name="horizontalLayout"> 142 <item> 143 <widget class="QPushButton" name="addConstraintPushButton"> 144 <property name="text"> 145 <string>Add constraint</string> 146 </property> 147 </widget> 148 </item> 149 <item> 150 <widget class="QPushButton" name="closePushButton"> 151 <property name="text"> 152 <string>Close</string> 153 </property> 154 </widget> 155 </item> 156 </layout> 157 </item> 158 </layout> 159 </widget> 160 <layoutdefault spacing="6" margin="11"/> 161 <resources/> 162 <connections/> 163</ui> 164