1 Star 0 Fork 1

繁华落尽/jxwx

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
frm_main.ui 15.75 KB
一键复制 编辑 原始数据 按行查看 历史
繁华落尽 提交于 2020-09-03 17:17 . 更改了主界面的布局
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>MainWindow</class>
<widget class="QMainWindow" name="MainWindow">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>940</width>
<height>586</height>
</rect>
</property>
<property name="windowTitle">
<string>MainWindow</string>
</property>
<widget class="QWidget" name="centralwidget">
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QTabWidget" name="tab_input">
<property name="contextMenuPolicy">
<enum>Qt::DefaultContextMenu</enum>
</property>
<property name="tabShape">
<enum>QTabWidget::Triangular</enum>
</property>
<property name="currentIndex">
<number>0</number>
</property>
<widget class="QWidget" name="tab">
<attribute name="title">
<string>维修单录入</string>
</attribute>
<widget class="QLabel" name="lbl_danhao">
<property name="geometry">
<rect>
<x>20</x>
<y>20</y>
<width>251</width>
<height>21</height>
</rect>
</property>
<property name="font">
<font>
<family>AcadEref</family>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">
<string/>
</property>
</widget>
<widget class="QWidget" name="gridLayoutWidget">
<property name="geometry">
<rect>
<x>10</x>
<y>60</y>
<width>861</width>
<height>321</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<property name="sizeConstraint">
<enum>QLayout::SetDefaultConstraint</enum>
</property>
<property name="verticalSpacing">
<number>6</number>
</property>
<item row="0" column="1">
<widget class="QGroupBox" name="groupBox_3">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>1</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="font">
<font>
<family>AcadEref</family>
<pointsize>12</pointsize>
</font>
</property>
<property name="title">
<string>机型</string>
</property>
<widget class="QListView" name="list_phone">
<property name="geometry">
<rect>
<x>20</x>
<y>30</y>
<width>110</width>
<height>220</height>
</rect>
</property>
<property name="font">
<font>
<family>宋体</family>
<pointsize>9</pointsize>
</font>
</property>
</widget>
</widget>
</item>
<item row="0" column="0">
<widget class="QGroupBox" name="groupBox">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>1</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="font">
<font>
<family>AcadEref</family>
<pointsize>12</pointsize>
</font>
</property>
<property name="title">
<string>品牌</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
<property name="flat">
<bool>false</bool>
</property>
<widget class="QListView" name="list_br">
<property name="geometry">
<rect>
<x>20</x>
<y>30</y>
<width>110</width>
<height>220</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="font">
<font>
<family>宋体</family>
<pointsize>9</pointsize>
</font>
</property>
<property name="contextMenuPolicy">
<enum>Qt::DefaultContextMenu</enum>
</property>
</widget>
</widget>
</item>
<item row="1" column="0" colspan="2">
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_8">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_6">
<item>
<widget class="QLabel" name="label_5">
<property name="font">
<font>
<family>宋体</family>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">
<string>顾客姓名</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="txt_gkName"/>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_7">
<item>
<widget class="QRadioButton" name="rd_gkSex1">
<property name="font">
<font>
<family>宋体</family>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">
<string>先生</string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="rd_gkSex0">
<property name="font">
<font>
<family>宋体</family>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">
<string>女士</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_9">
<item>
<widget class="QLabel" name="label_6">
<property name="font">
<font>
<family>宋体</family>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">
<string>顾客电话</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="txt_gkphone"/>
</item>
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Preferred</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>120</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
</layout>
</item>
<item row="0" column="2">
<widget class="QGroupBox" name="groupBox_4">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>1</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="font">
<font>
<family>AcadEref</family>
<pointsize>12</pointsize>
</font>
</property>
<property name="statusTip">
<string/>
</property>
<property name="title">
<string>故障选择</string>
</property>
<property name="checkable">
<bool>false</bool>
</property>
<widget class="QListWidget" name="list_guzhang">
<property name="geometry">
<rect>
<x>20</x>
<y>30</y>
<width>110</width>
<height>195</height>
</rect>
</property>
<property name="font">
<font>
<family>宋体</family>
<pointsize>9</pointsize>
</font>
</property>
</widget>
<widget class="QPushButton" name="btnAdd">
<property name="geometry">
<rect>
<x>20</x>
<y>230</y>
<width>110</width>
<height>23</height>
</rect>
</property>
<property name="font">
<font>
<family>宋体</family>
<pointsize>9</pointsize>
</font>
</property>
<property name="text">
<string>生成</string>
</property>
</widget>
</widget>
</item>
<item row="0" column="3">
<layout class="QVBoxLayout" name="verticalLayout">
<property name="spacing">
<number>6</number>
</property>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_5">
<item>
<widget class="QLabel" name="label_7">
<property name="font">
<font>
<family>AcadEref</family>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">
<string> IEMI</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="txt_iemi"/>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_4">
<item>
<widget class="QLabel" name="label_4">
<property name="font">
<font>
<family>AcadEref</family>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">
<string>故障现象</string>
</property>
</widget>
</item>
<item>
<widget class="QTextEdit" name="txtGz"/>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
<widget class="QLabel" name="label">
<property name="font">
<font>
<family>AcadEref</family>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">
<string>维修项目</string>
</property>
</widget>
</item>
<item>
<widget class="QTextEdit" name="textEdit"/>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QLabel" name="label_2">
<property name="font">
<font>
<family>AcadEref</family>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">
<string> 收费</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="txt_cost"/>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QLabel" name="label_3">
<property name="font">
<font>
<family>AcadEref</family>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">
<string> 日期</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="txt_date"/>
</item>
<item>
<widget class="QPushButton" name="btnDate">
<property name="font">
<font>
<family>AcadEref</family>
</font>
</property>
<property name="text">
<string>E</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</item>
<item row="1" column="2">
<layout class="QVBoxLayout" name="verticalLayout_3">
<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="btn_print">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>保存并打印</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
<widget class="QCalendarWidget" name="Cal">
<property name="enabled">
<bool>true</bool>
</property>
<property name="geometry">
<rect>
<x>540</x>
<y>270</y>
<width>330</width>
<height>183</height>
</rect>
</property>
</widget>
</widget>
<widget class="QWidget" name="tab_2">
<attribute name="title">
<string>维修单查询</string>
</attribute>
</widget>
</widget>
</item>
</layout>
</widget>
<widget class="QMenuBar" name="menubar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>940</width>
<height>22</height>
</rect>
</property>
<widget class="QMenu" name="menu">
<property name="title">
<string>基本信息</string>
</property>
<addaction name="me_br"/>
<addaction name="me_ph"/>
<addaction name="me_hit"/>
</widget>
<addaction name="menu"/>
</widget>
<widget class="QStatusBar" name="statusbar"/>
<action name="me_br">
<property name="text">
<string>品牌维护</string>
</property>
</action>
<action name="me_ph">
<property name="text">
<string>机型维护</string>
</property>
</action>
<action name="me_hit">
<property name="text">
<string>故障现象维护</string>
</property>
</action>
</widget>
<resources/>
<connections/>
</ui>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/keyin/jxwx.git
git@gitee.com:keyin/jxwx.git
keyin
jxwx
jxwx
client

搜索帮助