1 Star 8 Fork 1

青尘/QC-Formula

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Init_Window_v104.ui 16.83 KB
一键复制 编辑 原始数据 按行查看 历史
青尘 提交于 2021-12-23 15:44 +08:00 . Upload Version 1.0.4
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710
<?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>650</width>
<height>460</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>650</width>
<height>460</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>650</width>
<height>460</height>
</size>
</property>
<property name="windowTitle">
<string>QingChen Formula - 青尘公式 OCR</string>
</property>
<property name="windowOpacity">
<double>1.250000000000000</double>
</property>
<property name="documentMode">
<bool>false</bool>
</property>
<widget class="QWidget" name="centralwidget">
<widget class="QTabWidget" name="TopTabWidget">
<property name="geometry">
<rect>
<x>25</x>
<y>15</y>
<width>600</width>
<height>200</height>
</rect>
</property>
<property name="currentIndex">
<number>2</number>
</property>
<property name="tabBarAutoHide">
<bool>false</bool>
</property>
<widget class="QWidget" name="tab_2">
<attribute name="title">
<string>从文件导入</string>
</attribute>
<widget class="QPushButton" name="DOCPage_LoadButton">
<property name="geometry">
<rect>
<x>470</x>
<y>25</y>
<width>100</width>
<height>32</height>
</rect>
</property>
<property name="text">
<string>选择图片...</string>
</property>
</widget>
<widget class="QPushButton" name="DOCPage_InfoButton">
<property name="geometry">
<rect>
<x>470</x>
<y>55</y>
<width>100</width>
<height>32</height>
</rect>
</property>
<property name="text">
<string>图片信息</string>
</property>
</widget>
<widget class="QPushButton" name="DOCPage_ConfirmButton">
<property name="geometry">
<rect>
<x>470</x>
<y>125</y>
<width>100</width>
<height>32</height>
</rect>
</property>
<property name="text">
<string>识别公式</string>
</property>
</widget>
<widget class="QLabel" name="DOCPage_ImageLabel">
<property name="geometry">
<rect>
<x>45</x>
<y>39</y>
<width>380</width>
<height>100</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>13</pointsize>
</font>
</property>
<property name="frameShape">
<enum>QFrame::Box</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Plain</enum>
</property>
<property name="lineWidth">
<number>1</number>
</property>
<property name="midLineWidth">
<number>1</number>
</property>
<property name="text">
<string>公式预览</string>
</property>
<property name="scaledContents">
<bool>false</bool>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</widget>
<widget class="QWidget" name="tab">
<attribute name="title">
<string>从 URL 导入</string>
</attribute>
<widget class="QLabel" name="URLPage_label_1">
<property name="geometry">
<rect>
<x>10</x>
<y>5</y>
<width>101</width>
<height>31</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>13</pointsize>
</font>
</property>
<property name="text">
<string>图片网址:</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
</widget>
<widget class="QPushButton" name="URLPage_ConfirmButton">
<property name="enabled">
<bool>false</bool>
</property>
<property name="geometry">
<rect>
<x>470</x>
<y>125</y>
<width>100</width>
<height>32</height>
</rect>
</property>
<property name="text">
<string>识别公式</string>
</property>
</widget>
<widget class="QLineEdit" name="URL_Filler">
<property name="geometry">
<rect>
<x>100</x>
<y>10</y>
<width>341</width>
<height>21</height>
</rect>
</property>
<property name="acceptDrops">
<bool>false</bool>
</property>
<property name="frame">
<bool>true</bool>
</property>
<property name="readOnly">
<bool>false</bool>
</property>
<property name="clearButtonEnabled">
<bool>true</bool>
</property>
</widget>
<widget class="QPushButton" name="URLPage_LoadButton">
<property name="enabled">
<bool>false</bool>
</property>
<property name="geometry">
<rect>
<x>470</x>
<y>5</y>
<width>100</width>
<height>32</height>
</rect>
</property>
<property name="text">
<string>载入图片</string>
</property>
</widget>
<widget class="QLabel" name="DOCPage_ImageLabel_2">
<property name="geometry">
<rect>
<x>45</x>
<y>50</y>
<width>380</width>
<height>100</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>13</pointsize>
</font>
</property>
<property name="frameShape">
<enum>QFrame::Box</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Plain</enum>
</property>
<property name="lineWidth">
<number>1</number>
</property>
<property name="midLineWidth">
<number>1</number>
</property>
<property name="text">
<string>URL 导入功能开发中...
可访问青尘工作室官网:
https://qingchen1995.gitee.io 了解开发进度</string>
</property>
<property name="scaledContents">
<bool>false</bool>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</widget>
<widget class="QWidget" name="tab_3">
<attribute name="title">
<string>公式识别设置</string>
</attribute>
<widget class="QLabel" name="Setting_Label_1">
<property name="geometry">
<rect>
<x>25</x>
<y>10</y>
<width>241</width>
<height>25</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>14</pointsize>
</font>
</property>
<property name="text">
<string>公式识别 API 设置</string>
</property>
</widget>
<widget class="QLabel" name="Setting_Label_2">
<property name="geometry">
<rect>
<x>25</x>
<y>35</y>
<width>101</width>
<height>31</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>13</pointsize>
</font>
</property>
<property name="text">
<string>APPID:</string>
</property>
</widget>
<widget class="QLabel" name="Setting_Label_3">
<property name="geometry">
<rect>
<x>25</x>
<y>65</y>
<width>101</width>
<height>31</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>13</pointsize>
</font>
</property>
<property name="text">
<string>APISecret:</string>
</property>
</widget>
<widget class="QLabel" name="Setting_Label_4">
<property name="geometry">
<rect>
<x>25</x>
<y>95</y>
<width>101</width>
<height>31</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>13</pointsize>
</font>
</property>
<property name="text">
<string>APIKey:</string>
</property>
</widget>
<widget class="QLineEdit" name="Input_APPID">
<property name="geometry">
<rect>
<x>130</x>
<y>40</y>
<width>301</width>
<height>21</height>
</rect>
</property>
</widget>
<widget class="QLineEdit" name="Input_APISecret">
<property name="geometry">
<rect>
<x>130</x>
<y>70</y>
<width>301</width>
<height>21</height>
</rect>
</property>
</widget>
<widget class="QLineEdit" name="Input_APIKey">
<property name="geometry">
<rect>
<x>130</x>
<y>100</y>
<width>301</width>
<height>21</height>
</rect>
</property>
</widget>
<widget class="QPushButton" name="Setting_ConfirmButton">
<property name="geometry">
<rect>
<x>470</x>
<y>125</y>
<width>100</width>
<height>32</height>
</rect>
</property>
<property name="text">
<string>确定</string>
</property>
</widget>
<widget class="QPushButton" name="Setting_HelpButton">
<property name="geometry">
<rect>
<x>470</x>
<y>95</y>
<width>100</width>
<height>32</height>
</rect>
</property>
<property name="text">
<string>获取 API</string>
</property>
</widget>
<widget class="QPushButton" name="Setting_WebsiteButton">
<property name="geometry">
<rect>
<x>470</x>
<y>25</y>
<width>100</width>
<height>32</height>
</rect>
</property>
<property name="text">
<string>访问官网</string>
</property>
</widget>
</widget>
</widget>
<widget class="QPlainTextEdit" name="plainTextEdit">
<property name="geometry">
<rect>
<x>25</x>
<y>260</y>
<width>600</width>
<height>155</height>
</rect>
</property>
<property name="font">
<font>
<family>Arial</family>
</font>
</property>
<property name="plainText">
<string/>
</property>
</widget>
<widget class="QLabel" name="Setting_Label_5">
<property name="geometry">
<rect>
<x>30</x>
<y>227</y>
<width>281</width>
<height>25</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>13</pointsize>
</font>
</property>
<property name="text">
<string>公式识别结果 (LaTeX 格式):</string>
</property>
</widget>
<widget class="QPushButton" name="Setting_CopyButton">
<property name="geometry">
<rect>
<x>500</x>
<y>225</y>
<width>100</width>
<height>32</height>
</rect>
</property>
<property name="text">
<string>复制文本</string>
</property>
</widget>
<widget class="QLabel" name="Copy_Status_Label">
<property name="geometry">
<rect>
<x>340</x>
<y>227</y>
<width>141</width>
<height>25</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>13</pointsize>
</font>
</property>
<property name="text">
<string>复制完成!</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</widget>
<widget class="QMenuBar" name="menubar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>650</width>
<height>22</height>
</rect>
</property>
<widget class="QMenu" name="menu">
<property name="title">
<string>帮助菜单</string>
</property>
<addaction name="action_GiteeTutorial"/>
<addaction name="action_GithubTutorial"/>
<addaction name="separator"/>
<addaction name="action_About"/>
</widget>
<addaction name="menu"/>
</widget>
<action name="actionAPI">
<property name="text">
<string>API</string>
</property>
</action>
<action name="action_GiteeTutorial">
<property name="text">
<string>从码云查看教程</string>
</property>
<property name="toolTip">
<string>从码云查看教程</string>
</property>
</action>
<action name="action_GithubTutorial">
<property name="text">
<string>从 Github 查看教程</string>
</property>
</action>
<action name="action_About">
<property name="text">
<string>关于...</string>
</property>
</action>
</widget>
<resources/>
<connections>
<connection>
<sender>DOCPage_LoadButton</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>img_Load_From_Doc()</slot>
<hints>
<hint type="sourcelabel">
<x>547</x>
<y>103</y>
</hint>
<hint type="destinationlabel">
<x>324</x>
<y>224</y>
</hint>
</hints>
</connection>
<connection>
<sender>DOCPage_LoadButton</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>img_Display_In_Doc_Label()</slot>
<hints>
<hint type="sourcelabel">
<x>547</x>
<y>103</y>
</hint>
<hint type="destinationlabel">
<x>324</x>
<y>224</y>
</hint>
</hints>
</connection>
<connection>
<sender>Setting_ConfirmButton</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>Setting_API_Values()</slot>
<hints>
<hint type="sourcelabel">
<x>539</x>
<y>202</y>
</hint>
<hint type="destinationlabel">
<x>635</x>
<y>251</y>
</hint>
</hints>
</connection>
<connection>
<sender>DOCPage_InfoButton</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>Get_img_Info()</slot>
<hints>
<hint type="sourcelabel">
<x>582</x>
<y>132</y>
</hint>
<hint type="destinationlabel">
<x>639</x>
<y>317</y>
</hint>
</hints>
</connection>
<connection>
<sender>Setting_CopyButton</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>Copy_Formula_Result()</slot>
<hints>
<hint type="sourcelabel">
<x>552</x>
<y>259</y>
</hint>
<hint type="destinationlabel">
<x>637</x>
<y>391</y>
</hint>
</hints>
</connection>
<connection>
<sender>DOCPage_ConfirmButton</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>Formula_OCR_Execute_iFLY()</slot>
<hints>
<hint type="sourcelabel">
<x>579</x>
<y>200</y>
</hint>
<hint type="destinationlabel">
<x>360</x>
<y>250</y>
</hint>
</hints>
</connection>
<connection>
<sender>Setting_HelpButton</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>Get_API_Tutorial()</slot>
<hints>
<hint type="sourcelabel">
<x>571</x>
<y>173</y>
</hint>
<hint type="destinationlabel">
<x>294</x>
<y>262</y>
</hint>
</hints>
</connection>
<connection>
<sender>Setting_WebsiteButton</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>Link_To_Official_Site()</slot>
<hints>
<hint type="sourcelabel">
<x>519</x>
<y>105</y>
</hint>
<hint type="destinationlabel">
<x>350</x>
<y>278</y>
</hint>
</hints>
</connection>
<connection>
<sender>action_GiteeTutorial</sender>
<signal>triggered()</signal>
<receiver>MainWindow</receiver>
<slot>Link_To_Gitee_Tutorial()</slot>
<hints>
<hint type="sourcelabel">
<x>-1</x>
<y>-1</y>
</hint>
<hint type="destinationlabel">
<x>324</x>
<y>224</y>
</hint>
</hints>
</connection>
<connection>
<sender>action_GithubTutorial</sender>
<signal>triggered()</signal>
<receiver>MainWindow</receiver>
<slot>Link_To_Github_Tutorial()</slot>
<hints>
<hint type="sourcelabel">
<x>-1</x>
<y>-1</y>
</hint>
<hint type="destinationlabel">
<x>324</x>
<y>224</y>
</hint>
</hints>
</connection>
<connection>
<sender>action_About</sender>
<signal>triggered()</signal>
<receiver>MainWindow</receiver>
<slot>About_Software()</slot>
<hints>
<hint type="sourcelabel">
<x>-1</x>
<y>-1</y>
</hint>
<hint type="destinationlabel">
<x>324</x>
<y>224</y>
</hint>
</hints>
</connection>
</connections>
<slots>
<slot>img_Load_From_Doc()</slot>
<slot>Formula_OCR_Execute_iFLY()</slot>
<slot>Open_IMG_File()</slot>
<slot>img_Display_In_Doc_Label()</slot>
<slot>Setting_API_Values()</slot>
<slot>Get_img_Info()</slot>
<slot>Copy_Formula_Result()</slot>
<slot>Get_API_Tutorial()</slot>
<slot>Link_To_Official_Site()</slot>
<slot>Link_To_Gitee_Tutorial()</slot>
<slot>Link_To_Github_Tutorial()</slot>
<slot>About_Software()</slot>
</slots>
</ui>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/qingchen1995/qc-formula.git
git@gitee.com:qingchen1995/qc-formula.git
qingchen1995
qc-formula
QC-Formula
master

搜索帮助