1 Star 0 Fork 1

zpl-hill/yumathV3

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
add_muti.ui 16.51 KB
一键复制 编辑 原始数据 按行查看 历史
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557
<?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 &quot;微软雅黑&quot;;
}
QPlainTextEdit{
}
QLineEdit{
font: 20pt &quot;微软雅黑&quot;;
}
QLabel{
color: rgb(255, 255, 127);
font: 20pt &quot;微软雅黑&quot;;
}
QLabel#lashu1,#lashu2,#lafuhao{
color: rgb(255, 255, 127);
font: 40pt &quot;微软雅黑&quot;;
}
QPushButton{
font: 9pt &quot;微软雅黑&quot;;
color: rgb(0, 0, 127);
}
QLineEdit#leshushian{
color: rgb(0, 0, 0);
font: 40pt &quot;微软雅黑&quot;;
}</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 &quot;隶书&quot;;
</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>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/cij/yumath-v3.git
[email protected]:cij/yumath-v3.git
cij
yumath-v3
yumathV3
master

搜索帮助