<?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>614</width> <height>808</height> </rect> </property> <property name="windowTitle"> <string>OPTIMA-35</string> </property> <widget class="QWidget" name="centralwidget"> <layout class="QGridLayout" name="gridLayout"> <item row="0" column="0" rowspan="2"> <widget class="QTabWidget" name="tabWidget"> <property name="currentIndex"> <number>0</number> </property> <widget class="QWidget" name="tab_3"> <attribute name="title"> <string>Tab 1</string> </attribute> <layout class="QGridLayout" name="gridLayout_3"> <item row="2" column="2" rowspan="2"> <widget class="QGroupBox" name="output_folder_group"> <property name="title"> <string>Output folder</string> </property> <layout class="QVBoxLayout" name="verticalLayout_3"> <item> <widget class="QLineEdit" name="output_path"> <property name="text"> <string>local_files/out</string> </property> </widget> </item> <item> <widget class="QPushButton" name="output_folder_button"> <property name="text"> <string>output</string> </property> </widget> </item> </layout> </widget> </item> <item row="9" column="0"> <widget class="QComboBox" name="image_type"> <item> <property name="text"> <string notr="true">jpg</string> </property> </item> <item> <property name="text"> <string notr="true">png</string> </property> </item> <item> <property name="text"> <string notr="true">webp</string> </property> </item> </widget> </item> <item row="4" column="0"> <widget class="QGroupBox" name="grayscale_group"> <property name="title"> <string>Grayscale</string> </property> <layout class="QHBoxLayout" name="horizontalLayout_4"> <item> <widget class="QCheckBox" name="grayscale_checkBox"> <property name="text"> <string>Grayscale</string> </property> </widget> </item> </layout> </widget> </item> <item row="2" column="0" rowspan="2"> <widget class="QGroupBox" name="contrast_group"> <property name="title"> <string>Contrast</string> </property> <layout class="QHBoxLayout" name="horizontalLayout_3"> <item> <widget class="QCheckBox" name="contrast_checkbox"> <property name="text"> <string>Contrast</string> </property> </widget> </item> <item> <widget class="QSpinBox" name="contrast_spinBox"> <property name="enabled"> <bool>false</bool> </property> <property name="minimum"> <number>-100</number> </property> <property name="maximum"> <number>100</number> </property> <property name="value"> <number>10</number> </property> </widget> </item> </layout> </widget> </item> <item row="4" column="2" rowspan="2"> <widget class="QGroupBox" name="groupBox"> <property name="title"> <string>Quality</string> </property> <layout class="QGridLayout" name="gridLayout_4"> <item row="0" column="0"> <widget class="QLabel" name="label"> <property name="text"> <string>jpg</string> </property> </widget> </item> <item row="0" column="1"> <widget class="QSlider" name="jpg_quality_horizontalSlider"> <property name="maximum"> <number>100</number> </property> <property name="singleStep"> <number>10</number> </property> <property name="value"> <number>80</number> </property> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> </widget> </item> <item row="0" column="2"> <widget class="QSpinBox" name="jpg_quality_spinBox"> <property name="minimum"> <number>1</number> </property> <property name="maximum"> <number>100</number> </property> <property name="value"> <number>80</number> </property> </widget> </item> <item row="1" column="0"> <widget class="QLabel" name="label_2"> <property name="text"> <string>png</string> </property> </widget> </item> <item row="1" column="1"> <widget class="QSlider" name="png_quality_horizontalSlider"> <property name="minimum"> <number>0</number> </property> <property name="maximum"> <number>9</number> </property> <property name="value"> <number>6</number> </property> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> </widget> </item> <item row="1" column="2"> <widget class="QSpinBox" name="png_quality_spinBox"> <property name="minimum"> <number>1</number> </property> <property name="maximum"> <number>9</number> </property> <property name="value"> <number>6</number> </property> </widget> </item> </layout> </widget> </item> <item row="9" column="2"> <widget class="QPushButton" name="start_button"> <property name="enabled"> <bool>true</bool> </property> <property name="text"> <string>Start converting</string> </property> </widget> </item> <item row="7" column="2"> <widget class="QGroupBox" name="watermark_group"> <property name="title"> <string>Watermark</string> </property> <layout class="QHBoxLayout" name="horizontalLayout_5"> <item> <widget class="QCheckBox" name="watermark_checkbox"> <property name="text"> <string>box</string> </property> </widget> </item> <item> <widget class="QLineEdit" name="watermark_lineEdit"> <property name="enabled"> <bool>false</bool> </property> <property name="text"> <string/> </property> <property name="placeholderText"> <string>Enter Watermark</string> </property> </widget> </item> </layout> </widget> </item> <item row="0" column="2" rowspan="2"> <widget class="QGroupBox" name="input_folder_group"> <property name="title"> <string>Input folder</string> </property> <layout class="QVBoxLayout" name="verticalLayout_2"> <item> <widget class="QLineEdit" name="input_path"> <property name="text"> <string>local_files/img</string> </property> </widget> </item> <item> <widget class="QPushButton" name="input_folder_button"> <property name="text"> <string>input</string> </property> </widget> </item> </layout> </widget> </item> <item row="0" column="0"> <widget class="QGroupBox" name="resize_group"> <property name="title"> <string>Resize image</string> </property> <layout class="QGridLayout" name="gridLayout_2"> <item row="0" column="0"> <widget class="QCheckBox" name="resize_checkbox"> <property name="text"> <string>Resize</string> </property> </widget> </item> <item row="0" column="1"> <widget class="QSpinBox" name="resize_spinBox"> <property name="enabled"> <bool>false</bool> </property> <property name="minimum"> <number>1</number> </property> <property name="maximum"> <number>200</number> </property> <property name="singleStep"> <number>1</number> </property> <property name="value"> <number>80</number> </property> </widget> </item> </layout> </widget> </item> <item row="3" column="1"> <widget class="Line" name="line"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> </widget> </item> <item row="1" column="0"> <widget class="QGroupBox" name="brightness_group"> <property name="title"> <string>Brightness</string> </property> <layout class="QHBoxLayout" name="horizontalLayout_2"> <item> <widget class="QCheckBox" name="brightness_checkbox"> <property name="text"> <string>Brightness</string> </property> </widget> </item> <item> <widget class="QSpinBox" name="brightness_spinBox"> <property name="enabled"> <bool>false</bool> </property> <property name="minimum"> <number>-100</number> </property> <property name="maximum"> <number>100</number> </property> <property name="value"> <number>10</number> </property> </widget> </item> </layout> </widget> </item> <item row="5" column="0"> <widget class="QGroupBox" name="rename_group"> <property name="title"> <string>Rename</string> </property> <layout class="QVBoxLayout" name="verticalLayout"> <item> <widget class="QCheckBox" name="rename_checkbox"> <property name="text"> <string>Rename</string> </property> </widget> </item> <item> <widget class="QLineEdit" name="filename"> <property name="enabled"> <bool>false</bool> </property> <property name="text"> <string/> </property> <property name="placeholderText"> <string>Enter file name</string> </property> </widget> </item> <item> <widget class="QCheckBox" name="revert_checkbox"> <property name="text"> <string>Revert order</string> </property> </widget> </item> </layout> </widget> </item> <item row="7" column="0"> <widget class="QGroupBox" name="exif_group"> <property name="title"> <string>Exif</string> </property> <layout class="QHBoxLayout" name="horizontalLayout"> <item> <widget class="QCheckBox" name="exif_checkbox"> <property name="enabled"> <bool>false</bool> </property> <property name="text"> <string>own exif</string> </property> </widget> </item> <item> <widget class="QCheckBox" name="copy_exif_checkBox"> <property name="text"> <string>copy exif</string> </property> </widget> </item> </layout> </widget> </item> </layout> </widget> <widget class="QWidget" name="tab_4"> <attribute name="title"> <string>Tab 2</string> </attribute> </widget> </widget> </item> <item row="2" column="0"> <widget class="QProgressBar" name="progressBar"> <property name="value"> <number>0</number> </property> </widget> </item> </layout> </widget> <widget class="QStatusBar" name="statusbar"/> <widget class="QMenuBar" name="menubar"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>614</width> <height>27</height> </rect> </property> </widget> </widget> <resources/> <connections> <connection> <sender>rename_checkbox</sender> <signal>toggled(bool)</signal> <receiver>filename</receiver> <slot>setEnabled(bool)</slot> <hints> <hint type="sourcelabel"> <x>138</x> <y>507</y> </hint> <hint type="destinationlabel"> <x>138</x> <y>542</y> </hint> </hints> </connection> <connection> <sender>brightness_checkbox</sender> <signal>toggled(bool)</signal> <receiver>brightness_spinBox</receiver> <slot>setEnabled(bool)</slot> <hints> <hint type="sourcelabel"> <x>72</x> <y>226</y> </hint> <hint type="destinationlabel"> <x>182</x> <y>226</y> </hint> </hints> </connection> <connection> <sender>contrast_checkbox</sender> <signal>toggled(bool)</signal> <receiver>contrast_spinBox</receiver> <slot>setEnabled(bool)</slot> <hints> <hint type="sourcelabel"> <x>83</x> <y>320</y> </hint> <hint type="destinationlabel"> <x>233</x> <y>320</y> </hint> </hints> </connection> <connection> <sender>resize_checkbox</sender> <signal>toggled(bool)</signal> <receiver>resize_spinBox</receiver> <slot>setEnabled(bool)</slot> <hints> <hint type="sourcelabel"> <x>83</x> <y>130</y> </hint> <hint type="destinationlabel"> <x>233</x> <y>131</y> </hint> </hints> </connection> <connection> <sender>watermark_checkbox</sender> <signal>toggled(bool)</signal> <receiver>watermark_lineEdit</receiver> <slot>setEnabled(bool)</slot> <hints> <hint type="sourcelabel"> <x>386</x> <y>661</y> </hint> <hint type="destinationlabel"> <x>496</x> <y>661</y> </hint> </hints> </connection> <connection> <sender>png_quality_horizontalSlider</sender> <signal>sliderMoved(int)</signal> <receiver>png_quality_spinBox</receiver> <slot>setValue(int)</slot> <hints> <hint type="sourcelabel"> <x>494</x> <y>537</y> </hint> <hint type="destinationlabel"> <x>626</x> <y>537</y> </hint> </hints> </connection> <connection> <sender>png_quality_spinBox</sender> <signal>valueChanged(int)</signal> <receiver>png_quality_horizontalSlider</receiver> <slot>setValue(int)</slot> <hints> <hint type="sourcelabel"> <x>626</x> <y>537</y> </hint> <hint type="destinationlabel"> <x>494</x> <y>537</y> </hint> </hints> </connection> <connection> <sender>jpg_quality_horizontalSlider</sender> <signal>sliderMoved(int)</signal> <receiver>jpg_quality_spinBox</receiver> <slot>setValue(int)</slot> <hints> <hint type="sourcelabel"> <x>494</x> <y>462</y> </hint> <hint type="destinationlabel"> <x>626</x> <y>462</y> </hint> </hints> </connection> <connection> <sender>jpg_quality_spinBox</sender> <signal>valueChanged(int)</signal> <receiver>jpg_quality_horizontalSlider</receiver> <slot>setValue(int)</slot> <hints> <hint type="sourcelabel"> <x>626</x> <y>462</y> </hint> <hint type="destinationlabel"> <x>494</x> <y>462</y> </hint> </hints> </connection> <connection> <sender>exif_checkbox</sender> <signal>toggled(bool)</signal> <receiver>copy_exif_checkBox</receiver> <slot>setDisabled(bool)</slot> <hints> <hint type="sourcelabel"> <x>103</x> <y>661</y> </hint> <hint type="destinationlabel"> <x>253</x> <y>661</y> </hint> </hints> </connection> <connection> <sender>copy_exif_checkBox</sender> <signal>toggled(bool)</signal> <receiver>exif_checkbox</receiver> <slot>setDisabled(bool)</slot> <hints> <hint type="sourcelabel"> <x>253</x> <y>661</y> </hint> <hint type="destinationlabel"> <x>103</x> <y>661</y> </hint> </hints> </connection> </connections> </ui>