1<?xml version="1.0" encoding="UTF-8"?> 2<ui version="4.0"> 3 <class>ModifyConstraintTeacherNotAvailableTimesForm_template</class> 4 <widget class="QDialog" name="ModifyConstraintTeacherNotAvailableTimesForm_template"> 5 <property name="geometry"> 6 <rect> 7 <x>0</x> 8 <y>0</y> 9 <width>634</width> 10 <height>555</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 teacher not available times</string> 15 </property> 16 <layout class="QGridLayout" name="gridLayout_2"> 17 <item row="0" column="0" colspan="2"> 18 <widget class="QLabel" name="textLabel1"> 19 <property name="sizePolicy"> 20 <sizepolicy hsizetype="Minimum" vsizetype="Minimum"> 21 <horstretch>0</horstretch> 22 <verstretch>0</verstretch> 23 </sizepolicy> 24 </property> 25 <property name="text"> 26 <string>This constraint does not induce gaps for teachers. If a teacher has lessons before and after this not available period, there will be no gaps counted</string> 27 </property> 28 <property name="wordWrap"> 29 <bool>true</bool> 30 </property> 31 </widget> 32 </item> 33 <item row="1" column="0"> 34 <layout class="QGridLayout" name="teacherGridLayout"> 35 <item row="1" column="0" colspan="2"> 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 row="0" column="1"> 49 <spacer name="spacer4"> 50 <property name="orientation"> 51 <enum>Qt::Horizontal</enum> 52 </property> 53 <property name="sizeType"> 54 <enum>QSizePolicy::Expanding</enum> 55 </property> 56 <property name="sizeHint" stdset="0"> 57 <size> 58 <width>131</width> 59 <height>20</height> 60 </size> 61 </property> 62 </spacer> 63 </item> 64 <item row="0" column="0"> 65 <widget class="QLabel" name="teacherTextLabel"> 66 <property name="frameShape"> 67 <enum>QFrame::NoFrame</enum> 68 </property> 69 <property name="frameShadow"> 70 <enum>QFrame::Plain</enum> 71 </property> 72 <property name="text"> 73 <string>Teacher</string> 74 </property> 75 <property name="wordWrap"> 76 <bool>false</bool> 77 </property> 78 </widget> 79 </item> 80 </layout> 81 </item> 82 <item row="1" column="1"> 83 <layout class="QVBoxLayout" name="weightBoxLayout"> 84 <item> 85 <widget class="QLabel" name="weightTextLabel"> 86 <property name="frameShape"> 87 <enum>QFrame::NoFrame</enum> 88 </property> 89 <property name="frameShadow"> 90 <enum>QFrame::Plain</enum> 91 </property> 92 <property name="text"> 93 <string>Weight percentage (necessary: 100%)</string> 94 </property> 95 <property name="wordWrap"> 96 <bool>false</bool> 97 </property> 98 </widget> 99 </item> 100 <item> 101 <widget class="QLineEdit" name="weightLineEdit"> 102 <property name="text"> 103 <string notr="true">100</string> 104 </property> 105 </widget> 106 </item> 107 </layout> 108 </item> 109 <item row="2" column="0" colspan="2"> 110 <widget class="QTableWidget" name="notAllowedTimesTable"/> 111 </item> 112 <item row="3" column="0" colspan="2"> 113 <layout class="QGridLayout" name="buttonsGridLayout"> 114 <item row="0" column="0"> 115 <widget class="QPushButton" name="setAllAvailablePushButton"> 116 <property name="text"> 117 <string comment="It refers to time slots">Set all available</string> 118 </property> 119 </widget> 120 </item> 121 <item row="0" column="1" colspan="2"> 122 <widget class="QLabel" name="label"> 123 <property name="text"> 124 <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> 125 </property> 126 </widget> 127 </item> 128 <item row="1" column="0"> 129 <widget class="QPushButton" name="setAllNotAvailablePushButton"> 130 <property name="text"> 131 <string comment="It refers to time slots">Set all not available</string> 132 </property> 133 </widget> 134 </item> 135 <item row="1" column="1"> 136 <widget class="QPushButton" name="okPushButton"> 137 <property name="text"> 138 <string>Ok</string> 139 </property> 140 </widget> 141 </item> 142 <item row="1" column="2"> 143 <widget class="QPushButton" name="cancelPushButton"> 144 <property name="text"> 145 <string>Cancel</string> 146 </property> 147 </widget> 148 </item> 149 </layout> 150 </item> 151 </layout> 152 </widget> 153 <layoutdefault spacing="6" margin="11"/> 154 <resources/> 155 <connections/> 156</ui> 157