1<?xml version="1.0" encoding="UTF-8"?> 2<ui version="4.0"> 3 <class>ConstraintTeacherMaxHoursDailyForm_template</class> 4 <widget class="QDialog" name="ConstraintTeacherMaxHoursDailyForm_template"> 5 <property name="geometry"> 6 <rect> 7 <x>0</x> 8 <y>0</y> 9 <width>536</width> 10 <height>508</height> 11 </rect> 12 </property> 13 <property name="windowTitle"> 14 <string extracomment="This is the title of the dialog in which you see the list of all constraints of this type">Constraints teacher max hours daily</string> 15 </property> 16 <layout class="QGridLayout" name="gridLayout_2"> 17 <item row="1" column="1"> 18 <layout class="QVBoxLayout" name="verticalLayout"> 19 <item> 20 <widget class="QLabel" name="currentConstraintTextLabel"> 21 <property name="text"> 22 <string>Current constraint</string> 23 </property> 24 <property name="wordWrap"> 25 <bool>false</bool> 26 </property> 27 </widget> 28 </item> 29 <item> 30 <widget class="QPlainTextEdit" name="currentConstraintTextEdit"/> 31 </item> 32 </layout> 33 </item> 34 <item row="1" column="0" rowspan="2"> 35 <layout class="QVBoxLayout" name="verticalLayout_2"> 36 <item> 37 <widget class="QLabel" name="constraintsTextLabel"> 38 <property name="frameShape"> 39 <enum>QFrame::NoFrame</enum> 40 </property> 41 <property name="frameShadow"> 42 <enum>QFrame::Plain</enum> 43 </property> 44 <property name="text"> 45 <string>Constraints</string> 46 </property> 47 <property name="wordWrap"> 48 <bool>false</bool> 49 </property> 50 </widget> 51 </item> 52 <item> 53 <widget class="QListWidget" name="constraintsListWidget"/> 54 </item> 55 </layout> 56 </item> 57 <item row="2" column="1"> 58 <widget class="QGroupBox" name="filterGroupBox"> 59 <property name="title"> 60 <string>Filter</string> 61 </property> 62 <layout class="QGridLayout" name="gridLayout"> 63 <item row="0" column="0"> 64 <widget class="QComboBox" name="teachersComboBox"/> 65 </item> 66 </layout> 67 </widget> 68 </item> 69 <item row="3" column="0" colspan="2"> 70 <layout class="QHBoxLayout" name="horizontalLayout"> 71 <item> 72 <widget class="QPushButton" name="addConstraintPushButton"> 73 <property name="text"> 74 <string>Add</string> 75 </property> 76 </widget> 77 </item> 78 <item> 79 <widget class="QPushButton" name="modifyConstraintPushButton"> 80 <property name="text"> 81 <string>Modify</string> 82 </property> 83 </widget> 84 </item> 85 <item> 86 <widget class="QPushButton" name="removeConstraintPushButton"> 87 <property name="text"> 88 <string>Remove</string> 89 </property> 90 </widget> 91 </item> 92 <item> 93 <widget class="QPushButton" name="closePushButton"> 94 <property name="text"> 95 <string>Close</string> 96 </property> 97 </widget> 98 </item> 99 </layout> 100 </item> 101 <item row="0" column="0" colspan="2"> 102 <widget class="QLabel" name="label"> 103 <property name="sizePolicy"> 104 <sizepolicy hsizetype="Minimum" vsizetype="Minimum"> 105 <horstretch>0</horstretch> 106 <verstretch>0</verstretch> 107 </sizepolicy> 108 </property> 109 <property name="text"> 110 <string>It is recommended to use only a 100% weight for these constraints (otherwise the algorithm is not perfect).</string> 111 </property> 112 <property name="wordWrap"> 113 <bool>true</bool> 114 </property> 115 </widget> 116 </item> 117 </layout> 118 </widget> 119 <layoutdefault spacing="6" margin="11"/> 120 <resources/> 121 <connections/> 122</ui> 123