Fixed NetSend so it can be used in debug mode.
[qt/compvision.git] / DestinationDialog.ui
1 <ui version="4.0" >
2  <author></author>
3  <comment></comment>
4  <exportmacro></exportmacro>
5  <class>DestinationDialog</class>
6  <widget class="QDialog" name="DestinationDialog" >
7   <property name="geometry" >
8    <rect>
9     <x>0</x>
10     <y>0</y>
11     <width>333</width>
12     <height>170</height>
13    </rect>
14   </property>
15   <property name="windowTitle" >
16    <string>Image Destinations</string>
17   </property>
18   <layout class="QVBoxLayout" >
19    <property name="margin" >
20     <number>9</number>
21    </property>
22    <property name="spacing" >
23     <number>6</number>
24    </property>
25    <item>
26     <widget class="QGroupBox" name="groupNetwork" >
27      <property name="title" >
28       <string>Networking</string>
29      </property>
30      <property name="checkable" >
31       <bool>true</bool>
32      </property>
33      <property name="checked" >
34       <bool>false</bool>
35      </property>
36      <layout class="QGridLayout" >
37       <property name="margin" >
38        <number>9</number>
39       </property>
40       <property name="spacing" >
41        <number>6</number>
42       </property>
43       <item row="2" column="1" colspan="2" >
44        <widget class="QLineEdit" name="lineAddress" >
45         <property name="enabled" >
46          <bool>false</bool>
47         </property>
48         <property name="inputMask" >
49          <string>000.000.000.000; </string>
50         </property>
51        </widget>
52       </item>
53       <item row="1" column="0" >
54        <widget class="QLabel" name="label" >
55         <property name="text" >
56          <string>Port :</string>
57         </property>
58         <property name="alignment" >
59          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
60         </property>
61        </widget>
62       </item>
63       <item row="2" column="0" >
64        <widget class="QLabel" name="label_3" >
65         <property name="text" >
66          <string>IP Address :</string>
67         </property>
68         <property name="alignment" >
69          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
70         </property>
71        </widget>
72       </item>
73       <item row="1" column="1" >
74        <widget class="QSpinBox" name="spinPort" >
75         <property name="maximum" >
76          <number>20000</number>
77         </property>
78         <property name="minimum" >
79          <number>1000</number>
80         </property>
81         <property name="value" >
82          <number>12321</number>
83         </property>
84        </widget>
85       </item>
86       <item row="0" column="3" >
87        <widget class="QCheckBox" name="checkBroadcast" >
88         <property name="text" >
89          <string>Broadcast</string>
90         </property>
91         <property name="checked" >
92          <bool>true</bool>
93         </property>
94        </widget>
95       </item>
96       <item row="0" column="2" >
97        <widget class="QRadioButton" name="radioUDP" >
98         <property name="text" >
99          <string>UDP</string>
100         </property>
101         <property name="checked" >
102          <bool>true</bool>
103         </property>
104        </widget>
105       </item>
106       <item row="0" column="0" >
107        <widget class="QLabel" name="label_2" >
108         <property name="text" >
109          <string>Protocol :</string>
110         </property>
111         <property name="alignment" >
112          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
113         </property>
114        </widget>
115       </item>
116       <item row="0" column="1" >
117        <widget class="QRadioButton" name="radioTCP" >
118         <property name="text" >
119          <string>TCP</string>
120         </property>
121        </widget>
122       </item>
123      </layout>
124     </widget>
125    </item>
126    <item>
127     <layout class="QHBoxLayout" >
128      <property name="margin" >
129       <number>0</number>
130      </property>
131      <property name="spacing" >
132       <number>6</number>
133      </property>
134      <item>
135       <spacer>
136        <property name="orientation" >
137         <enum>Qt::Horizontal</enum>
138        </property>
139        <property name="sizeHint" >
140         <size>
141          <width>131</width>
142          <height>31</height>
143         </size>
144        </property>
145       </spacer>
146      </item>
147      <item>
148       <widget class="QPushButton" name="okButton" >
149        <property name="text" >
150         <string>OK</string>
151        </property>
152       </widget>
153      </item>
154      <item>
155       <widget class="QPushButton" name="cancelButton" >
156        <property name="text" >
157         <string>Cancel</string>
158        </property>
159       </widget>
160      </item>
161     </layout>
162    </item>
163   </layout>
164  </widget>
165  <pixmapfunction></pixmapfunction>
166  <tabstops>
167   <tabstop>radioTCP</tabstop>
168   <tabstop>radioUDP</tabstop>
169   <tabstop>checkBroadcast</tabstop>
170   <tabstop>spinPort</tabstop>
171   <tabstop>lineAddress</tabstop>
172   <tabstop>okButton</tabstop>
173   <tabstop>cancelButton</tabstop>
174  </tabstops>
175  <resources/>
176  <connections>
177   <connection>
178    <sender>okButton</sender>
179    <signal>clicked()</signal>
180    <receiver>DestinationDialog</receiver>
181    <slot>accept()</slot>
182    <hints>
183     <hint type="sourcelabel" >
184      <x>221</x>
185      <y>261</y>
186     </hint>
187     <hint type="destinationlabel" >
188      <x>96</x>
189      <y>254</y>
190     </hint>
191    </hints>
192   </connection>
193   <connection>
194    <sender>cancelButton</sender>
195    <signal>clicked()</signal>
196    <receiver>DestinationDialog</receiver>
197    <slot>reject()</slot>
198    <hints>
199     <hint type="sourcelabel" >
200      <x>304</x>
201      <y>261</y>
202     </hint>
203     <hint type="destinationlabel" >
204      <x>179</x>
205      <y>282</y>
206     </hint>
207    </hints>
208   </connection>
209   <connection>
210    <sender>radioUDP</sender>
211    <signal>toggled(bool)</signal>
212    <receiver>checkBroadcast</receiver>
213    <slot>setEnabled(bool)</slot>
214    <hints>
215     <hint type="sourcelabel" >
216      <x>187</x>
217      <y>56</y>
218     </hint>
219     <hint type="destinationlabel" >
220      <x>69</x>
221      <y>134</y>
222     </hint>
223    </hints>
224   </connection>
225   <connection>
226    <sender>checkBroadcast</sender>
227    <signal>toggled(bool)</signal>
228    <receiver>lineAddress</receiver>
229    <slot>setDisabled(bool)</slot>
230    <hints>
231     <hint type="sourcelabel" >
232      <x>101</x>
233      <y>124</y>
234     </hint>
235     <hint type="destinationlabel" >
236      <x>134</x>
237      <y>163</y>
238     </hint>
239    </hints>
240   </connection>
241  </connections>
242 </ui>