代码拉取完成,页面将自动刷新
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>add_sub</class>
<widget class="QMainWindow" name="add_sub">
<property name="windowModality">
<enum>Qt::WindowModal</enum>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>1474</width>
<height>967</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="windowTitle">
<string>add_sub</string>
</property>
<property name="styleSheet">
<string notr="true">QWidget#ADDwidget{border-image: url(:/res/bk5.jpg);}
QStatusBar, QToolBar{
background-color: rgb(255, 255, 255);
}
QGroupBox{
color: rgb(0, 255, 0);
font: 14pt "微软雅黑";
}
QPlainTextEdit{
}
QLineEdit{
font: 20pt "微软雅黑";
}
QLabel{
color: rgb(255, 255, 127);
font: 20pt "微软雅黑";
}
QLabel#lashu1,#lashu2,#lafuhao{
color: rgb(255, 255, 127);
font: 40pt "微软雅黑";
}
QPushButton{
font: 9pt "微软雅黑";
color: rgb(0, 0, 127);
}
QLineEdit#leshushian{
color: rgb(0, 0, 0);
font: 40pt "微软雅黑";
}</string>
</property>
<widget class="QWidget" name="ADDwidget">
<layout class="QVBoxLayout" name="verticalLayout">
<property name="spacing">
<number>60</number>
</property>
<item>
<widget class="QLabel" name="label">
<property name="font">
<font>
<family>隶书</family>
<pointsize>30</pointsize>
<weight>50</weight>
<italic>false</italic>
<bold>false</bold>
</font>
</property>
<property name="styleSheet">
<string notr="true">color: rgb(255, 255, 127);
font: 30pt "隶书";
</string>
</property>
<property name="text">
<string>欢迎:小鱼鱼,下面请开始加减法吧</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox_2">
<property name="maximumSize">
<size>
<width>16777215</width>
<height>230</height>
</size>
</property>
<property name="title">
<string/>
</property>
<layout class="QHBoxLayout" name="horizontalLayout" stretch="0,0,1">
<property name="spacing">
<number>20</number>
</property>
<item>
<widget class="QGroupBox" name="groupBox">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>140</height>
</size>
</property>
<property name="title">
<string>解题区</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
<layout class="QGridLayout" name="gridLayout" rowstretch="1,0,0" columnstretch="0,0">
<item row="2" column="1">
<widget class="QPushButton" name="pbPass">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>放弃(G)</string>
</property>
<property name="shortcut">
<string>G</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QPushButton" name="pbDone">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>完成(F)</string>
</property>
<property name="shortcut">
<string>F</string>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="Lbtimu">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>TextLabel</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="linanswer"/>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox_3">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="styleSheet">
<string notr="true">border:none</string>
</property>
<property name="title">
<string/>
</property>
<property name="alignment">
<set>Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft</set>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_3">
<property name="spacing">
<number>12</number>
</property>
<item>
<widget class="QLabel" name="labresult">
<property name="text">
<string/>
</property>
<property name="pixmap">
<pixmap resource="ico.qrc">:/res/right.png</pixmap>
</property>
<property name="scaledContents">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="labresult_wr">
<property name="text">
<string/>
</property>
<property name="pixmap">
<pixmap resource="ico.qrc">:/res/wrong.png</pixmap>
</property>
<property name="scaledContents">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox_4">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="title">
<string>统计</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<property name="horizontalSpacing">
<number>20</number>
</property>
<item row="0" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>答对:</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLabel" name="labright">
<property name="text">
<string>TextLabel</string>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QLabel" name="label_4">
<property name="text">
<string>总计:</string>
</property>
</widget>
</item>
<item row="0" column="3">
<widget class="QLabel" name="labtotal">
<property name="text">
<string>TextLabel</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>答错:</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLabel" name="labwrong">
<property name="text">
<string>TextLabel</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox_6">
<property name="title">
<string/>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_2" stretch="0,1">
<property name="spacing">
<number>80</number>
</property>
<property name="sizeConstraint">
<enum>QLayout::SetDefaultConstraint</enum>
</property>
<item>
<widget class="QGroupBox" name="gbshushi">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize">
<size>
<width>500</width>
<height>16777215</height>
</size>
</property>
<property name="title">
<string>竖式区</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
<layout class="QGridLayout" name="gridLayout_3">
<property name="sizeConstraint">
<enum>QLayout::SetFixedSize</enum>
</property>
<item row="3" column="1" colspan="2">
<widget class="QLabel" name="lashu2">
<property name="font">
<font>
<family>微软雅黑</family>
<pointsize>40</pointsize>
<weight>50</weight>
<italic>false</italic>
<bold>false</bold>
</font>
</property>
<property name="layoutDirection">
<enum>Qt::LeftToRight</enum>
</property>
<property name="text">
<string>123</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="4" column="0" colspan="3">
<widget class="Line" name="line">
<property name="lineWidth">
<number>3</number>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item row="5" column="0" colspan="2">
<widget class="QPushButton" name="PBShushi">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>完成(A)</string>
</property>
<property name="shortcut">
<string>A</string>
</property>
</widget>
</item>
<item row="5" column="2">
<widget class="QLineEdit" name="leshushian">
<property name="text">
<string>246</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="0" column="1" rowspan="2" colspan="2">
<widget class="QLabel" name="lashu1">
<property name="font">
<font>
<family>微软雅黑</family>
<pointsize>40</pointsize>
<weight>50</weight>
<italic>false</italic>
<bold>false</bold>
</font>
</property>
<property name="layoutDirection">
<enum>Qt::LeftToRight</enum>
</property>
<property name="text">
<string>123</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QLabel" name="lafuhao">
<property name="text">
<string>+</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox_5">
<property name="title">
<string>历史</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_5">
<property name="spacing">
<number>12</number>
</property>
<item>
<widget class="QTableView" name="tableViewhistory"/>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<widget class="QStatusBar" name="statusbar"/>
<widget class="QToolBar" name="toolBar">
<property name="windowTitle">
<string>toolBar</string>
</property>
<property name="toolButtonStyle">
<enum>Qt::ToolButtonTextUnderIcon</enum>
</property>
<attribute name="toolBarArea">
<enum>TopToolBarArea</enum>
</attribute>
<attribute name="toolBarBreak">
<bool>false</bool>
</attribute>
<addaction name="act_seting"/>
<addaction name="actshushi"/>
<addaction name="actmultab"/>
<addaction name="act_sound"/>
<addaction name="acti_nextsong"/>
<addaction name="act_quit"/>
</widget>
<action name="act_quit">
<property name="icon">
<iconset resource="ico.qrc">
<normaloff>:/res/退出.png</normaloff>:/res/退出.png</iconset>
</property>
<property name="text">
<string>退出</string>
</property>
<property name="shortcut">
<string>Ctrl+Q</string>
</property>
</action>
<action name="act_seting">
<property name="icon">
<iconset resource="ico.qrc">
<normaloff>:/res/目录.png</normaloff>:/res/目录.png</iconset>
</property>
<property name="text">
<string>计算设置</string>
</property>
<property name="shortcut">
<string>Ctrl+S</string>
</property>
</action>
<action name="act_sound">
<property name="icon">
<iconset resource="ico.qrc">
<normaloff>:/res/soundstart.png</normaloff>:/res/soundstart.png</iconset>
</property>
<property name="text">
<string>音效</string>
</property>
<property name="shortcut">
<string>Ctrl+M</string>
</property>
</action>
<action name="acti_nextsong">
<property name="icon">
<iconset resource="ico.qrc">
<normaloff>:/res/下一首.png</normaloff>:/res/下一首.png</iconset>
</property>
<property name="text">
<string>下一首</string>
</property>
<property name="shortcut">
<string>Ctrl+N</string>
</property>
</action>
<action name="actmultab">
<property name="icon">
<iconset resource="ico.qrc">
<normaloff>:/res/计算器 加 减 乘 除 线性.png</normaloff>:/res/计算器 加 减 乘 除 线性.png</iconset>
</property>
<property name="text">
<string>乘法表</string>
</property>
</action>
<action name="actshushi">
<property name="icon">
<iconset resource="ico.qrc">
<normaloff>:/res/计算器 加 减 乘 除 线性.png</normaloff>:/res/计算器 加 减 乘 除 线性.png</iconset>
</property>
<property name="text">
<string>竖式</string>
</property>
</action>
</widget>
<resources>
<include location="ico.qrc"/>
</resources>
<connections>
<connection>
<sender>act_quit</sender>
<signal>triggered()</signal>
<receiver>add_sub</receiver>
<slot>close()</slot>
<hints>
<hint type="sourcelabel">
<x>-1</x>
<y>-1</y>
</hint>
<hint type="destinationlabel">
<x>768</x>
<y>479</y>
</hint>
</hints>
</connection>
</connections>
</ui>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。