Subversion Repositories OpenCV2-Cookbook

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
3 PointedEar 1
<?xml version="1.0" encoding="UTF-8"?>
2
<ui version="4.0">
3
 <class>MainWindow</class>
4
 <widget class="QMainWindow" name="MainWindow">
5
  <property name="geometry">
6
   <rect>
7
    <x>0</x>
8
    <y>0</y>
9
    <width>600</width>
10
    <height>394</height>
11
   </rect>
12
  </property>
13
  <property name="windowTitle">
14
   <string>Color Detector (CIE Lab)</string>
15
  </property>
16
  <widget class="QWidget" name="centralWidget">
17
   <widget class="QPushButton" name="pushButton_openImage">
18
    <property name="geometry">
19
     <rect>
20
      <x>10</x>
21
      <y>10</y>
22
      <width>81</width>
23
      <height>23</height>
24
     </rect>
25
    </property>
26
    <property name="text">
27
     <string>Open Image</string>
28
    </property>
29
   </widget>
30
   <widget class="QPushButton" name="pushButton_color">
31
    <property name="geometry">
32
     <rect>
33
      <x>10</x>
34
      <y>40</y>
35
      <width>81</width>
36
      <height>23</height>
37
     </rect>
38
    </property>
39
    <property name="text">
40
     <string>Select Color</string>
41
    </property>
42
   </widget>
43
   <widget class="QPushButton" name="pushButton_process">
44
    <property name="geometry">
45
     <rect>
46
      <x>10</x>
47
      <y>320</y>
48
      <width>81</width>
49
      <height>23</height>
50
     </rect>
51
    </property>
52
    <property name="text">
53
     <string>Process</string>
54
    </property>
55
   </widget>
56
   <widget class="QLabel" name="label">
57
    <property name="geometry">
58
     <rect>
59
      <x>100</x>
60
      <y>10</y>
61
      <width>491</width>
62
      <height>331</height>
63
     </rect>
64
    </property>
65
    <property name="frameShape">
66
     <enum>QFrame::Box</enum>
67
    </property>
68
    <property name="text">
69
     <string>Image</string>
70
    </property>
71
   </widget>
72
   <widget class="QSlider" name="verticalSlider_Threshold">
73
    <property name="geometry">
74
     <rect>
75
      <x>40</x>
76
      <y>80</y>
77
      <width>20</width>
78
      <height>151</height>
79
     </rect>
80
    </property>
81
    <property name="maximum">
82
     <number>442</number>
83
    </property>
84
    <property name="orientation">
85
     <enum>Qt::Vertical</enum>
86
    </property>
87
   </widget>
88
   <widget class="QLabel" name="label_2">
89
    <property name="geometry">
90
     <rect>
91
      <x>10</x>
92
      <y>240</y>
93
      <width>81</width>
94
      <height>71</height>
95
     </rect>
96
    </property>
97
    <property name="text">
98
     <string>Color Distance Threshold: 0</string>
99
    </property>
100
    <property name="wordWrap">
101
     <bool>true</bool>
102
    </property>
103
   </widget>
104
  </widget>
105
  <widget class="QMenuBar" name="menuBar">
106
   <property name="geometry">
107
    <rect>
108
     <x>0</x>
109
     <y>0</y>
110
     <width>600</width>
111
     <height>23</height>
112
    </rect>
113
   </property>
114
   <widget class="QMenu" name="menuFile">
115
    <property name="title">
116
     <string>File</string>
117
    </property>
118
    <addaction name="actionOpen_Image"/>
119
    <addaction name="actionChoose_Color"/>
120
    <addaction name="actionProcess"/>
121
    <addaction name="separator"/>
122
    <addaction name="actionQuit"/>
123
   </widget>
124
   <addaction name="menuFile"/>
125
  </widget>
126
  <widget class="QStatusBar" name="statusBar"/>
127
  <action name="actionOpen_Image">
128
   <property name="text">
129
    <string>Open Image</string>
130
   </property>
131
  </action>
132
  <action name="actionChoose_Color">
133
   <property name="text">
134
    <string>Choose Color</string>
135
   </property>
136
  </action>
137
  <action name="actionProcess">
138
   <property name="text">
139
    <string>Process</string>
140
   </property>
141
  </action>
142
  <action name="actionQuit">
143
   <property name="text">
144
    <string>Quit</string>
145
   </property>
146
  </action>
147
 </widget>
148
 <layoutdefault spacing="6" margin="11"/>
149
 <resources/>
150
 <connections>
151
  <connection>
152
   <sender>actionQuit</sender>
153
   <signal>triggered()</signal>
154
   <receiver>MainWindow</receiver>
155
   <slot>close()</slot>
156
   <hints>
157
    <hint type="sourcelabel">
158
     <x>-1</x>
159
     <y>-1</y>
160
    </hint>
161
    <hint type="destinationlabel">
162
     <x>299</x>
163
     <y>199</y>
164
    </hint>
165
   </hints>
166
  </connection>
167
 </connections>
168
</ui>