1<?xml version="1.0" encoding="UTF-8"?> 2<ui version="4.0"> 3 <class>BanEditor</class> 4 <widget class="QDialog" name="BanEditor"> 5 <property name="geometry"> 6 <rect> 7 <x>0</x> 8 <y>0</y> 9 <width>454</width> 10 <height>470</height> 11 </rect> 12 </property> 13 <property name="windowTitle"> 14 <string>Mumble - Edit Bans</string> 15 </property> 16 <layout class="QGridLayout" name="gridLayout_2"> 17 <item row="1" column="0"> 18 <widget class="QDialogButtonBox" name="qbbButtons"> 19 <property name="orientation"> 20 <enum>Qt::Horizontal</enum> 21 </property> 22 <property name="standardButtons"> 23 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> 24 </property> 25 </widget> 26 </item> 27 <item row="0" column="0"> 28 <widget class="QGroupBox" name="qgbBanList"> 29 <property name="title"> 30 <string>Ban List</string> 31 </property> 32 <layout class="QGridLayout" name="gridLayout"> 33 <item row="1" column="0" colspan="7"> 34 <widget class="QLineEdit" name="qleSearch"> 35 <property name="font"> 36 <font> 37 <italic>false</italic> 38 </font> 39 </property> 40 <property name="toolTip"> 41 <string>Search field</string> 42 </property> 43 <property name="whatsThis"> 44 <string>This is the search field. Use it to find bans that have this username set in the username field.</string> 45 </property> 46 <property name="alignment"> 47 <set>Qt::AlignCenter</set> 48 </property> 49 <property name="placeholderText"> 50 <string>Who are you looking for?</string> 51 </property> 52 </widget> 53 </item> 54 <item row="2" column="0"> 55 <widget class="QLabel" name="qlUser"> 56 <property name="text"> 57 <string>User</string> 58 </property> 59 </widget> 60 </item> 61 <item row="2" column="1" colspan="5"> 62 <widget class="QLineEdit" name="qleUser"> 63 <property name="font"> 64 <font> 65 <italic>false</italic> 66 </font> 67 </property> 68 <property name="placeholderText"> 69 <string>No nickname</string> 70 </property> 71 </widget> 72 </item> 73 <item row="3" column="0"> 74 <widget class="QLabel" name="qlIP"> 75 <property name="sizePolicy"> 76 <sizepolicy hsizetype="Maximum" vsizetype="Preferred"> 77 <horstretch>0</horstretch> 78 <verstretch>0</verstretch> 79 </sizepolicy> 80 </property> 81 <property name="text"> 82 <string>&Address</string> 83 </property> 84 <property name="buddy"> 85 <cstring>qleIP</cstring> 86 </property> 87 </widget> 88 </item> 89 <item row="3" column="1" colspan="3"> 90 <widget class="QLineEdit" name="qleIP"> 91 <property name="sizePolicy"> 92 <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> 93 <horstretch>0</horstretch> 94 <verstretch>0</verstretch> 95 </sizepolicy> 96 </property> 97 <property name="font"> 98 <font> 99 <italic>false</italic> 100 </font> 101 </property> 102 <property name="toolTip"> 103 <string>IP address</string> 104 </property> 105 <property name="text"> 106 <string/> 107 </property> 108 <property name="placeholderText"> 109 <string>No IP address</string> 110 </property> 111 </widget> 112 </item> 113 <item row="3" column="4"> 114 <widget class="QLabel" name="qlMask"> 115 <property name="sizePolicy"> 116 <sizepolicy hsizetype="Maximum" vsizetype="Preferred"> 117 <horstretch>0</horstretch> 118 <verstretch>0</verstretch> 119 </sizepolicy> 120 </property> 121 <property name="text"> 122 <string>&Mask</string> 123 </property> 124 <property name="buddy"> 125 <cstring>qsbMask</cstring> 126 </property> 127 </widget> 128 </item> 129 <item row="3" column="5"> 130 <widget class="QSpinBox" name="qsbMask"> 131 <property name="minimum"> 132 <number>8</number> 133 </property> 134 <property name="maximum"> 135 <number>128</number> 136 </property> 137 <property name="value"> 138 <number>128</number> 139 </property> 140 </widget> 141 </item> 142 <item row="4" column="0"> 143 <widget class="QLabel" name="qlReason"> 144 <property name="text"> 145 <string>Reason</string> 146 </property> 147 </widget> 148 </item> 149 <item row="4" column="1" colspan="5"> 150 <widget class="QLineEdit" name="qleReason"> 151 <property name="toolTip"> 152 <string>Reason for the ban</string> 153 </property> 154 <property name="placeholderText"> 155 <string>No reason</string> 156 </property> 157 </widget> 158 </item> 159 <item row="5" column="0"> 160 <widget class="QLabel" name="qlStart"> 161 <property name="text"> 162 <string>Start</string> 163 </property> 164 </widget> 165 </item> 166 <item row="5" column="1"> 167 <widget class="QDateTimeEdit" name="qdteStart"> 168 <property name="enabled"> 169 <bool>false</bool> 170 </property> 171 <property name="readOnly"> 172 <bool>false</bool> 173 </property> 174 <property name="calendarPopup"> 175 <bool>false</bool> 176 </property> 177 </widget> 178 </item> 179 <item row="5" column="2"> 180 <widget class="QLabel" name="qlEnd"> 181 <property name="sizePolicy"> 182 <sizepolicy hsizetype="Maximum" vsizetype="Preferred"> 183 <horstretch>0</horstretch> 184 <verstretch>0</verstretch> 185 </sizepolicy> 186 </property> 187 <property name="text"> 188 <string>End</string> 189 </property> 190 </widget> 191 </item> 192 <item row="5" column="3" colspan="3"> 193 <widget class="QDateTimeEdit" name="qdteEnd"> 194 <property name="toolTip"> 195 <string>Ban end date</string> 196 </property> 197 <property name="whatsThis"> 198 <string>Ban end date. If you set the same date for start and end, the ban will be permanent (it will not expire).</string> 199 </property> 200 <property name="calendarPopup"> 201 <bool>true</bool> 202 </property> 203 </widget> 204 </item> 205 <item row="6" column="0"> 206 <widget class="QLabel" name="qliHash"> 207 <property name="text"> 208 <string>Hash</string> 209 </property> 210 </widget> 211 </item> 212 <item row="6" column="1" colspan="5"> 213 <widget class="QLineEdit" name="qleHash"> 214 <property name="toolTip"> 215 <string>Certificate hash</string> 216 </property> 217 <property name="inputMethodHints"> 218 <set>Qt::ImhLowercaseOnly|Qt::ImhNoAutoUppercase</set> 219 </property> 220 <property name="placeholderText"> 221 <string>No certificate hash</string> 222 </property> 223 </widget> 224 </item> 225 <item row="0" column="0" colspan="7"> 226 <widget class="QListWidget" name="qlwBans"> 227 <property name="toolTip"> 228 <string>Banned users</string> 229 </property> 230 <property name="whatsThis"> 231 <string>This is a list with banned users.</string> 232 </property> 233 <property name="alternatingRowColors"> 234 <bool>true</bool> 235 </property> 236 <property name="sortingEnabled"> 237 <bool>false</bool> 238 </property> 239 </widget> 240 </item> 241 <item row="2" column="6"> 242 <widget class="QPushButton" name="qpbAdd"> 243 <property name="enabled"> 244 <bool>false</bool> 245 </property> 246 <property name="toolTip"> 247 <string/> 248 </property> 249 <property name="whatsThis"> 250 <string>Use this button if you want to add a new ban.</string> 251 </property> 252 <property name="text"> 253 <string>&Add</string> 254 </property> 255 </widget> 256 </item> 257 <item row="3" column="6"> 258 <widget class="QPushButton" name="qpbUpdate"> 259 <property name="enabled"> 260 <bool>false</bool> 261 </property> 262 <property name="toolTip"> 263 <string/> 264 </property> 265 <property name="whatsThis"> 266 <string>Use this button if you want to update ban information.</string> 267 </property> 268 <property name="text"> 269 <string>&Update</string> 270 </property> 271 </widget> 272 </item> 273 <item row="4" column="6"> 274 <widget class="QPushButton" name="qpbRemove"> 275 <property name="enabled"> 276 <bool>false</bool> 277 </property> 278 <property name="whatsThis"> 279 <string>Use this button if you want to remove user from the ban list.</string> 280 </property> 281 <property name="text"> 282 <string>&Remove</string> 283 </property> 284 </widget> 285 </item> 286 <item row="6" column="6"> 287 <widget class="QPushButton" name="qpbClear"> 288 <property name="toolTip"> 289 <string>Clear all fields</string> 290 </property> 291 <property name="whatsThis"> 292 <string>This button clears all fields. Use it if you want to add a new ban.</string> 293 </property> 294 <property name="text"> 295 <string>Clear</string> 296 </property> 297 </widget> 298 </item> 299 </layout> 300 </widget> 301 </item> 302 </layout> 303 </widget> 304 <resources/> 305 <connections> 306 <connection> 307 <sender>qbbButtons</sender> 308 <signal>accepted()</signal> 309 <receiver>BanEditor</receiver> 310 <slot>accept()</slot> 311 <hints> 312 <hint type="sourcelabel"> 313 <x>227</x> 314 <y>617</y> 315 </hint> 316 <hint type="destinationlabel"> 317 <x>157</x> 318 <y>274</y> 319 </hint> 320 </hints> 321 </connection> 322 <connection> 323 <sender>qbbButtons</sender> 324 <signal>rejected()</signal> 325 <receiver>BanEditor</receiver> 326 <slot>reject()</slot> 327 <hints> 328 <hint type="sourcelabel"> 329 <x>295</x> 330 <y>623</y> 331 </hint> 332 <hint type="destinationlabel"> 333 <x>286</x> 334 <y>274</y> 335 </hint> 336 </hints> 337 </connection> 338 </connections> 339</ui> 340