1 Star 0 Fork 0

吴斌/CNC_Editor

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
widget.ui 18.33 KB
一键复制 编辑 原始数据 按行查看 历史
吴斌 提交于 2023-06-12 18:47 . 添加 格式化文本创建
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>Widget</class>
<widget class="QWidget" name="Widget">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>732</width>
<height>492</height>
</rect>
</property>
<property name="windowTitle">
<string>Widget</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<property name="spacing">
<number>0</number>
</property>
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="QTabWidget" name="tabWidget">
<property name="currentIndex">
<number>0</number>
</property>
<widget class="QWidget" name="tab_7">
<attribute name="title">
<string>一键翻译</string>
</attribute>
<layout class="QGridLayout" name="gridLayout_8">
<item row="0" column="0">
<widget class="QPushButton" name="tsBtn_2">
<property name="text">
<string>TS文件</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="tsLE_2"/>
</item>
<item row="1" column="1">
<widget class="QLineEdit" name="excelLE_2"/>
</item>
<item row="2" column="0">
<widget class="QPushButton" name="exportTranslate">
<property name="text">
<string>生成</string>
</property>
</widget>
</item>
<item row="3" column="0" colspan="2">
<widget class="QTextEdit" name="translateMessage_TE"/>
</item>
<item row="1" column="0">
<widget class="QPushButton" name="excelPtn_2">
<property name="text">
<string>Excel文件</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QProgressBar" name="translateProgressBar">
<property name="value">
<number>24</number>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="tab">
<attribute name="title">
<string>用户权限</string>
</attribute>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0" colspan="2">
<widget class="QPushButton" name="dbFilePtn">
<property name="text">
<string>HmiRecord.db</string>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QPushButton" name="writePtn">
<property name="text">
<string>写入</string>
</property>
</widget>
</item>
<item row="0" column="3">
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>426</width>
<height>17</height>
</size>
</property>
</spacer>
</item>
<item row="2" column="0" colspan="4">
<widget class="QTableWidget" name="dbTableWidget"/>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label">
<property name="maximumSize">
<size>
<width>40</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>信息:</string>
</property>
</widget>
</item>
<item row="3" column="1" colspan="3">
<widget class="QLineEdit" name="message_le"/>
</item>
<item row="1" column="0" colspan="4">
<widget class="QLineEdit" name="dbFileDir_le"/>
</item>
</layout>
</widget>
<widget class="QWidget" name="tab_2">
<attribute name="title">
<string> qm翻译</string>
</attribute>
<layout class="QGridLayout" name="gridLayout_2" rowstretch="1,1,1,1,1,1,10,0">
<item row="1" column="0">
<widget class="QPushButton" name="excelPtn">
<property name="text">
<string>Excel文件</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLineEdit" name="excelLE"/>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="tsLE"/>
</item>
<item row="4" column="0">
<widget class="QPushButton" name="updateExcelPtn">
<property name="text">
<string>更新Excel</string>
</property>
</widget>
</item>
<item row="6" column="0">
<widget class="QPushButton" name="exportQmPtn">
<property name="text">
<string>生成qm</string>
</property>
</widget>
</item>
<item row="6" column="1">
<widget class="QLineEdit" name="qmLE"/>
</item>
<item row="3" column="0">
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>25</height>
</size>
</property>
</spacer>
</item>
<item row="2" column="0" colspan="2">
<widget class="QCheckBox" name="hideUnusedTranslate">
<property name="text">
<string>隐藏Excel中未使用的词条</string>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QPushButton" name="tsBtn">
<property name="text">
<string>TS文件</string>
</property>
</widget>
</item>
<item row="7" column="0" colspan="2">
<widget class="QTextEdit" name="messageTE"/>
</item>
<item row="5" column="0">
<widget class="QPushButton" name="webTranslatePtn">
<property name="text">
<string>网络翻译</string>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="tab_4">
<attribute name="title">
<string>csv翻译</string>
</attribute>
<layout class="QGridLayout" name="gridLayout_6">
<item row="0" column="0">
<widget class="QPushButton" name="excelToCsv_PB">
<property name="text">
<string>Excel 转 CSV</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="excelToCsv_le"/>
</item>
<item row="1" column="0" colspan="2">
<widget class="QTextEdit" name="excelToCsvMessage_TE"/>
</item>
</layout>
</widget>
<widget class="QWidget" name="tab_3">
<attribute name="title">
<string>对比更新</string>
</attribute>
<layout class="QGridLayout" name="gridLayout_5" rowstretch="10,1,10" columnstretch="1,1">
<item row="0" column="0">
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string>对比 EXCEL1</string>
</property>
<layout class="QGridLayout" name="gridLayout_3" columnstretch="2,1,3">
<item row="0" column="1" colspan="2">
<widget class="QLineEdit" name="compareExcelRead_LE"/>
</item>
<item row="0" column="0">
<widget class="QPushButton" name="compareExcelRead_PB">
<property name="text">
<string>读取 EXCEL</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>第一对比列</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QLabel" name="label_6">
<property name="text">
<string> 读取列</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>第二对比列</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QLineEdit" name="compareColSecond_R"/>
</item>
<item row="2" column="1">
<widget class="QLineEdit" name="compareColFirst_R"/>
</item>
<item row="4" column="1">
<widget class="QLineEdit" name="compareColRead_R"/>
</item>
<item row="2" column="2">
<widget class="QLabel" name="compareColFirst_R_lb">
<property name="text">
<string/>
</property>
</widget>
</item>
<item row="4" column="2">
<widget class="QLabel" name="compareColRead_R_lb">
<property name="text">
<string/>
</property>
</widget>
</item>
<item row="3" column="2">
<widget class="QLabel" name="compareColSecond_R_lb">
<property name="text">
<string/>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_10">
<property name="text">
<string>表单</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="1" column="1" colspan="2">
<widget class="QLineEdit" name="compareSheet_R"/>
</item>
</layout>
</widget>
</item>
<item row="0" column="1">
<widget class="QGroupBox" name="groupBox_2">
<property name="title">
<string>对比 EXCEL2</string>
</property>
<layout class="QGridLayout" name="gridLayout_4" columnstretch="2,1,3">
<item row="2" column="0">
<widget class="QLabel" name="label_4">
<property name="text">
<string>第一对比列</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QPushButton" name="compareExcelWrite_PB">
<property name="text">
<string>写入 EXCEL</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QLineEdit" name="compareColFirst_W"/>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_5">
<property name="text">
<string>第二对比列</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="0" column="1" colspan="2">
<widget class="QLineEdit" name="compareExcelWrite_LE"/>
</item>
<item row="3" column="2">
<widget class="QLabel" name="compareColSecond_W_lb">
<property name="text">
<string/>
</property>
</widget>
</item>
<item row="2" column="2">
<widget class="QLabel" name="compareColFirst_W_lb">
<property name="text">
<string/>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QLineEdit" name="compareColSecond_W"/>
</item>
<item row="4" column="1">
<widget class="QLineEdit" name="compareColWrite_W"/>
</item>
<item row="4" column="0">
<widget class="QLabel" name="label_7">
<property name="text">
<string> 写入列</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="4" column="2">
<widget class="QLabel" name="compareColWrite_W_lb">
<property name="text">
<string/>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_11">
<property name="text">
<string>表单</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="1" column="1" colspan="2">
<widget class="QLineEdit" name="compareSheet_W"/>
</item>
</layout>
</widget>
</item>
<item row="1" column="0">
<widget class="QPushButton" name="compareAndWrite_PB">
<property name="text">
<string>对比并写入</string>
</property>
</widget>
</item>
<item row="2" column="0" colspan="2">
<widget class="QTextEdit" name="compareMessage_TE"/>
</item>
</layout>
</widget>
<widget class="QWidget" name="tab_8">
<attribute name="title">
<string>文本新增</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<widget class="QGroupBox" name="groupBox_3">
<property name="title">
<string>文本批量插入</string>
</property>
<layout class="QGridLayout" name="gridLayout_9">
<item row="0" column="0" colspan="2">
<widget class="QLabel" name="label_12">
<property name="text">
<string>插入位置(之后插入)</string>
</property>
</widget>
</item>
<item row="1" column="0" colspan="2">
<widget class="QLineEdit" name="txtInsertPos_LE"/>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_13">
<property name="text">
<string>插入内容</string>
</property>
</widget>
</item>
<item row="3" column="0" colspan="2">
<widget class="QTextEdit" name="txtInsertContent_TE"/>
</item>
<item row="4" column="0" colspan="2">
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QPushButton" name="txtFileDirBtn">
<property name="text">
<string>原文件路径</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="txtFileDir_LE"/>
</item>
</layout>
</item>
<item row="5" column="0">
<widget class="QPushButton" name="startInsertTxt">
<property name="text">
<string>开始</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QTextEdit" name="txtInsertMsg_TE"/>
</item>
</layout>
</widget>
<widget class="QWidget" name="tab_5">
<attribute name="title">
<string>升级包制作</string>
</attribute>
<layout class="QGridLayout" name="gridLayout_7">
<item row="1" column="0">
<widget class="QPushButton" name="createUpdatMD5_Btn">
<property name="text">
<string>校验文件</string>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label_8">
<property name="text">
<string>主版本号</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="3" column="0" colspan="3">
<widget class="QTextEdit" name="updateMessageTE"/>
</item>
<item row="0" column="1" colspan="2">
<widget class="QLineEdit" name="MainVersionLE"/>
</item>
<item row="1" column="1">
<widget class="QPushButton" name="createUpdatePack_Btn">
<property name="text">
<string>一件升级包</string>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QPushButton" name="robotUpdatePack_Btn">
<property name="text">
<string>多机型升级包</string>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="tab_6">
<attribute name="title">
<string>设置</string>
</attribute>
<widget class="QComboBox" name="lang_comboBox">
<property name="geometry">
<rect>
<x>100</x>
<y>40</y>
<width>89</width>
<height>23</height>
</rect>
</property>
<item>
<property name="text">
<string>中文</string>
</property>
</item>
<item>
<property name="text">
<string>English</string>
</property>
</item>
</widget>
<widget class="QLabel" name="label_9">
<property name="geometry">
<rect>
<x>30</x>
<y>40</y>
<width>72</width>
<height>15</height>
</rect>
</property>
<property name="text">
<string>语言</string>
</property>
</widget>
<widget class="QPushButton" name="createFormatText">
<property name="geometry">
<rect>
<x>30</x>
<y>140</y>
<width>161</width>
<height>24</height>
</rect>
</property>
<property name="text">
<string> 格式化文本创建</string>
</property>
</widget>
</widget>
</widget>
</item>
</layout>
</widget>
<layoutdefault spacing="6" margin="11"/>
<resources/>
<connections/>
</ui>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/WuBinCPP/CNC_Editor.git
git@gitee.com:WuBinCPP/CNC_Editor.git
WuBinCPP
CNC_Editor
CNC_Editor
master

搜索帮助