1<?xml version="1.0" encoding="UTF-8"?> 2<ui version="4.0"> 3 <class>AddConstraintTeacherActivityTagMinHoursDailyForm_template</class> 4 <widget class="QDialog" name="AddConstraintTeacherActivityTagMinHoursDailyForm_template"> 5 <property name="geometry"> 6 <rect> 7 <x>0</x> 8 <y>0</y> 9 <width>497</width> 10 <height>389</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 activity tag min hours daily</string> 15 </property> 16 <layout class="QVBoxLayout" name="verticalLayout"> 17 <item> 18 <layout class="QVBoxLayout"> 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 <item> 49 <widget class="QLabel" name="activityTagTextLabel"> 50 <property name="frameShape"> 51 <enum>QFrame::NoFrame</enum> 52 </property> 53 <property name="frameShadow"> 54 <enum>QFrame::Plain</enum> 55 </property> 56 <property name="text"> 57 <string>Activity tag</string> 58 </property> 59 <property name="wordWrap"> 60 <bool>false</bool> 61 </property> 62 </widget> 63 </item> 64 <item> 65 <widget class="QComboBox" name="activityTagsComboBox"> 66 <property name="editable"> 67 <bool>false</bool> 68 </property> 69 <property name="insertPolicy"> 70 <enum>QComboBox::NoInsert</enum> 71 </property> 72 <property name="duplicatesEnabled"> 73 <bool>false</bool> 74 </property> 75 </widget> 76 </item> 77 </layout> 78 </item> 79 <item> 80 <spacer name="verticalSpacer_3"> 81 <property name="orientation"> 82 <enum>Qt::Vertical</enum> 83 </property> 84 <property name="sizeHint" stdset="0"> 85 <size> 86 <width>20</width> 87 <height>20</height> 88 </size> 89 </property> 90 </spacer> 91 </item> 92 <item> 93 <layout class="QHBoxLayout" name="horizontalLayout"> 94 <item> 95 <widget class="QLabel" name="weightTextLabel"> 96 <property name="frameShape"> 97 <enum>QFrame::NoFrame</enum> 98 </property> 99 <property name="frameShadow"> 100 <enum>QFrame::Plain</enum> 101 </property> 102 <property name="text"> 103 <string>Weight percentage (necessary: 100%)</string> 104 </property> 105 <property name="wordWrap"> 106 <bool>false</bool> 107 </property> 108 </widget> 109 </item> 110 <item> 111 <widget class="QLineEdit" name="weightLineEdit"> 112 <property name="text"> 113 <string notr="true">100</string> 114 </property> 115 </widget> 116 </item> 117 </layout> 118 </item> 119 <item> 120 <spacer name="verticalSpacer"> 121 <property name="orientation"> 122 <enum>Qt::Vertical</enum> 123 </property> 124 <property name="sizeHint" stdset="0"> 125 <size> 126 <width>20</width> 127 <height>21</height> 128 </size> 129 </property> 130 </spacer> 131 </item> 132 <item> 133 <layout class="QHBoxLayout" name="horizontalLayout_2"> 134 <item> 135 <widget class="QLabel" name="minHoursTextLabel"> 136 <property name="frameShape"> 137 <enum>QFrame::NoFrame</enum> 138 </property> 139 <property name="frameShadow"> 140 <enum>QFrame::Plain</enum> 141 </property> 142 <property name="text"> 143 <string>Min hours daily</string> 144 </property> 145 <property name="wordWrap"> 146 <bool>false</bool> 147 </property> 148 </widget> 149 </item> 150 <item> 151 <widget class="QSpinBox" name="minHoursSpinBox"/> 152 </item> 153 </layout> 154 </item> 155 <item> 156 <spacer name="verticalSpacer_2"> 157 <property name="orientation"> 158 <enum>Qt::Vertical</enum> 159 </property> 160 <property name="sizeHint" stdset="0"> 161 <size> 162 <width>20</width> 163 <height>20</height> 164 </size> 165 </property> 166 </spacer> 167 </item> 168 <item> 169 <widget class="QCheckBox" name="allowEmptyDaysCheckBox"> 170 <property name="text"> 171 <string>Allow empty days</string> 172 </property> 173 </widget> 174 </item> 175 <item> 176 <spacer name="verticalSpacer_4"> 177 <property name="orientation"> 178 <enum>Qt::Vertical</enum> 179 </property> 180 <property name="sizeHint" stdset="0"> 181 <size> 182 <width>20</width> 183 <height>10</height> 184 </size> 185 </property> 186 </spacer> 187 </item> 188 <item> 189 <layout class="QHBoxLayout"> 190 <item> 191 <widget class="QPushButton" name="addConstraintPushButton"> 192 <property name="text"> 193 <string>Add constraint</string> 194 </property> 195 </widget> 196 </item> 197 <item> 198 <widget class="QPushButton" name="closePushButton"> 199 <property name="text"> 200 <string>Close</string> 201 </property> 202 </widget> 203 </item> 204 </layout> 205 </item> 206 </layout> 207 </widget> 208 <layoutdefault spacing="6" margin="11"/> 209 <resources/> 210 <connections/> 211</ui> 212