432 lines
13 KiB
Plaintext
432 lines
13 KiB
Plaintext
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<ui version="4.0">
|
||
|
<class>MainWidget</class>
|
||
|
<widget class="QWidget" name="MainWidget">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>0</x>
|
||
|
<y>0</y>
|
||
|
<width>800</width>
|
||
|
<height>600</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
<property name="windowTitle">
|
||
|
<string>MainWidget</string>
|
||
|
</property>
|
||
|
<property name="styleSheet">
|
||
|
<string notr="true">background-color: qconicalgradient(cx:0, cy:0, angle:135, stop:0 rgba(255, 255, 0, 69), stop:0.375 rgba(255, 255, 0, 69), stop:0.423533 rgba(251, 255, 0, 145), stop:0.45 rgba(247, 255, 0, 208), stop:0.477581 rgba(255, 244, 71, 130), stop:0.518717 rgba(255, 218, 71, 130), stop:0.55 rgba(255, 255, 0, 255), stop:0.57754 rgba(255, 203, 0, 130), stop:0.625 rgba(255, 255, 0, 69), stop:1 rgba(255, 255, 0, 69));</string>
|
||
|
</property>
|
||
|
<layout class="QGridLayout" name="gridLayout">
|
||
|
<item row="0" column="0">
|
||
|
<widget class="QWidget" name="widget" native="true">
|
||
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
||
|
<item>
|
||
|
<widget class="QWidget" name="widget_3" native="true">
|
||
|
<property name="maximumSize">
|
||
|
<size>
|
||
|
<width>500</width>
|
||
|
<height>500</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
<property name="styleSheet">
|
||
|
<string notr="true">background-color: rgb(0, 170, 255);</string>
|
||
|
</property>
|
||
|
<layout class="QGridLayout" name="gridLayout_2">
|
||
|
<item row="0" column="1">
|
||
|
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
||
|
<item>
|
||
|
<spacer name="horizontalSpacer_7">
|
||
|
<property name="orientation">
|
||
|
<enum>Qt::Horizontal</enum>
|
||
|
</property>
|
||
|
<property name="sizeHint" stdset="0">
|
||
|
<size>
|
||
|
<width>40</width>
|
||
|
<height>20</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
</spacer>
|
||
|
</item>
|
||
|
<item>
|
||
|
<spacer name="horizontalSpacer_11">
|
||
|
<property name="orientation">
|
||
|
<enum>Qt::Horizontal</enum>
|
||
|
</property>
|
||
|
<property name="sizeHint" stdset="0">
|
||
|
<size>
|
||
|
<width>40</width>
|
||
|
<height>20</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
</spacer>
|
||
|
</item>
|
||
|
<item>
|
||
|
<spacer name="horizontalSpacer_13">
|
||
|
<property name="orientation">
|
||
|
<enum>Qt::Horizontal</enum>
|
||
|
</property>
|
||
|
<property name="sizeHint" stdset="0">
|
||
|
<size>
|
||
|
<width>40</width>
|
||
|
<height>20</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
</spacer>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QLabel" name="randImgsLable">
|
||
|
<property name="maximumSize">
|
||
|
<size>
|
||
|
<width>500</width>
|
||
|
<height>500</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
<property name="baseSize">
|
||
|
<size>
|
||
|
<width>0</width>
|
||
|
<height>0</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
<property name="autoFillBackground">
|
||
|
<bool>false</bool>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string/>
|
||
|
</property>
|
||
|
<property name="scaledContents">
|
||
|
<bool>false</bool>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<spacer name="horizontalSpacer_14">
|
||
|
<property name="orientation">
|
||
|
<enum>Qt::Horizontal</enum>
|
||
|
</property>
|
||
|
<property name="sizeHint" stdset="0">
|
||
|
<size>
|
||
|
<width>40</width>
|
||
|
<height>20</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
</spacer>
|
||
|
</item>
|
||
|
<item>
|
||
|
<spacer name="horizontalSpacer_12">
|
||
|
<property name="orientation">
|
||
|
<enum>Qt::Horizontal</enum>
|
||
|
</property>
|
||
|
<property name="sizeHint" stdset="0">
|
||
|
<size>
|
||
|
<width>40</width>
|
||
|
<height>20</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
</spacer>
|
||
|
</item>
|
||
|
<item>
|
||
|
<spacer name="horizontalSpacer_10">
|
||
|
<property name="orientation">
|
||
|
<enum>Qt::Horizontal</enum>
|
||
|
</property>
|
||
|
<property name="sizeHint" stdset="0">
|
||
|
<size>
|
||
|
<width>40</width>
|
||
|
<height>20</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
</spacer>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</item>
|
||
|
<item row="0" column="2">
|
||
|
<widget class="Line" name="line_2">
|
||
|
<property name="orientation">
|
||
|
<enum>Qt::Vertical</enum>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<spacer name="horizontalSpacer_9">
|
||
|
<property name="orientation">
|
||
|
<enum>Qt::Horizontal</enum>
|
||
|
</property>
|
||
|
<property name="sizeHint" stdset="0">
|
||
|
<size>
|
||
|
<width>40</width>
|
||
|
<height>20</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
</spacer>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QWidget" name="widget_4" native="true">
|
||
|
<property name="styleSheet">
|
||
|
<string notr="true">background-color: rgb(255, 85, 0);</string>
|
||
|
</property>
|
||
|
<layout class="QVBoxLayout" name="verticalLayout">
|
||
|
<item>
|
||
|
<widget class="QPushButton" name="rockBtn">
|
||
|
<property name="maximumSize">
|
||
|
<size>
|
||
|
<width>130</width>
|
||
|
<height>130</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string/>
|
||
|
</property>
|
||
|
<property name="icon">
|
||
|
<iconset resource="res.qrc">
|
||
|
<normaloff>:/imgs/rock</normaloff>:/imgs/rock</iconset>
|
||
|
</property>
|
||
|
<property name="iconSize">
|
||
|
<size>
|
||
|
<width>130</width>
|
||
|
<height>130</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<spacer name="verticalSpacer">
|
||
|
<property name="orientation">
|
||
|
<enum>Qt::Vertical</enum>
|
||
|
</property>
|
||
|
<property name="sizeHint" stdset="0">
|
||
|
<size>
|
||
|
<width>20</width>
|
||
|
<height>40</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
</spacer>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QPushButton" name="paperBtn">
|
||
|
<property name="maximumSize">
|
||
|
<size>
|
||
|
<width>130</width>
|
||
|
<height>130</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string/>
|
||
|
</property>
|
||
|
<property name="icon">
|
||
|
<iconset resource="res.qrc">
|
||
|
<normaloff>:/imgs/paper</normaloff>:/imgs/paper</iconset>
|
||
|
</property>
|
||
|
<property name="iconSize">
|
||
|
<size>
|
||
|
<width>130</width>
|
||
|
<height>130</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<spacer name="verticalSpacer_2">
|
||
|
<property name="orientation">
|
||
|
<enum>Qt::Vertical</enum>
|
||
|
</property>
|
||
|
<property name="sizeHint" stdset="0">
|
||
|
<size>
|
||
|
<width>20</width>
|
||
|
<height>40</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
</spacer>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QPushButton" name="scissorsBtn">
|
||
|
<property name="maximumSize">
|
||
|
<size>
|
||
|
<width>130</width>
|
||
|
<height>130</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string/>
|
||
|
</property>
|
||
|
<property name="icon">
|
||
|
<iconset resource="res.qrc">
|
||
|
<normaloff>:/imgs/scissors</normaloff>:/imgs/scissors</iconset>
|
||
|
</property>
|
||
|
<property name="iconSize">
|
||
|
<size>
|
||
|
<width>130</width>
|
||
|
<height>130</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<spacer name="horizontalSpacer_8">
|
||
|
<property name="orientation">
|
||
|
<enum>Qt::Horizontal</enum>
|
||
|
</property>
|
||
|
<property name="sizeHint" stdset="0">
|
||
|
<size>
|
||
|
<width>40</width>
|
||
|
<height>20</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
</spacer>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="1" column="0">
|
||
|
<widget class="Line" name="line">
|
||
|
<property name="orientation">
|
||
|
<enum>Qt::Horizontal</enum>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="2" column="0">
|
||
|
<widget class="QWidget" name="widget_2" native="true">
|
||
|
<property name="styleSheet">
|
||
|
<string notr="true">background-color: rgb(85, 255, 255);</string>
|
||
|
</property>
|
||
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
||
|
<item>
|
||
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
||
|
<item>
|
||
|
<spacer name="horizontalSpacer_3">
|
||
|
<property name="orientation">
|
||
|
<enum>Qt::Horizontal</enum>
|
||
|
</property>
|
||
|
<property name="sizeHint" stdset="0">
|
||
|
<size>
|
||
|
<width>40</width>
|
||
|
<height>20</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
</spacer>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QLabel" name="numsOfGameLable">
|
||
|
<property name="styleSheet">
|
||
|
<string notr="true">font: 18pt "黑体";</string>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>游戏次数: </string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<spacer name="horizontalSpacer">
|
||
|
<property name="orientation">
|
||
|
<enum>Qt::Horizontal</enum>
|
||
|
</property>
|
||
|
<property name="sizeHint" stdset="0">
|
||
|
<size>
|
||
|
<width>40</width>
|
||
|
<height>20</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
</spacer>
|
||
|
</item>
|
||
|
<item>
|
||
|
<spacer name="horizontalSpacer_5">
|
||
|
<property name="orientation">
|
||
|
<enum>Qt::Horizontal</enum>
|
||
|
</property>
|
||
|
<property name="sizeHint" stdset="0">
|
||
|
<size>
|
||
|
<width>40</width>
|
||
|
<height>20</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
</spacer>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QLabel" name="currentScoreLable">
|
||
|
<property name="styleSheet">
|
||
|
<string notr="true">font: 18pt "黑体";</string>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>当前得分: </string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<spacer name="horizontalSpacer_2">
|
||
|
<property name="orientation">
|
||
|
<enum>Qt::Horizontal</enum>
|
||
|
</property>
|
||
|
<property name="sizeHint" stdset="0">
|
||
|
<size>
|
||
|
<width>40</width>
|
||
|
<height>20</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
</spacer>
|
||
|
</item>
|
||
|
<item>
|
||
|
<spacer name="horizontalSpacer_4">
|
||
|
<property name="orientation">
|
||
|
<enum>Qt::Horizontal</enum>
|
||
|
</property>
|
||
|
<property name="sizeHint" stdset="0">
|
||
|
<size>
|
||
|
<width>40</width>
|
||
|
<height>20</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
</spacer>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QPushButton" name="startGameBtn">
|
||
|
<property name="styleSheet">
|
||
|
<string notr="true">font: 18pt "黑体";
|
||
|
color: rgb(255, 0, 0);</string>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>开始游戏</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QPushButton" name="clearBtn">
|
||
|
<property name="styleSheet">
|
||
|
<string notr="true">font: 18pt "黑体";
|
||
|
color: rgb(255, 0, 0);</string>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>清零</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<spacer name="horizontalSpacer_6">
|
||
|
<property name="orientation">
|
||
|
<enum>Qt::Horizontal</enum>
|
||
|
</property>
|
||
|
<property name="sizeHint" stdset="0">
|
||
|
<size>
|
||
|
<width>40</width>
|
||
|
<height>20</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
</spacer>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
<resources>
|
||
|
<include location="res.qrc"/>
|
||
|
</resources>
|
||
|
<connections/>
|
||
|
</ui>
|