402 lines
9.6 KiB
XML
402 lines
9.6 KiB
XML
<?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>
|
|
</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>
|
|
<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>
|
|
<x>10</x>
|
|
<y>50</y>
|
|
<width>801</width>
|
|
<height>511</height>
|
|
</rect>
|
|
</property>
|
|
<property name="currentIndex">
|
|
<number>2</number>
|
|
</property>
|
|
<widget class="QWidget" name="Text">
|
|
<attribute name="title">
|
|
<string>Text</string>
|
|
</attribute>
|
|
<widget class="QLabel" name="checkContentLabel">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<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>
|
|
<x>0</x>
|
|
<y>30</y>
|
|
<width>611</width>
|
|
<height>441</height>
|
|
</rect>
|
|
</property>
|
|
</widget>
|
|
</widget>
|
|
<widget class="QWidget" name="OCR">
|
|
<attribute name="title">
|
|
<string>OCR</string>
|
|
</attribute>
|
|
<widget class="QPushButton" name="chooseImageButton_ocr">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>80</width>
|
|
<height>26</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>Choose</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPlainTextEdit" name="checkContentFromImage">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>60</y>
|
|
<width>511</width>
|
|
<height>401</height>
|
|
</rect>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="pathLabel_ocr">
|
|
<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="QLabel" name="label">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>30</y>
|
|
<width>571</width>
|
|
<height>18</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>Here is recognised check text. Please, edit it if something's wrong:</string>
|
|
</property>
|
|
</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>
|
|
</widget>
|
|
<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>
|
|
</widget>
|
|
</widget>
|
|
</widget>
|
|
<widget class="QMenuBar" name="menubar">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>817</width>
|
|
<height>23</height>
|
|
</rect>
|
|
</property>
|
|
<widget class="QMenu" name="menuchecks_parser">
|
|
<property name="title">
|
|
<string>checks parser</string>
|
|
</property>
|
|
</widget>
|
|
<addaction name="menuchecks_parser"/>
|
|
</widget>
|
|
<widget class="QStatusBar" name="statusbar"/>
|
|
</widget>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|