2007-02-23 21:37:11 +01:00
|
|
|
<ui version="4.0" >
|
|
|
|
<class>AigoQt</class>
|
|
|
|
<widget class="QMainWindow" name="AigoQt" >
|
|
|
|
<property name="geometry" >
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
2007-03-01 14:18:20 +01:00
|
|
|
<width>942</width>
|
|
|
|
<height>825</height>
|
2007-02-23 21:37:11 +01:00
|
|
|
</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>
|
2007-03-01 14:18:20 +01:00
|
|
|
<item row="4" column="0" >
|
|
|
|
<widget class="QLabel" name="label_5" >
|
2007-02-25 18:54:24 +01:00
|
|
|
<property name="text" >
|
2007-03-01 14:18:20 +01:00
|
|
|
<string>Black threshold(image)</string>
|
2007-02-25 18:54:24 +01:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2007-03-01 14:18:20 +01:00
|
|
|
<item row="3" column="0" >
|
|
|
|
<widget class="QLabel" name="label_6" >
|
2007-02-25 18:54:24 +01:00
|
|
|
<property name="text" >
|
2007-03-01 14:18:20 +01:00
|
|
|
<string>White threshold (image)</string>
|
2007-02-25 18:54:24 +01:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="2" column="2" >
|
|
|
|
<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="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>
|
2007-03-01 14:18:20 +01:00
|
|
|
<item row="2" column="0" colspan="2" >
|
|
|
|
<widget class="QLabel" name="label_3" >
|
|
|
|
<property name="text" >
|
|
|
|
<string>Black threshold(state)</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="1" column="0" colspan="2" >
|
|
|
|
<widget class="QLabel" name="label_4" >
|
|
|
|
<property name="text" >
|
|
|
|
<string>White threshold (state)</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="3" column="1" colspan="2" >
|
|
|
|
<widget class="QSlider" name="whiteImageThreshold" >
|
|
|
|
<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="4" column="1" colspan="2" >
|
|
|
|
<widget class="QSlider" name="blackImageThreshold" >
|
|
|
|
<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="4" column="3" >
|
|
|
|
<widget class="QLCDNumber" name="lcdNumber_4" />
|
|
|
|
</item>
|
|
|
|
<item row="3" column="3" >
|
|
|
|
<widget class="QLCDNumber" name="lcdNumber_3" />
|
|
|
|
</item>
|
|
|
|
<item row="2" column="3" >
|
|
|
|
<widget class="QLCDNumber" name="lcdNumber_2" />
|
|
|
|
</item>
|
|
|
|
<item row="1" column="3" >
|
|
|
|
<widget class="QLCDNumber" name="lcdNumber" />
|
|
|
|
</item>
|
|
|
|
<item row="0" column="3" >
|
2007-02-23 21:37:11 +01:00
|
|
|
<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>
|
2007-02-23 23:28:29 +01:00
|
|
|
<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>
|
2007-03-01 14:18:20 +01:00
|
|
|
<item>
|
|
|
|
<widget class="QCheckBox" name="checkErosion" >
|
|
|
|
<property name="text" >
|
|
|
|
<string>Erosion</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QCheckBox" name="checkDilation" >
|
|
|
|
<property name="text" >
|
|
|
|
<string>Dilation</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2007-03-01 18:07:54 +01:00
|
|
|
<item>
|
|
|
|
<widget class="QCheckBox" name="checkThreshold" >
|
|
|
|
<property name="text" >
|
|
|
|
<string>Threshold</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2007-02-23 21:37:11 +01:00
|
|
|
<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>
|
2007-03-01 14:18:20 +01:00
|
|
|
<item row="0" column="0" colspan="3" >
|
|
|
|
<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>
|
2007-02-23 21:37:11 +01:00
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
<widget class="QMenuBar" name="menubar" >
|
|
|
|
<property name="geometry" >
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
2007-03-01 14:18:20 +01:00
|
|
|
<width>942</width>
|
2007-03-01 18:07:54 +01:00
|
|
|
<height>31</height>
|
2007-02-23 21:37:11 +01:00
|
|
|
</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>
|
2007-02-23 23:28:29 +01:00
|
|
|
<customwidgets>
|
|
|
|
<customwidget>
|
|
|
|
<class>ClickableLabel</class>
|
|
|
|
<extends>QLabel</extends>
|
|
|
|
<header>clickablelabel.h</header>
|
|
|
|
</customwidget>
|
|
|
|
</customwidgets>
|
2007-02-23 21:37:11 +01:00
|
|
|
<resources/>
|
|
|
|
<connections>
|
|
|
|
<connection>
|
2007-02-23 23:28:29 +01:00
|
|
|
<sender>sliderWhite</sender>
|
2007-02-23 21:37:11 +01:00
|
|
|
<signal>valueChanged(int)</signal>
|
|
|
|
<receiver>lcdNumber</receiver>
|
|
|
|
<slot>display(int)</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel" >
|
2007-03-01 14:18:20 +01:00
|
|
|
<x>720</x>
|
|
|
|
<y>668</y>
|
2007-02-23 21:37:11 +01:00
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel" >
|
2007-03-01 14:18:20 +01:00
|
|
|
<x>870</x>
|
|
|
|
<y>667</y>
|
2007-02-23 21:37:11 +01:00
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
2007-02-23 23:28:29 +01:00
|
|
|
<sender>sliderWhite</sender>
|
2007-02-23 21:37:11 +01:00
|
|
|
<signal>sliderMoved(int)</signal>
|
|
|
|
<receiver>lcdNumber</receiver>
|
|
|
|
<slot>display(int)</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel" >
|
2007-03-01 14:18:20 +01:00
|
|
|
<x>702</x>
|
|
|
|
<y>668</y>
|
2007-02-23 23:28:29 +01:00
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel" >
|
2007-03-01 14:18:20 +01:00
|
|
|
<x>870</x>
|
|
|
|
<y>667</y>
|
2007-02-23 23:28:29 +01:00
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>sliderBlack</sender>
|
|
|
|
<signal>valueChanged(int)</signal>
|
|
|
|
<receiver>lcdNumber_2</receiver>
|
|
|
|
<slot>display(int)</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel" >
|
2007-03-01 14:18:20 +01:00
|
|
|
<x>716</x>
|
|
|
|
<y>698</y>
|
2007-02-23 23:28:29 +01:00
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel" >
|
2007-03-01 14:18:20 +01:00
|
|
|
<x>870</x>
|
|
|
|
<y>696</y>
|
2007-02-23 23:28:29 +01:00
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>sliderBlack</sender>
|
|
|
|
<signal>sliderMoved(int)</signal>
|
|
|
|
<receiver>lcdNumber_2</receiver>
|
|
|
|
<slot>display(int)</slot>
|
2007-03-01 14:18:20 +01:00
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel" >
|
|
|
|
<x>707</x>
|
|
|
|
<y>698</y>
|
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel" >
|
|
|
|
<x>870</x>
|
|
|
|
<y>696</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>whiteImageThreshold</sender>
|
|
|
|
<signal>sliderMoved(int)</signal>
|
|
|
|
<receiver>lcdNumber_3</receiver>
|
|
|
|
<slot>display(int)</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel" >
|
|
|
|
<x>698</x>
|
|
|
|
<y>729</y>
|
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel" >
|
|
|
|
<x>736</x>
|
|
|
|
<y>722</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>whiteImageThreshold</sender>
|
|
|
|
<signal>valueChanged(int)</signal>
|
|
|
|
<receiver>lcdNumber_3</receiver>
|
|
|
|
<slot>display(int)</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel" >
|
|
|
|
<x>574</x>
|
|
|
|
<y>725</y>
|
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel" >
|
|
|
|
<x>813</x>
|
|
|
|
<y>724</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>blackImageThreshold</sender>
|
|
|
|
<signal>valueChanged(int)</signal>
|
|
|
|
<receiver>lcdNumber_4</receiver>
|
|
|
|
<slot>display(int)</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel" >
|
|
|
|
<x>604</x>
|
|
|
|
<y>754</y>
|
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel" >
|
|
|
|
<x>735</x>
|
|
|
|
<y>759</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>blackImageThreshold</sender>
|
|
|
|
<signal>sliderMoved(int)</signal>
|
|
|
|
<receiver>lcdNumber_4</receiver>
|
|
|
|
<slot>display(int)</slot>
|
2007-02-23 23:28:29 +01:00
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel" >
|
|
|
|
<x>561</x>
|
2007-03-01 14:18:20 +01:00
|
|
|
<y>753</y>
|
2007-02-23 21:37:11 +01:00
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel" >
|
2007-03-01 14:18:20 +01:00
|
|
|
<x>816</x>
|
|
|
|
<y>752</y>
|
2007-02-23 21:37:11 +01:00
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
</connections>
|
|
|
|
</ui>
|