329 lines
9.2 KiB
XML
329 lines
9.2 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>Preview_Window</class>
|
|
<widget class="QMainWindow" name="Preview_Window">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>803</width>
|
|
<height>775</height>
|
|
</rect>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>800</width>
|
|
<height>700</height>
|
|
</size>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>OptimaLab35 - Preview</string>
|
|
</property>
|
|
<widget class="QWidget" name="centralwidget">
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
<item>
|
|
<widget class="QLabel" name="QLabel">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>628</width>
|
|
<height>628</height>
|
|
</size>
|
|
</property>
|
|
<property name="frameShape">
|
|
<enum>QFrame::Box</enum>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
<property name="scaledContents">
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QWidget" name="widget" native="true">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>150</width>
|
|
<height>628</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>150</width>
|
|
<height>16777215</height>
|
|
</size>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_4">
|
|
<item>
|
|
<widget class="QLineEdit" name="image_path_lineEdit">
|
|
<property name="toolTip">
|
|
<string>Enter the path to the image file or use the 'Select Image' button to browse.</string>
|
|
</property>
|
|
<property name="placeholderText">
|
|
<string>Image Path</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="load_Button">
|
|
<property name="text">
|
|
<string>Select image</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QWidget" name="widget_2" native="true">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>250</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>16777215</width>
|
|
<height>250</height>
|
|
</size>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<item>
|
|
<widget class="QLabel" name="label">
|
|
<property name="text">
|
|
<string>Brightness</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QSpinBox" name="brightness_spinBox">
|
|
<property name="minimum">
|
|
<number>-100</number>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>100</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QSlider" name="brightness_Slider">
|
|
<property name="minimum">
|
|
<number>-100</number>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>100</number>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="reset_brightness_Button">
|
|
<property name="toolTip">
|
|
<string>Click to reset the brightness to its default value (0).</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Reset</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="label_2">
|
|
<property name="text">
|
|
<string>Contrast</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QSpinBox" name="contrast_spinBox">
|
|
<property name="minimum">
|
|
<number>-100</number>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>100</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QSlider" name="contrast_Slider">
|
|
<property name="minimum">
|
|
<number>-100</number>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>100</number>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="reset_contrast_Button">
|
|
<property name="toolTip">
|
|
<string>Click to reset the contrast to its default value (0).</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Reset</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QCheckBox" name="grayscale_checkBox">
|
|
<property name="toolTip">
|
|
<string>Convert the image to grayscale (black and white).</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Black n White</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QWidget" name="widget_5" native="true">
|
|
<layout class="QVBoxLayout" name="verticalLayout_2"/>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QWidget" name="widget_4" native="true">
|
|
<layout class="QVBoxLayout" name="verticalLayout_3">
|
|
<item>
|
|
<widget class="QCheckBox" name="live_update">
|
|
<property name="toolTip">
|
|
<string>Live update applies changes instantly. If the app becomes unresponsive or lags, disable this option.</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Live update</string>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="update_Button">
|
|
<property name="toolTip">
|
|
<string>Apply Changes to Preview</string>
|
|
</property>
|
|
<property name="autoFillBackground">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>Update Preview</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QCheckBox" name="checkBox">
|
|
<property name="toolTip">
|
|
<string>Enable to copy adjustments to the main window upon closing</string>
|
|
</property>
|
|
<property name="layoutDirection">
|
|
<enum>Qt::LeftToRight</enum>
|
|
</property>
|
|
<property name="text">
|
|
<string>Copy Values</string>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="close_Button">
|
|
<property name="toolTip">
|
|
<string/>
|
|
</property>
|
|
<property name="text">
|
|
<string>Close</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QMenuBar" name="menubar">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>803</width>
|
|
<height>27</height>
|
|
</rect>
|
|
</property>
|
|
</widget>
|
|
</widget>
|
|
<resources/>
|
|
<connections>
|
|
<connection>
|
|
<sender>brightness_Slider</sender>
|
|
<signal>valueChanged(int)</signal>
|
|
<receiver>brightness_spinBox</receiver>
|
|
<slot>setValue(int)</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>720</x>
|
|
<y>311</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>706</x>
|
|
<y>282</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>brightness_spinBox</sender>
|
|
<signal>valueChanged(int)</signal>
|
|
<receiver>brightness_Slider</receiver>
|
|
<slot>setValue(int)</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>706</x>
|
|
<y>282</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>720</x>
|
|
<y>311</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>contrast_Slider</sender>
|
|
<signal>valueChanged(int)</signal>
|
|
<receiver>contrast_spinBox</receiver>
|
|
<slot>setValue(int)</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>720</x>
|
|
<y>454</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>699</x>
|
|
<y>425</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>contrast_spinBox</sender>
|
|
<signal>valueChanged(int)</signal>
|
|
<receiver>contrast_Slider</receiver>
|
|
<slot>setValue(int)</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>699</x>
|
|
<y>425</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>720</x>
|
|
<y>454</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
</connections>
|
|
</ui>
|