implemented modular build for email text and ocr

This commit is contained in:
2025-03-17 23:18:35 +03:00
parent cb8041c928
commit b966d7fcf5
5 changed files with 88 additions and 157 deletions

View File

@@ -33,6 +33,12 @@
</property>
<item row="0" column="1">
<widget class="QPushButton" name="ocr_button">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip">
<string>Optical Character Recognition</string>
</property>
@@ -40,7 +46,7 @@
<string/>
</property>
<property name="icon">
<iconset>
<iconset resource="../build/Desktop-Debug/media.qrc">
<normaloff>:/icons/assets/icons/OCR.svg</normaloff>:/icons/assets/icons/OCR.svg</iconset>
</property>
<property name="iconSize">
@@ -54,7 +60,7 @@
<item row="0" column="0">
<widget class="QPushButton" name="text_from_email_button">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@@ -69,7 +75,7 @@
<string/>
</property>
<property name="icon">
<iconset>
<iconset resource="../build/Desktop-Debug/media.qrc">
<normaloff>:/icons/assets/icons/email-text.svg</normaloff>:/icons/assets/icons/email-text.svg</iconset>
</property>
<property name="iconSize">
@@ -97,11 +103,17 @@
</item>
<item row="1" column="0" colspan="2">
<widget class="QPushButton" name="ofd_button">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset>
<iconset resource="../build/Desktop-Debug/media.qrc">
<normaloff>:/icons/assets/icons/OFD.svg</normaloff>:/icons/assets/icons/OFD.svg</iconset>
</property>
<property name="iconSize">
@@ -116,6 +128,9 @@
</item>
</layout>
</widget>
<resources/>
<resources>
<include location="../build/Desktop-Debug/media.qrc"/>
<include location="../build/Desktop-Debug/media.qrc"/>
</resources>
<connections/>
</ui>