1<?xml version="1.0" encoding="UTF-8"?> 2<ui version="4.0"> 3 <class>VideoPlayer</class> 4 <widget class="QWidget" name="VideoPlayer"> 5 <property name="geometry"> 6 <rect> 7 <x>0</x> 8 <y>0</y> 9 <width>800</width> 10 <height>480</height> 11 </rect> 12 </property> 13 <property name="sizePolicy"> 14 <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> 15 <horstretch>0</horstretch> 16 <verstretch>0</verstretch> 17 </sizepolicy> 18 </property> 19 <property name="minimumSize"> 20 <size> 21 <width>0</width> 22 <height>0</height> 23 </size> 24 </property> 25 <property name="maximumSize"> 26 <size> 27 <width>16777215</width> 28 <height>16777215</height> 29 </size> 30 </property> 31 <property name="windowTitle"> 32 <string>Form</string> 33 </property> 34 <property name="styleSheet"> 35 <string notr="true">background-color: rgba(255, 255, 255,0);</string> 36 </property> 37 <layout class="QGridLayout" name="gridLayout_5"> 38 <property name="leftMargin"> 39 <number>0</number> 40 </property> 41 <property name="topMargin"> 42 <number>0</number> 43 </property> 44 <property name="rightMargin"> 45 <number>0</number> 46 </property> 47 <property name="bottomMargin"> 48 <number>0</number> 49 </property> 50 <property name="spacing"> 51 <number>0</number> 52 </property> 53 <item row="0" column="0"> 54 <layout class="QVBoxLayout" name="verticalLayout"> 55 <property name="sizeConstraint"> 56 <enum>QLayout::SetMaximumSize</enum> 57 </property> 58 <item> 59 <widget class="QWidget" name="subtitlewidget" native="true"> 60 <property name="minimumSize"> 61 <size> 62 <width>0</width> 63 <height>60</height> 64 </size> 65 </property> 66 <property name="maximumSize"> 67 <size> 68 <width>16777215</width> 69 <height>60</height> 70 </size> 71 </property> 72 <layout class="QGridLayout" name="gridLayout"> 73 <property name="leftMargin"> 74 <number>0</number> 75 </property> 76 <property name="topMargin"> 77 <number>0</number> 78 </property> 79 <property name="rightMargin"> 80 <number>0</number> 81 </property> 82 <property name="bottomMargin"> 83 <number>0</number> 84 </property> 85 <property name="spacing"> 86 <number>0</number> 87 </property> 88 <item row="2" column="0"> 89 <widget class="QLabel" name="subtitleLabel"> 90 <property name="text"> 91 <string><html><head/><body><p align="center"><br/></p></body></html></string> 92 </property> 93 <property name="alignment"> 94 <set>Qt::AlignCenter</set> 95 </property> 96 </widget> 97 </item> 98 </layout> 99 </widget> 100 </item> 101 <item> 102 <widget class="QWidget" name="videoNameWidget" native="true"> 103 <property name="minimumSize"> 104 <size> 105 <width>512</width> 106 <height>40</height> 107 </size> 108 </property> 109 <property name="maximumSize"> 110 <size> 111 <width>16777215</width> 112 <height>40</height> 113 </size> 114 </property> 115 <property name="styleSheet"> 116 <string notr="true">background-color: rgba(255, 255, 255,0);</string> 117 </property> 118 <layout class="QGridLayout" name="gridLayout_3" columnstretch="1,0,0"> 119 <property name="leftMargin"> 120 <number>0</number> 121 </property> 122 <property name="topMargin"> 123 <number>0</number> 124 </property> 125 <property name="rightMargin"> 126 <number>0</number> 127 </property> 128 <property name="bottomMargin"> 129 <number>0</number> 130 </property> 131 <property name="horizontalSpacing"> 132 <number>0</number> 133 </property> 134 <item row="0" column="0"> 135 <widget class="QLabel" name="label"> 136 <property name="maximumSize"> 137 <size> 138 <width>150</width> 139 <height>16777215</height> 140 </size> 141 </property> 142 <property name="text"> 143 <string><html><head/><body><p><span style=" font-size:12pt; color:#aaffff;">当前正在播放:</span></p></body></html></string> 144 </property> 145 </widget> 146 </item> 147 <item row="0" column="1" colspan="2"> 148 <widget class="QLabel" name="videoNameLabel"> 149 <property name="styleSheet"> 150 <string notr="true">background-color: rgba(255, 255, 255,0); 151color:rgb(170, 255, 255);</string> 152 </property> 153 <property name="text"> 154 <string/> 155 </property> 156 </widget> 157 </item> 158 </layout> 159 </widget> 160 </item> 161 <item> 162 <spacer name="verticalSpacer_2"> 163 <property name="orientation"> 164 <enum>Qt::Vertical</enum> 165 </property> 166 <property name="sizeHint" stdset="0"> 167 <size> 168 <width>20</width> 169 <height>16777215</height> 170 </size> 171 </property> 172 </spacer> 173 </item> 174 <item> 175 <widget class="QPushButton" name="UnFullscreenButton"> 176 <property name="minimumSize"> 177 <size> 178 <width>50</width> 179 <height>50</height> 180 </size> 181 </property> 182 <property name="maximumSize"> 183 <size> 184 <width>50</width> 185 <height>50</height> 186 </size> 187 </property> 188 <property name="focusPolicy"> 189 <enum>Qt::NoFocus</enum> 190 </property> 191 <property name="styleSheet"> 192 <string notr="true">QPushButton{ 193background-color:rgba(0, 255, 255,120); 194border-radius:15px; 195border:0px soild red; 196} 197QPushButton:pressed{ 198border-radius:15px; 199 border:0px solid red; 200 background-color: qradialgradient(spread:repeat, cx:0.5, cy:0.5, radius:0.077, fx:0.5, fy:0.5, stop:0 rgba(0, 169, 255, 147), stop:0.497326 rgba(0, 0, 0, 147), stop:1 rgba(0, 169, 255, 147)); 201} 202QPushButton:hover{ 203 background-color: qradialgradient(spread:repeat, cx:0.5, cy:0.5, radius:0.077, fx:0.5, fy:0.5, stop:0 rgba(0, 169, 255, 147), stop:0.497326 rgba(0, 0, 0, 147), stop:1 rgba(0, 169, 255, 147)); 204border-radius:15px; 205 border:0px solid red; 206} 207</string> 208 </property> 209 <property name="text"> 210 <string/> 211 </property> 212 <property name="icon"> 213 <iconset> 214 <normalon>:/images/playerIcons/fullscreenPressed.png</normalon> 215 </iconset> 216 </property> 217 <property name="iconSize"> 218 <size> 219 <width>40</width> 220 <height>40</height> 221 </size> 222 </property> 223 </widget> 224 </item> 225 <item> 226 <spacer name="verticalSpacer"> 227 <property name="orientation"> 228 <enum>Qt::Vertical</enum> 229 </property> 230 <property name="sizeHint" stdset="0"> 231 <size> 232 <width>20</width> 233 <height>16777215</height> 234 </size> 235 </property> 236 </spacer> 237 </item> 238 <item> 239 <widget class="QWidget" name="sliderAndTimeLabelWidget" native="true"> 240 <property name="minimumSize"> 241 <size> 242 <width>0</width> 243 <height>30</height> 244 </size> 245 </property> 246 <property name="maximumSize"> 247 <size> 248 <width>800</width> 249 <height>30</height> 250 </size> 251 </property> 252 <layout class="QGridLayout" name="gridLayout_2"> 253 <property name="leftMargin"> 254 <number>0</number> 255 </property> 256 <property name="topMargin"> 257 <number>0</number> 258 </property> 259 <property name="rightMargin"> 260 <number>0</number> 261 </property> 262 <property name="bottomMargin"> 263 <number>0</number> 264 </property> 265 <property name="spacing"> 266 <number>0</number> 267 </property> 268 </layout> 269 </widget> 270 </item> 271 <item> 272 <layout class="QHBoxLayout" name="horizontalLayout_2"> 273 <item> 274 <widget class="QLabel" name="curTimeLabel"> 275 <property name="sizePolicy"> 276 <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> 277 <horstretch>0</horstretch> 278 <verstretch>0</verstretch> 279 </sizepolicy> 280 </property> 281 <property name="minimumSize"> 282 <size> 283 <width>110</width> 284 <height>30</height> 285 </size> 286 </property> 287 <property name="maximumSize"> 288 <size> 289 <width>110</width> 290 <height>30</height> 291 </size> 292 </property> 293 <property name="font"> 294 <font> 295 <pointsize>14</pointsize> 296 </font> 297 </property> 298 <property name="styleSheet"> 299 <string notr="true">background-color: rgba(255, 255, 255, 0); 300color: white; 301</string> 302 </property> 303 <property name="text"> 304 <string>00:00:00</string> 305 </property> 306 <property name="alignment"> 307 <set>Qt::AlignCenter</set> 308 </property> 309 </widget> 310 </item> 311 <item> 312 <widget class="QSlider" name="progressSlider"> 313 <property name="enabled"> 314 <bool>true</bool> 315 </property> 316 <property name="maximumSize"> 317 <size> 318 <width>820</width> 319 <height>16777215</height> 320 </size> 321 </property> 322 <property name="styleSheet"> 323 <string notr="true">QSlider{ 324border-color: #bcbcbc; 325background-color:rgba(255,255,255,0); 326} 327QSlider::groove:horizontal { 328 border: 1px solid #999999; 329 height: 1px; 330 margin: 0px 0; 331 left: 5px; right: 5px; 332 } 333QSlider::handle:horizontal { 334 border: 0px ; 335 border-image: url(:/images/cameraIcons/silderController.png); 336 width: 15px; 337 margin: -7px -7px -7px -7px; 338} 339QSlider::add-page:horizontal{ 340background: qlineargradient(spread:pad, x1:0, y1:1, x2:0, y2:0, stop:0 #bcbcbc, stop:0.25 #bcbcbc, stop:0.5 #bcbcbc, stop:1 #bcbcbc); 341 342} 343QSlider::sub-page:horizontal{ 344 background: qlineargradient(spread:pad, x1:0, y1:1, x2:0, y2:0, stop:0 #439cf3, stop:0.25 #439cf3, stop:0.5 #439cf3, stop:1 #439cf3); 345}</string> 346 </property> 347 <property name="orientation"> 348 <enum>Qt::Horizontal</enum> 349 </property> 350 </widget> 351 </item> 352 <item> 353 <widget class="QLabel" name="totalTimeLabel"> 354 <property name="minimumSize"> 355 <size> 356 <width>110</width> 357 <height>30</height> 358 </size> 359 </property> 360 <property name="maximumSize"> 361 <size> 362 <width>110</width> 363 <height>30</height> 364 </size> 365 </property> 366 <property name="font"> 367 <font> 368 <pointsize>14</pointsize> 369 </font> 370 </property> 371 <property name="styleSheet"> 372 <string notr="true">background-color: rgba(255, 255, 255, 0); 373color:white;</string> 374 </property> 375 <property name="text"> 376 <string>00:00:00</string> 377 </property> 378 <property name="alignment"> 379 <set>Qt::AlignCenter</set> 380 </property> 381 </widget> 382 </item> 383 </layout> 384 </item> 385 <item> 386 <widget class="QWidget" name="controlButtonwidget" native="true"> 387 <property name="minimumSize"> 388 <size> 389 <width>0</width> 390 <height>75</height> 391 </size> 392 </property> 393 <property name="maximumSize"> 394 <size> 395 <width>16777215</width> 396 <height>75</height> 397 </size> 398 </property> 399 <layout class="QHBoxLayout" name="horizontalLayout_3"> 400 <property name="spacing"> 401 <number>3</number> 402 </property> 403 <property name="leftMargin"> 404 <number>0</number> 405 </property> 406 <property name="topMargin"> 407 <number>0</number> 408 </property> 409 <property name="rightMargin"> 410 <number>0</number> 411 </property> 412 <property name="bottomMargin"> 413 <number>0</number> 414 </property> 415 <item> 416 <widget class="QPushButton" name="subtitleSelectButton"> 417 <property name="minimumSize"> 418 <size> 419 <width>100</width> 420 <height>75</height> 421 </size> 422 </property> 423 <property name="maximumSize"> 424 <size> 425 <width>100</width> 426 <height>75</height> 427 </size> 428 </property> 429 <property name="focusPolicy"> 430 <enum>Qt::NoFocus</enum> 431 </property> 432 <property name="styleSheet"> 433 <string notr="true">QPushButton{ 434background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgb(40, 15, 166), stop:1 rgb(14, 47, 136)); 435border-radius:5px; 436border:0px soild red; 437} 438 439QPushButton:pressed{ 440border-radius:5px; 441 border:3px solid red; 442 background-color: qradialgradient(spread:repeat, cx:0.5, cy:0.5, radius:0.077, fx:0.5, fy:0.5, stop:0 rgba(0, 169, 255, 147), stop:0.497326 rgba(0, 0, 0, 147), stop:1 rgba(0, 169, 255, 147)); 443} 444 445QPushButton:released{ 446 background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgb(40, 15, 166), stop:1 rgb(14, 47, 136)); 447border-radius:5px; 448border:0px soild red; 449}</string> 450 </property> 451 <property name="text"> 452 <string/> 453 </property> 454 <property name="icon"> 455 <iconset resource="../music/image.qrc"> 456 <normaloff>:/images/playerIcons/settings_new(1).png</normaloff>:/images/playerIcons/settings_new(1).png</iconset> 457 </property> 458 <property name="iconSize"> 459 <size> 460 <width>60</width> 461 <height>60</height> 462 </size> 463 </property> 464 </widget> 465 </item> 466 <item> 467 <widget class="QPushButton" name="fullScreenButton"> 468 <property name="minimumSize"> 469 <size> 470 <width>100</width> 471 <height>75</height> 472 </size> 473 </property> 474 <property name="maximumSize"> 475 <size> 476 <width>100</width> 477 <height>75</height> 478 </size> 479 </property> 480 <property name="focusPolicy"> 481 <enum>Qt::NoFocus</enum> 482 </property> 483 <property name="styleSheet"> 484 <string notr="true">QPushButton{ 485background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgb(40, 15, 166), stop:1 rgb(14, 47, 136)); 486border-radius:5px; 487border:0px soild red; 488} 489 490QPushButton:pressed{ 491border-radius:5px; 492 border:3px solid red; 493 background-color: qradialgradient(spread:repeat, cx:0.5, cy:0.5, radius:0.077, fx:0.5, fy:0.5, stop:0 rgba(0, 169, 255, 147), stop:0.497326 rgba(0, 0, 0, 147), stop:1 rgba(0, 169, 255, 147)); 494} 495 496QPushButton:released{ 497 background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgb(40, 15, 166), stop:1 rgb(14, 47, 136)); 498border-radius:5px; 499border:0px soild red; 500}</string> 501 </property> 502 <property name="text"> 503 <string/> 504 </property> 505 <property name="icon"> 506 <iconset> 507 <normalon>:/images/playerIcons/fullscreenNormal.png</normalon> 508 </iconset> 509 </property> 510 <property name="iconSize"> 511 <size> 512 <width>50</width> 513 <height>50</height> 514 </size> 515 </property> 516 </widget> 517 </item> 518 <item> 519 <widget class="QPushButton" name="preVideoButton"> 520 <property name="minimumSize"> 521 <size> 522 <width>100</width> 523 <height>75</height> 524 </size> 525 </property> 526 <property name="maximumSize"> 527 <size> 528 <width>100</width> 529 <height>75</height> 530 </size> 531 </property> 532 <property name="focusPolicy"> 533 <enum>Qt::NoFocus</enum> 534 </property> 535 <property name="styleSheet"> 536 <string notr="true">QPushButton{ 537background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgb(40, 15, 166), stop:1 rgb(14, 47, 136)); 538border-radius:5px; 539border:0px soild red; 540} 541 542QPushButton:pressed{ 543border-radius:5px; 544 border:3px solid red; 545 background-color: qradialgradient(spread:repeat, cx:0.5, cy:0.5, radius:0.077, fx:0.5, fy:0.5, stop:0 rgba(0, 169, 255, 147), stop:0.497326 rgba(0, 0, 0, 147), stop:1 rgba(0, 169, 255, 147)); 546} 547 548QPushButton:released{ 549 background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgb(40, 15, 166), stop:1 rgb(14, 47, 136)); 550border-radius:5px; 551border:0px soild red; 552}</string> 553 </property> 554 <property name="text"> 555 <string/> 556 </property> 557 <property name="icon"> 558 <iconset> 559 <normalon>:/images/playerIcons/preVideo.png</normalon> 560 </iconset> 561 </property> 562 <property name="iconSize"> 563 <size> 564 <width>40</width> 565 <height>40</height> 566 </size> 567 </property> 568 </widget> 569 </item> 570 <item> 571 <widget class="QPushButton" name="playButton"> 572 <property name="enabled"> 573 <bool>true</bool> 574 </property> 575 <property name="minimumSize"> 576 <size> 577 <width>100</width> 578 <height>0</height> 579 </size> 580 </property> 581 <property name="maximumSize"> 582 <size> 583 <width>100</width> 584 <height>75</height> 585 </size> 586 </property> 587 <property name="focusPolicy"> 588 <enum>Qt::NoFocus</enum> 589 </property> 590 <property name="styleSheet"> 591 <string notr="true">QPushButton{ 592background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgb(40, 15, 166), stop:1 rgb(14, 47, 136)); 593border-radius:5px; 594border:0px soild red; 595} 596 597QPushButton:pressed{ 598border-radius:5px; 599 border:3px solid red; 600 background-color: qradialgradient(spread:repeat, cx:0.5, cy:0.5, radius:0.077, fx:0.5, fy:0.5, stop:0 rgba(0, 169, 255, 147), stop:0.497326 rgba(0, 0, 0, 147), stop:1 rgba(0, 169, 255, 147)); 601} 602 603QPushButton:released{ 604 background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgb(40, 15, 166), stop:1 rgb(14, 47, 136)); 605border-radius:5px; 606border:0px soild red; 607}</string> 608 </property> 609 <property name="text"> 610 <string/> 611 </property> 612 <property name="icon"> 613 <iconset> 614 <normalon>:/images/playerIcons/Play.png</normalon> 615 </iconset> 616 </property> 617 <property name="iconSize"> 618 <size> 619 <width>50</width> 620 <height>50</height> 621 </size> 622 </property> 623 </widget> 624 </item> 625 <item> 626 <widget class="QPushButton" name="nextVideoButton"> 627 <property name="minimumSize"> 628 <size> 629 <width>100</width> 630 <height>75</height> 631 </size> 632 </property> 633 <property name="maximumSize"> 634 <size> 635 <width>100</width> 636 <height>75</height> 637 </size> 638 </property> 639 <property name="focusPolicy"> 640 <enum>Qt::NoFocus</enum> 641 </property> 642 <property name="styleSheet"> 643 <string notr="true">QPushButton{ 644background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgb(40, 15, 166), stop:1 rgb(14, 47, 136)); 645border-radius:5px; 646border:0px soild red; 647} 648 649QPushButton:pressed{ 650border-radius:5px; 651 border:3px solid red; 652 background-color: qradialgradient(spread:repeat, cx:0.5, cy:0.5, radius:0.077, fx:0.5, fy:0.5, stop:0 rgba(0, 169, 255, 147), stop:0.497326 rgba(0, 0, 0, 147), stop:1 rgba(0, 169, 255, 147)); 653} 654 655QPushButton:released{ 656 background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgb(40, 15, 166), stop:1 rgb(14, 47, 136)); 657border-radius:5px; 658border:0px soild red; 659}</string> 660 </property> 661 <property name="text"> 662 <string/> 663 </property> 664 <property name="icon"> 665 <iconset> 666 <normalon>:/images/playerIcons/nextVideo.png</normalon> 667 </iconset> 668 </property> 669 <property name="iconSize"> 670 <size> 671 <width>40</width> 672 <height>40</height> 673 </size> 674 </property> 675 </widget> 676 </item> 677 <item> 678 <widget class="QPushButton" name="searchButton"> 679 <property name="minimumSize"> 680 <size> 681 <width>100</width> 682 <height>75</height> 683 </size> 684 </property> 685 <property name="maximumSize"> 686 <size> 687 <width>100</width> 688 <height>75</height> 689 </size> 690 </property> 691 <property name="focusPolicy"> 692 <enum>Qt::NoFocus</enum> 693 </property> 694 <property name="styleSheet"> 695 <string notr="true">QPushButton{ 696background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgb(40, 15, 166), stop:1 rgb(14, 47, 136)); 697border-radius:5px; 698border:0px soild red; 699} 700 701QPushButton:pressed{ 702border-radius:5px; 703 border:3px solid red; 704 background-color: qradialgradient(spread:repeat, cx:0.5, cy:0.5, radius:0.077, fx:0.5, fy:0.5, stop:0 rgba(0, 169, 255, 147), stop:0.497326 rgba(0, 0, 0, 147), stop:1 rgba(0, 169, 255, 147)); 705} 706 707QPushButton:released{ 708 background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgb(40, 15, 166), stop:1 rgb(14, 47, 136)); 709border-radius:5px; 710border:0px soild red; 711}</string> 712 </property> 713 <property name="text"> 714 <string/> 715 </property> 716 <property name="icon"> 717 <iconset> 718 <normalon>:/images/playerIcons/Search.png</normalon> 719 </iconset> 720 </property> 721 <property name="iconSize"> 722 <size> 723 <width>50</width> 724 <height>50</height> 725 </size> 726 </property> 727 </widget> 728 </item> 729 <item> 730 <widget class="QPushButton" name="playListButton"> 731 <property name="minimumSize"> 732 <size> 733 <width>100</width> 734 <height>75</height> 735 </size> 736 </property> 737 <property name="maximumSize"> 738 <size> 739 <width>100</width> 740 <height>75</height> 741 </size> 742 </property> 743 <property name="focusPolicy"> 744 <enum>Qt::NoFocus</enum> 745 </property> 746 <property name="styleSheet"> 747 <string notr="true">QPushButton{ 748background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgb(40, 15, 166), stop:1 rgb(14, 47, 136)); 749border-radius:5px; 750border:0px soild red; 751} 752 753QPushButton:pressed{ 754border-radius:5px; 755 border:3px solid red; 756 background-color: qradialgradient(spread:repeat, cx:0.5, cy:0.5, radius:0.077, fx:0.5, fy:0.5, stop:0 rgba(0, 169, 255, 147), stop:0.497326 rgba(0, 0, 0, 147), stop:1 rgba(0, 169, 255, 147)); 757} 758 759QPushButton:released{ 760 background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgb(40, 15, 166), stop:1 rgb(14, 47, 136)); 761border-radius:5px; 762border:0px soild red; 763}</string> 764 </property> 765 <property name="text"> 766 <string/> 767 </property> 768 <property name="icon"> 769 <iconset> 770 <normalon>:/images/playerIcons/list.png</normalon> 771 </iconset> 772 </property> 773 <property name="iconSize"> 774 <size> 775 <width>80</width> 776 <height>80</height> 777 </size> 778 </property> 779 </widget> 780 </item> 781 </layout> 782 </widget> 783 </item> 784 </layout> 785 </item> 786 </layout> 787 </widget> 788 <resources> 789 <include location="../music/image.qrc"/> 790 </resources> 791 <connections/> 792</ui> 793