122 lines
2.7 KiB
XML
122 lines
2.7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>AdjustPictureDialog</class>
|
|
<widget class="QDialog" name="AdjustPictureDialog">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>825</width>
|
|
<height>497</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Dialog</string>
|
|
</property>
|
|
<widget class="QDialogButtonBox" name="buttonBox">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>450</x>
|
|
<y>450</y>
|
|
<width>341</width>
|
|
<height>32</height>
|
|
</rect>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="standardButtons">
|
|
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
|
|
</property>
|
|
</widget>
|
|
<widget class="QSlider" name="contrastSlider">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>460</y>
|
|
<width>591</width>
|
|
<height>16</height>
|
|
</rect>
|
|
</property>
|
|
<property name="value">
|
|
<number>50</number>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="label">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>0</y>
|
|
<width>511</width>
|
|
<height>18</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>Please, zoom to qr code and adjust contrast so that qr code looks sharp</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="ImageRedactor" name="graphicsView">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>15</x>
|
|
<y>41</y>
|
|
<width>791</width>
|
|
<height>391</height>
|
|
</rect>
|
|
</property>
|
|
</widget>
|
|
<zorder>buttonBox</zorder>
|
|
<zorder>label</zorder>
|
|
<zorder>contrastSlider</zorder>
|
|
<zorder>graphicsView</zorder>
|
|
</widget>
|
|
<customwidgets>
|
|
<customwidget>
|
|
<class>ImageRedactor</class>
|
|
<extends>QGraphicsView</extends>
|
|
<header>../../image_redactor/imageredactor.h</header>
|
|
<slots>
|
|
<slot>slot1()</slot>
|
|
</slots>
|
|
</customwidget>
|
|
</customwidgets>
|
|
<resources/>
|
|
<connections>
|
|
<connection>
|
|
<sender>buttonBox</sender>
|
|
<signal>accepted()</signal>
|
|
<receiver>AdjustPictureDialog</receiver>
|
|
<slot>accept()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>248</x>
|
|
<y>254</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>157</x>
|
|
<y>274</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>buttonBox</sender>
|
|
<signal>rejected()</signal>
|
|
<receiver>AdjustPictureDialog</receiver>
|
|
<slot>reject()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>316</x>
|
|
<y>260</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>286</x>
|
|
<y>274</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
</connections>
|
|
</ui>
|