1<?xml version="1.0" encoding="UTF-8"?> 2<ui version="4.0"> 3 <class>Preview</class> 4 <widget class="QDialog" name="Preview"> 5 <property name="geometry"> 6 <rect> 7 <x>0</x> 8 <y>0</y> 9 <width>660</width> 10 <height>430</height> 11 </rect> 12 </property> 13 <property name="windowTitle"> 14 <string>Dialog</string> 15 </property> 16 <property name="layoutDirection"> 17 <enum>Qt::LeftToRight</enum> 18 </property> 19 <layout class="QGridLayout" name="gridLayout_4" rowstretch="5,1"> 20 <property name="leftMargin"> 21 <number>20</number> 22 </property> 23 <property name="topMargin"> 24 <number>50</number> 25 </property> 26 <property name="rightMargin"> 27 <number>20</number> 28 </property> 29 <property name="bottomMargin"> 30 <number>30</number> 31 </property> 32 <item row="0" column="0"> 33 <widget class="QGroupBox" name="groupBox"> 34 <property name="styleSheet"> 35 <string notr="true">border: 2px solid #0000EE; 36border-radius: 5px; 37margin-top: 1ex; 38font: 75 10pt "微软雅黑"; 39</string> 40 </property> 41 <property name="title"> 42 <string/> 43 </property> 44 <layout class="QGridLayout" name="gridLayout_2" rowstretch="1,5,1"> 45 <item row="0" column="0"> 46 <layout class="QHBoxLayout" name="horizontalLayout" stretch="1,4,1"> 47 <item> 48 <spacer name="horizontalSpacer_4"> 49 <property name="orientation"> 50 <enum>Qt::Horizontal</enum> 51 </property> 52 <property name="sizeHint" stdset="0"> 53 <size> 54 <width>40</width> 55 <height>20</height> 56 </size> 57 </property> 58 </spacer> 59 </item> 60 <item> 61 <widget class="QLabel" name="label_3"> 62 <property name="sizePolicy"> 63 <sizepolicy hsizetype="Minimum" vsizetype="Minimum"> 64 <horstretch>0</horstretch> 65 <verstretch>0</verstretch> 66 </sizepolicy> 67 </property> 68 <property name="minimumSize"> 69 <size> 70 <width>0</width> 71 <height>0</height> 72 </size> 73 </property> 74 <property name="maximumSize"> 75 <size> 76 <width>16000</width> 77 <height>16000</height> 78 </size> 79 </property> 80 <property name="styleSheet"> 81 <string notr="true">border-width:0px; 82color:rgb(255,255,255) 83</string> 84 </property> 85 <property name="text"> 86 <string>前摄像头预览设置</string> 87 </property> 88 <property name="alignment"> 89 <set>Qt::AlignCenter</set> 90 </property> 91 </widget> 92 </item> 93 <item> 94 <spacer name="horizontalSpacer_5"> 95 <property name="orientation"> 96 <enum>Qt::Horizontal</enum> 97 </property> 98 <property name="sizeHint" stdset="0"> 99 <size> 100 <width>40</width> 101 <height>20</height> 102 </size> 103 </property> 104 </spacer> 105 </item> 106 </layout> 107 </item> 108 <item row="1" column="0"> 109 <widget class="QLabel" name="pictureLabel1"> 110 <property name="sizePolicy"> 111 <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> 112 <horstretch>0</horstretch> 113 <verstretch>0</verstretch> 114 </sizepolicy> 115 </property> 116 <property name="minimumSize"> 117 <size> 118 <width>0</width> 119 <height>0</height> 120 </size> 121 </property> 122 <property name="maximumSize"> 123 <size> 124 <width>175555</width> 125 <height>175555</height> 126 </size> 127 </property> 128 <property name="styleSheet"> 129 <string notr="true">border-width:0px; 130</string> 131 </property> 132 <property name="text"> 133 <string/> 134 </property> 135 <property name="alignment"> 136 <set>Qt::AlignCenter</set> 137 </property> 138 </widget> 139 </item> 140 <item row="2" column="0"> 141 <layout class="QHBoxLayout" name="horizontalLayout_2" stretch="1,1,1"> 142 <item> 143 <spacer name="horizontalSpacer_2"> 144 <property name="orientation"> 145 <enum>Qt::Horizontal</enum> 146 </property> 147 <property name="sizeHint" stdset="0"> 148 <size> 149 <width>40</width> 150 <height>20</height> 151 </size> 152 </property> 153 </spacer> 154 </item> 155 <item> 156 <widget class="QPushButton" name="front_set_Button"> 157 <property name="minimumSize"> 158 <size> 159 <width>0</width> 160 <height>0</height> 161 </size> 162 </property> 163 <property name="maximumSize"> 164 <size> 165 <width>16000</width> 166 <height>16000</height> 167 </size> 168 </property> 169 <property name="styleSheet"> 170 <string notr="true">QPushButton{ 171 border-style: none; 172 border: 0px; 173 color: #F0F0F0; 174 padding: 5px; 175 border-radius:5px; 176 background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #0F7DBE, stop:1 #1582C3); 177} 178 179.QPushButton[focusPolicy="0"] { 180 border-style: none; 181 border: 0px; 182 color: #F0F0F0; 183 padding: 0px; 184 border-radius:3px; 185 background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #0F7DBE, stop:1 #1582C3); 186} 187 188.QPushButton:hover{ 189 background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #50A3F0, stop:1 #489CEA); 190} 191 192.QPushButton:pressed{ 193 background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #0F7DBE, stop:1 #1582C3); 194}</string> 195 </property> 196 <property name="text"> 197 <string>预览</string> 198 </property> 199 </widget> 200 </item> 201 <item> 202 <spacer name="horizontalSpacer_3"> 203 <property name="orientation"> 204 <enum>Qt::Horizontal</enum> 205 </property> 206 <property name="sizeHint" stdset="0"> 207 <size> 208 <width>108</width> 209 <height>20</height> 210 </size> 211 </property> 212 </spacer> 213 </item> 214 </layout> 215 </item> 216 </layout> 217 </widget> 218 </item> 219 <item row="0" column="1"> 220 <widget class="QGroupBox" name="groupBox_2"> 221 <property name="styleSheet"> 222 <string notr="true">border: 2px solid #0000EE; 223border-radius: 5px; 224margin-top: 1ex; 225font: 75 10pt "微软雅黑"; 226</string> 227 </property> 228 <property name="title"> 229 <string/> 230 </property> 231 <layout class="QGridLayout" name="gridLayout_3" rowstretch="1,5,1"> 232 <item row="0" column="0"> 233 <layout class="QHBoxLayout" name="horizontalLayout_4" stretch="1,4,1"> 234 <item> 235 <spacer name="horizontalSpacer_8"> 236 <property name="orientation"> 237 <enum>Qt::Horizontal</enum> 238 </property> 239 <property name="sizeHint" stdset="0"> 240 <size> 241 <width>40</width> 242 <height>20</height> 243 </size> 244 </property> 245 </spacer> 246 </item> 247 <item> 248 <widget class="QLabel" name="label_2"> 249 <property name="sizePolicy"> 250 <sizepolicy hsizetype="Minimum" vsizetype="Minimum"> 251 <horstretch>0</horstretch> 252 <verstretch>0</verstretch> 253 </sizepolicy> 254 </property> 255 <property name="minimumSize"> 256 <size> 257 <width>0</width> 258 <height>0</height> 259 </size> 260 </property> 261 <property name="maximumSize"> 262 <size> 263 <width>16000</width> 264 <height>16000</height> 265 </size> 266 </property> 267 <property name="styleSheet"> 268 <string notr="true">border-width:0px; 269color:rgb(255,255,255)</string> 270 </property> 271 <property name="text"> 272 <string>后摄像头预览设置</string> 273 </property> 274 <property name="alignment"> 275 <set>Qt::AlignCenter</set> 276 </property> 277 </widget> 278 </item> 279 <item> 280 <spacer name="horizontalSpacer_9"> 281 <property name="orientation"> 282 <enum>Qt::Horizontal</enum> 283 </property> 284 <property name="sizeHint" stdset="0"> 285 <size> 286 <width>40</width> 287 <height>20</height> 288 </size> 289 </property> 290 </spacer> 291 </item> 292 </layout> 293 </item> 294 <item row="1" column="0"> 295 <widget class="QLabel" name="pictureLabel2"> 296 <property name="sizePolicy"> 297 <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> 298 <horstretch>0</horstretch> 299 <verstretch>0</verstretch> 300 </sizepolicy> 301 </property> 302 <property name="minimumSize"> 303 <size> 304 <width>0</width> 305 <height>0</height> 306 </size> 307 </property> 308 <property name="maximumSize"> 309 <size> 310 <width>117555</width> 311 <height>117555</height> 312 </size> 313 </property> 314 <property name="styleSheet"> 315 <string notr="true">border-width:0px; 316</string> 317 </property> 318 <property name="text"> 319 <string/> 320 </property> 321 <property name="alignment"> 322 <set>Qt::AlignCenter</set> 323 </property> 324 </widget> 325 </item> 326 <item row="2" column="0"> 327 <layout class="QHBoxLayout" name="horizontalLayout_3" stretch="1,1,1"> 328 <item> 329 <spacer name="horizontalSpacer_6"> 330 <property name="orientation"> 331 <enum>Qt::Horizontal</enum> 332 </property> 333 <property name="sizeHint" stdset="0"> 334 <size> 335 <width>58</width> 336 <height>20</height> 337 </size> 338 </property> 339 </spacer> 340 </item> 341 <item> 342 <widget class="QPushButton" name="rear_set_Button"> 343 <property name="minimumSize"> 344 <size> 345 <width>0</width> 346 <height>0</height> 347 </size> 348 </property> 349 <property name="maximumSize"> 350 <size> 351 <width>16000</width> 352 <height>16000</height> 353 </size> 354 </property> 355 <property name="styleSheet"> 356 <string notr="true">QPushButton{ 357 border-style: none; 358 border: 0px; 359 color: #F0F0F0; 360 padding: 5px; 361 border-radius:5px; 362 background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #0F7DBE, stop:1 #1582C3); 363} 364 365.QPushButton[focusPolicy="0"] { 366 border-style: none; 367 border: 0px; 368 color: #F0F0F0; 369 padding: 0px; 370 border-radius:3px; 371 background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #0F7DBE, stop:1 #1582C3); 372} 373 374.QPushButton:hover{ 375 background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #50A3F0, stop:1 #489CEA); 376} 377 378.QPushButton:pressed{ 379 background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #0F7DBE, stop:1 #1582C3); 380}</string> 381 </property> 382 <property name="text"> 383 <string>预览</string> 384 </property> 385 </widget> 386 </item> 387 <item> 388 <spacer name="horizontalSpacer_7"> 389 <property name="orientation"> 390 <enum>Qt::Horizontal</enum> 391 </property> 392 <property name="sizeHint" stdset="0"> 393 <size> 394 <width>68</width> 395 <height>20</height> 396 </size> 397 </property> 398 </spacer> 399 </item> 400 </layout> 401 </item> 402 </layout> 403 </widget> 404 </item> 405 <item row="1" column="0" colspan="2"> 406 <layout class="QGridLayout" name="gridLayout" columnstretch="2,4"> 407 <item row="0" column="0"> 408 <widget class="QLabel" name="label"> 409 <property name="minimumSize"> 410 <size> 411 <width>0</width> 412 <height>0</height> 413 </size> 414 </property> 415 <property name="maximumSize"> 416 <size> 417 <width>16000</width> 418 <height>16000</height> 419 </size> 420 </property> 421 <property name="styleSheet"> 422 <string notr="true">color:rgb(255,255,255)</string> 423 </property> 424 <property name="text"> 425 <string>camera0制式:</string> 426 </property> 427 </widget> 428 </item> 429 <item row="0" column="1"> 430 <spacer name="horizontalSpacer"> 431 <property name="orientation"> 432 <enum>Qt::Horizontal</enum> 433 </property> 434 <property name="sizeHint" stdset="0"> 435 <size> 436 <width>378</width> 437 <height>20</height> 438 </size> 439 </property> 440 </spacer> 441 </item> 442 </layout> 443 </item> 444 </layout> 445 </widget> 446 <resources/> 447 <connections/> 448</ui> 449