1<?xml version="1.0" encoding="UTF-8"?> 2<ui version="4.0"> 3 <class>ModifyConstraintActivityPreferredTimeSlotsForm_template</class> 4 <widget class="QDialog" name="ModifyConstraintActivityPreferredTimeSlotsForm_template"> 5 <property name="geometry"> 6 <rect> 7 <x>0</x> 8 <y>0</y> 9 <width>663</width> 10 <height>596</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 activity preferred time slots</string> 15 </property> 16 <layout class="QGridLayout" name="gridLayout_2"> 17 <item row="0" column="0"> 18 <widget class="QGroupBox" name="filterGroupBox"> 19 <property name="title"> 20 <string>Filter</string> 21 </property> 22 <layout class="QGridLayout" name="gridLayout"> 23 <item row="0" column="0"> 24 <widget class="QLabel" name="teachersTextLabel"> 25 <property name="text"> 26 <string>Teacher</string> 27 </property> 28 <property name="wordWrap"> 29 <bool>false</bool> 30 </property> 31 </widget> 32 </item> 33 <item row="0" column="1"> 34 <widget class="QLabel" name="studentsTextLabel"> 35 <property name="text"> 36 <string>Students set</string> 37 </property> 38 <property name="wordWrap"> 39 <bool>false</bool> 40 </property> 41 </widget> 42 </item> 43 <item row="1" column="0"> 44 <widget class="QComboBox" name="teachersComboBox"/> 45 </item> 46 <item row="1" column="1"> 47 <widget class="QComboBox" name="studentsComboBox"/> 48 </item> 49 <item row="2" column="0"> 50 <widget class="QLabel" name="subjectsTextLabel"> 51 <property name="text"> 52 <string>Subject</string> 53 </property> 54 <property name="wordWrap"> 55 <bool>false</bool> 56 </property> 57 </widget> 58 </item> 59 <item row="2" column="1"> 60 <widget class="QLabel" name="activityTagsTextLabel"> 61 <property name="text"> 62 <string>Activity tag</string> 63 </property> 64 <property name="wordWrap"> 65 <bool>false</bool> 66 </property> 67 </widget> 68 </item> 69 <item row="3" column="0"> 70 <widget class="QComboBox" name="subjectsComboBox"/> 71 </item> 72 <item row="3" column="1"> 73 <widget class="QComboBox" name="activityTagsComboBox"/> 74 </item> 75 </layout> 76 </widget> 77 </item> 78 <item row="1" column="0"> 79 <layout class="QVBoxLayout" name="activitiesBoxLayout"> 80 <item> 81 <widget class="QLabel" name="activitiesTextLabel"> 82 <property name="text"> 83 <string>Activity</string> 84 </property> 85 <property name="wordWrap"> 86 <bool>false</bool> 87 </property> 88 </widget> 89 </item> 90 <item> 91 <widget class="QComboBox" name="activitiesComboBox"/> 92 </item> 93 </layout> 94 </item> 95 <item row="2" column="0"> 96 <widget class="QTableWidget" name="preferredTimesTable"/> 97 </item> 98 <item row="3" column="0"> 99 <layout class="QHBoxLayout" name="weightBoxLayout"> 100 <item> 101 <spacer name="spacer3"> 102 <property name="orientation"> 103 <enum>Qt::Horizontal</enum> 104 </property> 105 <property name="sizeType"> 106 <enum>QSizePolicy::Expanding</enum> 107 </property> 108 <property name="sizeHint" stdset="0"> 109 <size> 110 <width>101</width> 111 <height>20</height> 112 </size> 113 </property> 114 </spacer> 115 </item> 116 <item> 117 <widget class="QLabel" name="weightTextLabel"> 118 <property name="frameShape"> 119 <enum>QFrame::NoFrame</enum> 120 </property> 121 <property name="frameShadow"> 122 <enum>QFrame::Plain</enum> 123 </property> 124 <property name="text"> 125 <string>Weight percentage (recommended: 0.0%-100.0%)</string> 126 </property> 127 <property name="wordWrap"> 128 <bool>false</bool> 129 </property> 130 </widget> 131 </item> 132 <item> 133 <widget class="QLineEdit" name="weightLineEdit"> 134 <property name="text"> 135 <string notr="true">100</string> 136 </property> 137 </widget> 138 </item> 139 </layout> 140 </item> 141 <item row="4" column="0"> 142 <layout class="QGridLayout" name="buttonsGridLayout"> 143 <item row="0" column="0"> 144 <widget class="QPushButton" name="setAllAllowedPushButton"> 145 <property name="text"> 146 <string comment="It refers to time slots">Set all allowed</string> 147 </property> 148 </widget> 149 </item> 150 <item row="0" column="1" colspan="2"> 151 <widget class="QLabel" name="label"> 152 <property name="text"> 153 <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> 154 </property> 155 </widget> 156 </item> 157 <item row="1" column="0"> 158 <widget class="QPushButton" name="setAllNotAllowedPushButton"> 159 <property name="text"> 160 <string comment="It refers to time slots">Set all not allowed</string> 161 </property> 162 </widget> 163 </item> 164 <item row="1" column="1"> 165 <widget class="QPushButton" name="okPushButton"> 166 <property name="text"> 167 <string>Ok</string> 168 </property> 169 </widget> 170 </item> 171 <item row="1" column="2"> 172 <widget class="QPushButton" name="cancelPushButton"> 173 <property name="text"> 174 <string>Cancel</string> 175 </property> 176 </widget> 177 </item> 178 </layout> 179 </item> 180 </layout> 181 </widget> 182 <layoutdefault spacing="6" margin="11"/> 183 <resources/> 184 <connections/> 185</ui> 186