1<?xml version="1.0" encoding="UTF-8"?> 2<ui version="4.0"> 3 <class>AddConstraintBreakTimesForm_template</class> 4 <widget class="QDialog" name="AddConstraintBreakTimesForm_template"> 5 <property name="geometry"> 6 <rect> 7 <x>0</x> 8 <y>0</y> 9 <width>646</width> 10 <height>566</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 break times</string> 15 </property> 16 <layout class="QGridLayout" name="gridLayout_2"> 17 <item row="0" column="0"> 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>The important thing is that a break does not induce gaps for teachers or students</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="QHBoxLayout" name="weightBoxLayout"> 35 <item> 36 <widget class="QLabel" name="weightTextLabel"> 37 <property name="frameShape"> 38 <enum>QFrame::NoFrame</enum> 39 </property> 40 <property name="frameShadow"> 41 <enum>QFrame::Plain</enum> 42 </property> 43 <property name="text"> 44 <string>Weight percentage (necessary: 100%)</string> 45 </property> 46 <property name="wordWrap"> 47 <bool>false</bool> 48 </property> 49 </widget> 50 </item> 51 <item> 52 <widget class="QLineEdit" name="weightLineEdit"> 53 <property name="text"> 54 <string notr="true">100</string> 55 </property> 56 </widget> 57 </item> 58 </layout> 59 </item> 60 <item row="2" column="0"> 61 <widget class="QTableWidget" name="notAllowedTimesTable"/> 62 </item> 63 <item row="3" column="0"> 64 <layout class="QGridLayout" name="buttonsGridLayout"> 65 <item row="0" column="0"> 66 <widget class="QPushButton" name="setAllAllowedPushButton"> 67 <property name="text"> 68 <string comment="It refers to time slots">Set all allowed</string> 69 </property> 70 </widget> 71 </item> 72 <item row="0" column="1" colspan="2"> 73 <widget class="QLabel" name="label"> 74 <property name="text"> 75 <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> 76 </property> 77 </widget> 78 </item> 79 <item row="1" column="0"> 80 <widget class="QPushButton" name="setAllBreakPushButton"> 81 <property name="text"> 82 <string comment="It refers to time slots">Set all break</string> 83 </property> 84 </widget> 85 </item> 86 <item row="1" column="1"> 87 <widget class="QPushButton" name="addConstraintPushButton"> 88 <property name="text"> 89 <string>Add</string> 90 </property> 91 </widget> 92 </item> 93 <item row="1" column="2"> 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