274 lines
6.6 KiB
XML
274 lines
6.6 KiB
XML
<ui version="4.0" >
|
|
<class>AigoQt</class>
|
|
<widget class="QMainWindow" name="AigoQt" >
|
|
<property name="geometry" >
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>880</width>
|
|
<height>728</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle" >
|
|
<string>AigoQT</string>
|
|
</property>
|
|
<widget class="QWidget" name="centralwidget" >
|
|
<layout class="QGridLayout" >
|
|
<property name="margin" >
|
|
<number>9</number>
|
|
</property>
|
|
<property name="spacing" >
|
|
<number>6</number>
|
|
</property>
|
|
<item row="0" column="0" colspan="2" >
|
|
<widget class="QGroupBox" name="groupBox" >
|
|
<property name="minimumSize" >
|
|
<size>
|
|
<width>700</width>
|
|
<height>550</height>
|
|
</size>
|
|
</property>
|
|
<property name="title" >
|
|
<string>Preview</string>
|
|
</property>
|
|
<widget class="ClickableLabel" name="image" >
|
|
<property name="geometry" >
|
|
<rect>
|
|
<x>40</x>
|
|
<y>40</y>
|
|
<width>640</width>
|
|
<height>480</height>
|
|
</rect>
|
|
</property>
|
|
<property name="minimumSize" >
|
|
<size>
|
|
<width>640</width>
|
|
<height>480</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize" >
|
|
<size>
|
|
<width>640</width>
|
|
<height>480</height>
|
|
</size>
|
|
</property>
|
|
<property name="text" >
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0" >
|
|
<widget class="QLabel" name="label_4" >
|
|
<property name="text" >
|
|
<string>White threshold</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0" >
|
|
<widget class="QLabel" name="label_3" >
|
|
<property name="text" >
|
|
<string>Black threshold</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="2" >
|
|
<widget class="QLCDNumber" name="lcdNumber_2" />
|
|
</item>
|
|
<item row="2" column="1" >
|
|
<widget class="QSlider" name="sliderBlack" >
|
|
<property name="minimum" >
|
|
<number>100</number>
|
|
</property>
|
|
<property name="maximum" >
|
|
<number>1000</number>
|
|
</property>
|
|
<property name="orientation" >
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="2" >
|
|
<widget class="QLCDNumber" name="lcdNumber" />
|
|
</item>
|
|
<item row="1" column="1" >
|
|
<widget class="QSlider" name="sliderWhite" >
|
|
<property name="minimum" >
|
|
<number>100</number>
|
|
</property>
|
|
<property name="maximum" >
|
|
<number>1000</number>
|
|
</property>
|
|
<property name="singleStep" >
|
|
<number>10</number>
|
|
</property>
|
|
<property name="pageStep" >
|
|
<number>50</number>
|
|
</property>
|
|
<property name="value" >
|
|
<number>200</number>
|
|
</property>
|
|
<property name="orientation" >
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="2" >
|
|
<widget class="QGroupBox" name="groupBox_2" >
|
|
<property name="sizePolicy" >
|
|
<sizepolicy>
|
|
<hsizetype>4</hsizetype>
|
|
<vsizetype>5</vsizetype>
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="title" >
|
|
<string>Controls</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" >
|
|
<property name="margin" >
|
|
<number>9</number>
|
|
</property>
|
|
<property name="spacing" >
|
|
<number>6</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QPushButton" name="buttonSetCorners" >
|
|
<property name="text" >
|
|
<string>Set corners</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="buttonGenerateState" >
|
|
<property name="text" >
|
|
<string>Generate state</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="buttonDrawPoints" >
|
|
<property name="text" >
|
|
<string>Draw points</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer>
|
|
<property name="orientation" >
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" >
|
|
<size>
|
|
<width>20</width>
|
|
<height>40</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QMenuBar" name="menubar" >
|
|
<property name="geometry" >
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>880</width>
|
|
<height>29</height>
|
|
</rect>
|
|
</property>
|
|
<widget class="QMenu" name="menu_File" >
|
|
<property name="title" >
|
|
<string>&File</string>
|
|
</property>
|
|
<addaction name="action_Quit" />
|
|
</widget>
|
|
<addaction name="menu_File" />
|
|
</widget>
|
|
<widget class="QStatusBar" name="statusbar" />
|
|
<action name="action_Quit" >
|
|
<property name="text" >
|
|
<string>&Quit</string>
|
|
</property>
|
|
</action>
|
|
</widget>
|
|
<customwidgets>
|
|
<customwidget>
|
|
<class>ClickableLabel</class>
|
|
<extends>QLabel</extends>
|
|
<header>clickablelabel.h</header>
|
|
</customwidget>
|
|
</customwidgets>
|
|
<resources/>
|
|
<connections>
|
|
<connection>
|
|
<sender>sliderWhite</sender>
|
|
<signal>valueChanged(int)</signal>
|
|
<receiver>lcdNumber</receiver>
|
|
<slot>display(int)</slot>
|
|
<hints>
|
|
<hint type="sourcelabel" >
|
|
<x>702</x>
|
|
<y>618</y>
|
|
</hint>
|
|
<hint type="destinationlabel" >
|
|
<x>727</x>
|
|
<y>618</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>sliderWhite</sender>
|
|
<signal>sliderMoved(int)</signal>
|
|
<receiver>lcdNumber</receiver>
|
|
<slot>display(int)</slot>
|
|
<hints>
|
|
<hint type="sourcelabel" >
|
|
<x>542</x>
|
|
<y>612</y>
|
|
</hint>
|
|
<hint type="destinationlabel" >
|
|
<x>834</x>
|
|
<y>619</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>sliderBlack</sender>
|
|
<signal>valueChanged(int)</signal>
|
|
<receiver>lcdNumber_2</receiver>
|
|
<slot>display(int)</slot>
|
|
<hints>
|
|
<hint type="sourcelabel" >
|
|
<x>701</x>
|
|
<y>638</y>
|
|
</hint>
|
|
<hint type="destinationlabel" >
|
|
<x>749</x>
|
|
<y>640</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>sliderBlack</sender>
|
|
<signal>sliderMoved(int)</signal>
|
|
<receiver>lcdNumber_2</receiver>
|
|
<slot>display(int)</slot>
|
|
<hints>
|
|
<hint type="sourcelabel" >
|
|
<x>561</x>
|
|
<y>645</y>
|
|
</hint>
|
|
<hint type="destinationlabel" >
|
|
<x>825</x>
|
|
<y>640</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
</connections>
|
|
</ui>
|