1<?xml version="1.0" encoding="UTF-8"?> 2<ui version="4.0"> 3 <class>main_desktop</class> 4 <widget class="QWidget" name="main_desktop"> 5 <property name="geometry"> 6 <rect> 7 <x>0</x> 8 <y>0</y> 9 <width>1024</width> 10 <height>600</height> 11 </rect> 12 </property> 13 <property name="windowTitle"> 14 <string>main_desktop</string> 15 </property> 16 <property name="styleSheet"> 17 <string notr="true"/> 18 </property> 19 <layout class="QGridLayout" name="gridLayout_5" rowstretch="1,15,3"> 20 <property name="leftMargin"> 21 <number>0</number> 22 </property> 23 <property name="topMargin"> 24 <number>0</number> 25 </property> 26 <property name="rightMargin"> 27 <number>0</number> 28 </property> 29 <property name="bottomMargin"> 30 <number>0</number> 31 </property> 32 <property name="horizontalSpacing"> 33 <number>0</number> 34 </property> 35 <item row="0" column="0"> 36 <layout class="QGridLayout" name="gridLayout_3" columnstretch="2,0,0"> 37 <property name="leftMargin"> 38 <number>60</number> 39 </property> 40 <property name="rightMargin"> 41 <number>60</number> 42 </property> 43 <item row="0" column="1"> 44 <spacer name="horizontalSpacer"> 45 <property name="orientation"> 46 <enum>Qt::Horizontal</enum> 47 </property> 48 <property name="sizeHint" stdset="0"> 49 <size> 50 <width>418</width> 51 <height>20</height> 52 </size> 53 </property> 54 </spacer> 55 </item> 56 <item row="0" column="0"> 57 <widget class="QPushButton" name="pushButton"> 58 <property name="minimumSize"> 59 <size> 60 <width>0</width> 61 <height>0</height> 62 </size> 63 </property> 64 <property name="maximumSize"> 65 <size> 66 <width>100</width> 67 <height>39</height> 68 </size> 69 </property> 70 <property name="focusPolicy"> 71 <enum>Qt::NoFocus</enum> 72 </property> 73 <property name="styleSheet"> 74 <string notr="true">QPushButton{ 75 background-color:rgba(100,225,100,150); 76 border-style:outset; 77 border-width:8px; 78 border-radius:12px; 79 border-color:rgba(255,255,255,30); 80 color:white; 81} 82 83QPushButton:pressed{ 84 background-color:rgba(100,255,100,200); 85 border-color:rgba(255,255,255,200); 86 border-style:inset; 87 color:white; 88}</string> 89 </property> 90 <property name="text"> 91 <string>开始预览</string> 92 </property> 93 </widget> 94 </item> 95 <item row="0" column="2"> 96 <layout class="QGridLayout" name="gridLayout_2" columnstretch="5,0"> 97 <item row="0" column="0"> 98 <widget class="QLabel" name="time_Label"> 99 <property name="sizePolicy"> 100 <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> 101 <horstretch>0</horstretch> 102 <verstretch>0</verstretch> 103 </sizepolicy> 104 </property> 105 <property name="minimumSize"> 106 <size> 107 <width>0</width> 108 <height>0</height> 109 </size> 110 </property> 111 <property name="maximumSize"> 112 <size> 113 <width>261</width> 114 <height>51</height> 115 </size> 116 </property> 117 <property name="styleSheet"> 118 <string notr="true">color:rgb(244, 255, 29); 119font: 75 14pt "Courier 10 Pitch"; 120</string> 121 </property> 122 <property name="text"> 123 <string/> 124 </property> 125 <property name="alignment"> 126 <set>Qt::AlignCenter</set> 127 </property> 128 </widget> 129 </item> 130 <item row="0" column="1"> 131 <widget class="QPushButton" name="pushButtonHome"> 132 <property name="minimumSize"> 133 <size> 134 <width>30</width> 135 <height>50</height> 136 </size> 137 </property> 138 <property name="maximumSize"> 139 <size> 140 <width>50</width> 141 <height>60</height> 142 </size> 143 </property> 144 <property name="styleSheet"> 145 <string notr="true"> 146QPushButton{ 147border-image:url(:/icon/home.png); 148} 149</string> 150 </property> 151 <property name="text"> 152 <string/> 153 </property> 154 </widget> 155 </item> 156 </layout> 157 </item> 158 </layout> 159 </item> 160 <item row="1" column="0"> 161 <widget class="QWidget" name="widget" native="true"> 162 <property name="sizePolicy"> 163 <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> 164 <horstretch>0</horstretch> 165 <verstretch>0</verstretch> 166 </sizepolicy> 167 </property> 168 <property name="minimumSize"> 169 <size> 170 <width>0</width> 171 <height>0</height> 172 </size> 173 </property> 174 <property name="maximumSize"> 175 <size> 176 <width>160000</width> 177 <height>16000</height> 178 </size> 179 </property> 180 </widget> 181 </item> 182 <item row="2" column="0"> 183 <layout class="QGridLayout" name="gridLayout_4"> 184 <item row="0" column="1"> 185 <spacer name="verticalSpacer"> 186 <property name="orientation"> 187 <enum>Qt::Vertical</enum> 188 </property> 189 <property name="sizeHint" stdset="0"> 190 <size> 191 <width>20</width> 192 <height>100</height> 193 </size> 194 </property> 195 </spacer> 196 </item> 197 <item row="0" column="0"> 198 <widget class="QWidget" name="widget_2" native="true"> 199 <property name="sizePolicy"> 200 <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> 201 <horstretch>0</horstretch> 202 <verstretch>0</verstretch> 203 </sizepolicy> 204 </property> 205 <property name="styleSheet"> 206 <string notr="true">background-color:rgba(94, 94, 94, 0)</string> 207 </property> 208 <layout class="QGridLayout" name="gridLayout" columnstretch="3,0,0,0,0,0,0,0,0,0"> 209 <property name="leftMargin"> 210 <number>0</number> 211 </property> 212 <property name="topMargin"> 213 <number>10</number> 214 </property> 215 <property name="rightMargin"> 216 <number>0</number> 217 </property> 218 <item row="1" column="7"> 219 <spacer name="horizontalSpacer_7"> 220 <property name="orientation"> 221 <enum>Qt::Horizontal</enum> 222 </property> 223 <property name="sizeHint" stdset="0"> 224 <size> 225 <width>33</width> 226 <height>20</height> 227 </size> 228 </property> 229 </spacer> 230 </item> 231 <item row="1" column="6"> 232 <widget class="QPushButton" name="setFirstButton"> 233 <property name="minimumSize"> 234 <size> 235 <width>81</width> 236 <height>81</height> 237 </size> 238 </property> 239 <property name="maximumSize"> 240 <size> 241 <width>81</width> 242 <height>81</height> 243 </size> 244 </property> 245 <property name="focusPolicy"> 246 <enum>Qt::NoFocus</enum> 247 </property> 248 <property name="styleSheet"> 249 <string notr="true">border-image:url(:/icon/setting_main.png)</string> 250 </property> 251 <property name="text"> 252 <string/> 253 </property> 254 </widget> 255 </item> 256 <item row="1" column="5"> 257 <spacer name="horizontalSpacer_5"> 258 <property name="orientation"> 259 <enum>Qt::Horizontal</enum> 260 </property> 261 <property name="sizeHint" stdset="0"> 262 <size> 263 <width>33</width> 264 <height>20</height> 265 </size> 266 </property> 267 </spacer> 268 </item> 269 <item row="1" column="3"> 270 <spacer name="horizontalSpacer_3"> 271 <property name="orientation"> 272 <enum>Qt::Horizontal</enum> 273 </property> 274 <property name="sizeHint" stdset="0"> 275 <size> 276 <width>34</width> 277 <height>20</height> 278 </size> 279 </property> 280 </spacer> 281 </item> 282 <item row="1" column="0"> 283 <spacer name="horizontalSpacer_6"> 284 <property name="orientation"> 285 <enum>Qt::Horizontal</enum> 286 </property> 287 <property name="sizeHint" stdset="0"> 288 <size> 289 <width>206</width> 290 <height>78</height> 291 </size> 292 </property> 293 </spacer> 294 </item> 295 <item row="1" column="4"> 296 <widget class="QPushButton" name="recordButton"> 297 <property name="minimumSize"> 298 <size> 299 <width>81</width> 300 <height>81</height> 301 </size> 302 </property> 303 <property name="maximumSize"> 304 <size> 305 <width>81</width> 306 <height>81</height> 307 </size> 308 </property> 309 <property name="focusPolicy"> 310 <enum>Qt::NoFocus</enum> 311 </property> 312 <property name="styleSheet"> 313 <string notr="true"> 314 315QPushButton:pressed{ 316 background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #0F7DBE, stop:1 #1582C3); 317} 318QPushButton{ 319border-image:url(:/record.png) 320} 321</string> 322 </property> 323 <property name="text"> 324 <string/> 325 </property> 326 </widget> 327 </item> 328 <item row="1" column="8"> 329 <widget class="QPushButton" name="camera_change_Button"> 330 <property name="minimumSize"> 331 <size> 332 <width>81</width> 333 <height>81</height> 334 </size> 335 </property> 336 <property name="maximumSize"> 337 <size> 338 <width>81</width> 339 <height>81</height> 340 </size> 341 </property> 342 <property name="focusPolicy"> 343 <enum>Qt::NoFocus</enum> 344 </property> 345 <property name="styleSheet"> 346 <string notr="true">border-image:url(:/icon/Switch_Camera.png)</string> 347 </property> 348 <property name="text"> 349 <string/> 350 </property> 351 </widget> 352 </item> 353 <item row="1" column="9"> 354 <spacer name="horizontalSpacer_4"> 355 <property name="orientation"> 356 <enum>Qt::Horizontal</enum> 357 </property> 358 <property name="sizeHint" stdset="0"> 359 <size> 360 <width>209</width> 361 <height>78</height> 362 </size> 363 </property> 364 </spacer> 365 </item> 366 <item row="1" column="1"> 367 <widget class="QPushButton" name="cameraButton"> 368 <property name="sizePolicy"> 369 <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> 370 <horstretch>0</horstretch> 371 <verstretch>0</verstretch> 372 </sizepolicy> 373 </property> 374 <property name="minimumSize"> 375 <size> 376 <width>81</width> 377 <height>81</height> 378 </size> 379 </property> 380 <property name="maximumSize"> 381 <size> 382 <width>81</width> 383 <height>81</height> 384 </size> 385 </property> 386 <property name="focusPolicy"> 387 <enum>Qt::NoFocus</enum> 388 </property> 389 <property name="styleSheet"> 390 <string notr="true"> 391QPushButton{ 392border-image:url(:/icon/camera.png); 393} 394</string> 395 </property> 396 <property name="text"> 397 <string/> 398 </property> 399 </widget> 400 </item> 401 </layout> 402 </widget> 403 </item> 404 </layout> 405 </item> 406 </layout> 407 </widget> 408 <layoutdefault spacing="6" margin="11"/> 409 <resources/> 410 <connections/> 411</ui> 412