checks-parser/mainwindow.ui

402 lines
9.6 KiB
Plaintext
Raw Normal View History

2024-08-18 13:57:57 +03:00
<?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>817</width>
<height>659</height>
2024-08-18 13:57:57 +03:00
</rect>
</property>
<property name="windowTitle">
<string>MainWindow</string>
</property>
<widget class="QWidget" name="centralwidget">
<widget class="QComboBox" name="storeType">
<property name="geometry">
<rect>
<x>90</x>
<y>10</y>
<width>211</width>
<height>31</height>
</rect>
</property>
</widget>
<widget class="QLabel" name="storeTypeLabel">
<property name="geometry">
<rect>
<x>10</x>
<y>10</y>
<width>81</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>Store</string>
</property>
</widget>
2024-10-22 13:18:19 +03:00
<widget class="QPushButton" name="parseButton">
<property name="geometry">
<rect>
<x>30</x>
<y>560</y>
<width>80</width>
<height>26</height>
</rect>
</property>
<property name="text">
<string>Parse</string>
</property>
</widget>
<widget class="QPushButton" name="preferencesButton">
<property name="geometry">
<rect>
<x>730</x>
<y>0</y>
<width>81</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>Preferences</string>
</property>
</widget>
<widget class="QTabWidget" name="tabWidget">
<property name="geometry">
<rect>
2024-09-01 16:15:00 +03:00
<x>10</x>
<y>50</y>
<width>801</width>
<height>511</height>
</rect>
</property>
2024-08-31 22:18:54 +03:00
<property name="currentIndex">
<number>2</number>
2024-09-01 16:15:00 +03:00
</property>
2024-10-22 13:18:19 +03:00
<widget class="QWidget" name="Text">
<attribute name="title">
<string>Text</string>
</attribute>
2024-09-01 16:15:00 +03:00
<widget class="QLabel" name="checkContentLabel">
<property name="geometry">
<rect>
2024-10-22 13:18:19 +03:00
<x>0</x>
<y>0</y>
2024-09-01 16:15:00 +03:00
<width>101</width>
<height>18</height>
</rect>
</property>
<property name="text">
<string>Check content</string>
</property>
</widget>
<widget class="QPlainTextEdit" name="checkContent">
<property name="geometry">
<rect>
2024-10-22 13:18:19 +03:00
<x>0</x>
<y>30</y>
<width>611</width>
<height>441</height>
2024-09-01 16:15:00 +03:00
</rect>
</property>
</widget>
2024-08-31 22:18:54 +03:00
</widget>
2024-10-22 13:18:19 +03:00
<widget class="QWidget" name="OCR">
<attribute name="title">
<string>OCR</string>
</attribute>
<widget class="QPushButton" name="chooseImageButton_ocr">
2024-09-01 16:15:00 +03:00
<property name="geometry">
<rect>
2024-10-22 13:18:19 +03:00
<x>0</x>
<y>0</y>
<width>80</width>
<height>26</height>
2024-09-01 16:15:00 +03:00
</rect>
</property>
<property name="text">
2024-10-22 13:18:19 +03:00
<string>Choose</string>
2024-09-01 16:15:00 +03:00
</property>
</widget>
2024-10-22 13:18:19 +03:00
<widget class="QPlainTextEdit" name="checkContentFromImage">
2024-09-01 16:15:00 +03:00
<property name="geometry">
<rect>
2024-10-22 13:18:19 +03:00
<x>0</x>
<y>60</y>
<width>511</width>
<height>401</height>
2024-09-01 16:15:00 +03:00
</rect>
</property>
</widget>
<widget class="QLabel" name="pathLabel_ocr">
2024-09-01 16:57:25 +03:00
<property name="geometry">
<rect>
2024-10-22 13:18:19 +03:00
<x>100</x>
<y>0</y>
<width>381</width>
2024-09-01 16:57:25 +03:00
<height>18</height>
</rect>
</property>
<property name="text">
2024-10-22 13:18:19 +03:00
<string>Path to image: </string>
2024-09-01 16:57:25 +03:00
</property>
</widget>
2024-10-22 13:18:19 +03:00
<widget class="QLabel" name="label">
2024-09-01 16:57:25 +03:00
<property name="geometry">
<rect>
2024-10-22 13:18:19 +03:00
<x>0</x>
<y>30</y>
<width>571</width>
<height>18</height>
2024-09-01 16:57:25 +03:00
</rect>
</property>
2024-10-22 13:18:19 +03:00
<property name="text">
<string>Here is recognised check text. Please, edit it if something's wrong:</string>
</property>
2024-09-01 16:57:25 +03:00
</widget>
<widget class="QLabel" name="picture_ocr">
<property name="geometry">
<rect>
<x>490</x>
<y>10</y>
<width>291</width>
<height>421</height>
</rect>
</property>
<property name="text">
<string/>
</property>
</widget>
2024-08-31 22:18:54 +03:00
</widget>
2024-10-22 13:18:19 +03:00
<widget class="QWidget" name="OFD">
<attribute name="title">
<string>OFD</string>
</attribute>
<widget class="QLabel" name="picture_ofd">
<property name="geometry">
<rect>
<x>490</x>
<y>10</y>
<width>291</width>
<height>421</height>
</rect>
</property>
<property name="text">
<string/>
</property>
</widget>
<widget class="QLabel" name="pathLabel_ofd">
<property name="geometry">
<rect>
<x>100</x>
<y>0</y>
<width>381</width>
<height>18</height>
</rect>
</property>
<property name="text">
<string>Path to image: </string>
</property>
</widget>
<widget class="QPushButton" name="chooseImageButton_ofd">
<property name="geometry">
<rect>
<x>10</x>
<y>0</y>
<width>80</width>
<height>26</height>
</rect>
</property>
<property name="text">
<string>Choose</string>
</property>
</widget>
<widget class="QLineEdit" name="fn_edit">
<property name="geometry">
<rect>
<x>180</x>
<y>50</y>
<width>261</width>
<height>26</height>
</rect>
</property>
<property name="inputMask">
<string>0000000000000000</string>
</property>
</widget>
<widget class="QLabel" name="fn_label">
<property name="geometry">
<rect>
<x>10</x>
<y>50</y>
<width>161</width>
<height>21</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>FN (Fiscal Number)</string>
</property>
</widget>
<widget class="QLabel" name="fd_label">
<property name="geometry">
<rect>
<x>10</x>
<y>90</y>
<width>161</width>
<height>21</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>FD (Fiscal Document)</string>
</property>
</widget>
<widget class="QLineEdit" name="fd_edit">
<property name="geometry">
<rect>
<x>180</x>
<y>90</y>
<width>261</width>
<height>26</height>
</rect>
</property>
<property name="inputMask">
<string>0000000000</string>
</property>
</widget>
<widget class="QLabel" name="fi_label">
<property name="geometry">
<rect>
<x>10</x>
<y>130</y>
<width>161</width>
<height>21</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>FI (Fiscal Identifier)</string>
</property>
</widget>
<widget class="QLineEdit" name="fi_edit">
<property name="geometry">
<rect>
<x>180</x>
<y>130</y>
<width>261</width>
<height>26</height>
</rect>
</property>
<property name="inputMask">
<string>0000000000</string>
</property>
</widget>
<widget class="QDateTimeEdit" name="dateTimeEdit">
<property name="geometry">
<rect>
<x>10</x>
<y>170</y>
<width>194</width>
<height>27</height>
</rect>
</property>
</widget>
<widget class="QComboBox" name="fundIncomeCombo">
<property name="geometry">
<rect>
<x>10</x>
<y>210</y>
<width>191</width>
<height>26</height>
</rect>
</property>
<item>
<property name="text">
<string>Funds income</string>
</property>
</item>
<item>
<property name="text">
<string>Funds return</string>
</property>
</item>
<item>
<property name="text">
<string>Funds spend</string>
</property>
</item>
<item>
<property name="text">
<string>Spends return</string>
</property>
</item>
</widget>
<widget class="QLineEdit" name="total_edit">
<property name="geometry">
<rect>
<x>90</x>
<y>250</y>
<width>113</width>
<height>26</height>
</rect>
</property>
<property name="inputMask">
<string>99999D00</string>
</property>
</widget>
<widget class="QLabel" name="total_label">
<property name="geometry">
<rect>
<x>10</x>
<y>250</y>
<width>66</width>
<height>18</height>
</rect>
</property>
<property name="text">
<string>Total</string>
</property>
</widget>
2024-10-22 13:18:19 +03:00
</widget>
2024-10-05 13:52:44 +03:00
</widget>
</widget>
2024-08-18 13:57:57 +03:00
<widget class="QMenuBar" name="menubar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>817</width>
2024-08-18 13:57:57 +03:00
<height>23</height>
</rect>
</property>
<widget class="QMenu" name="menuchecks_parser">
<property name="title">
<string>checks parser</string>
</property>
</widget>
<addaction name="menuchecks_parser"/>
2024-08-18 13:57:57 +03:00
</widget>
<widget class="QStatusBar" name="statusbar"/>
</widget>
<resources/>
<connections/>
</ui>