code_app/app/scanner/widget_imgproc_sidebar.ui

349 lines
7.8 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>Widget_Imgproc_SideBar</class>
<widget class="QWidget" name="Widget_Imgproc_SideBar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>220</width>
<height>376</height>
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<widget class="QPushButton" name="pbtn_ok">
<property name="geometry">
<rect>
<x>60</x>
<y>340</y>
<width>75</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>Ok</string>
</property>
</widget>
<widget class="QPushButton" name="pbtn_cancel">
<property name="geometry">
<rect>
<x>140</x>
<y>340</y>
<width>75</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>Cancel</string>
</property>
</widget>
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>10</x>
<y>250</y>
<width>143</width>
<height>22</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_5">
<item>
<widget class="QCheckBox" name="checkBox_enhanceText">
<property name="text">
<string>Enhance Text</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_3">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<widget class="QGroupBox" name="gbox_brightness">
<property name="geometry">
<rect>
<x>10</x>
<y>10</y>
<width>201</width>
<height>71</height>
</rect>
</property>
<property name="title">
<string>Brightness</string>
</property>
<widget class="QSlider" name="slider_brightness">
<property name="geometry">
<rect>
<x>10</x>
<y>35</y>
<width>121</width>
<height>27</height>
</rect>
</property>
<property name="maximumSize">
<size>
<width>121</width>
<height>27</height>
</size>
</property>
<property name="minimum">
<number>-255</number>
</property>
<property name="maximum">
<number>255</number>
</property>
<property name="value">
<number>0</number>
</property>
<property name="tracking">
<bool>false</bool>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="tickPosition">
<enum>QSlider::TicksAbove</enum>
</property>
<property name="tickInterval">
<number>32</number>
</property>
</widget>
<widget class="QSpinBox" name="spin_brightness">
<property name="geometry">
<rect>
<x>140</x>
<y>40</y>
<width>51</width>
<height>20</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>51</width>
<height>20</height>
</size>
</property>
<property name="minimum">
<number>-255</number>
</property>
<property name="maximum">
<number>255</number>
</property>
<property name="value">
<number>0</number>
</property>
<property name="displayIntegerBase">
<number>10</number>
</property>
</widget>
</widget>
<widget class="QGroupBox" name="gbox_gamma">
<property name="geometry">
<rect>
<x>10</x>
<y>170</y>
<width>201</width>
<height>71</height>
</rect>
</property>
<property name="title">
<string>Gamma correction</string>
</property>
<widget class="QSlider" name="slider_gamma">
<property name="geometry">
<rect>
<x>10</x>
<y>35</y>
<width>121</width>
<height>27</height>
</rect>
</property>
<property name="maximumSize">
<size>
<width>121</width>
<height>27</height>
</size>
</property>
<property name="minimum">
<number>1</number>
</property>
<property name="maximum">
<number>500</number>
</property>
<property name="value">
<number>100</number>
</property>
<property name="tracking">
<bool>false</bool>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="tickPosition">
<enum>QSlider::TicksAbove</enum>
</property>
<property name="tickInterval">
<number>25</number>
</property>
</widget>
<widget class="QDoubleSpinBox" name="dspin_gamma">
<property name="geometry">
<rect>
<x>140</x>
<y>40</y>
<width>51</width>
<height>20</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>51</width>
<height>20</height>
</size>
</property>
<property name="minimum">
<double>0.010000000000000</double>
</property>
<property name="maximum">
<double>5.000000000000000</double>
</property>
<property name="singleStep">
<double>0.010000000000000</double>
</property>
<property name="value">
<double>1.000000000000000</double>
</property>
</widget>
</widget>
<widget class="QGroupBox" name="gbox_contrast">
<property name="geometry">
<rect>
<x>10</x>
<y>90</y>
<width>201</width>
<height>71</height>
</rect>
</property>
<property name="title">
<string>Contrast</string>
</property>
<widget class="QSlider" name="slider_contrast">
<property name="geometry">
<rect>
<x>10</x>
<y>34</y>
<width>121</width>
<height>27</height>
</rect>
</property>
<property name="maximumSize">
<size>
<width>121</width>
<height>27</height>
</size>
</property>
<property name="minimum">
<number>-127</number>
</property>
<property name="maximum">
<number>127</number>
</property>
<property name="value">
<number>0</number>
</property>
<property name="tracking">
<bool>false</bool>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="invertedAppearance">
<bool>false</bool>
</property>
<property name="invertedControls">
<bool>false</bool>
</property>
<property name="tickPosition">
<enum>QSlider::TicksAbove</enum>
</property>
<property name="tickInterval">
<number>16</number>
</property>
</widget>
<widget class="QSpinBox" name="spin_contrast">
<property name="geometry">
<rect>
<x>140</x>
<y>40</y>
<width>51</width>
<height>20</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>51</width>
<height>20</height>
</size>
</property>
<property name="minimum">
<number>-127</number>
</property>
<property name="maximum">
<number>127</number>
</property>
<property name="value">
<number>0</number>
</property>
<property name="displayIntegerBase">
<number>10</number>
</property>
</widget>
</widget>
<widget class="QPushButton" name="pbtn_restoreDefault">
<property name="geometry">
<rect>
<x>10</x>
<y>290</y>
<width>104</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>Restore defaults</string>
</property>
</widget>
</widget>
<resources/>
<connections/>
</ui>