Salome HOME
- display error message
[tools/hxx2salome.git] / src / hxx2salome.ui
1 <!DOCTYPE UI><UI version="3.3" stdsetdef="1">
2 <class>HXX2Salome</class>
3 <widget class="QWidget">
4     <property name="name">
5         <cstring>HXX2Salome</cstring>
6     </property>
7     <property name="geometry">
8         <rect>
9             <x>0</x>
10             <y>0</y>
11             <width>520</width>
12             <height>383</height>
13         </rect>
14     </property>
15     <property name="caption">
16         <string>Form1</string>
17     </property>
18     <widget class="QGroupBox">
19         <property name="name">
20             <cstring>Input</cstring>
21         </property>
22         <property name="geometry">
23             <rect>
24                 <x>10</x>
25                 <y>10</y>
26                 <width>500</width>
27                 <height>190</height>
28             </rect>
29         </property>
30         <property name="title">
31             <string>Input</string>
32         </property>
33         <widget class="QPushButton">
34             <property name="name">
35                 <cstring>EnvFileButton</cstring>
36             </property>
37             <property name="geometry">
38                 <rect>
39                     <x>380</x>
40                     <y>150</y>
41                     <width>80</width>
42                     <height>30</height>
43                 </rect>
44             </property>
45             <property name="text">
46                 <string>Browse ...</string>
47             </property>
48         </widget>
49         <widget class="QLabel">
50             <property name="name">
51                 <cstring>IncludeFileLabel</cstring>
52             </property>
53             <property name="geometry">
54                 <rect>
55                     <x>60</x>
56                     <y>70</y>
57                     <width>110</width>
58                     <height>30</height>
59                 </rect>
60             </property>
61             <property name="text">
62                 <string>&lt;p align="right"&gt;C++ include file&lt;/p&gt;</string>
63             </property>
64             <property name="toolTip" stdset="0">
65                 <string>File containing the main C++ component class declaration</string>
66             </property>
67         </widget>
68         <widget class="QLabel">
69             <property name="name">
70                 <cstring>EnvFileLabel</cstring>
71             </property>
72             <property name="geometry">
73                 <rect>
74                     <x>30</x>
75                     <y>150</y>
76                     <width>140</width>
77                     <height>30</height>
78                 </rect>
79             </property>
80             <property name="text">
81                 <string>&lt;p align="right"&gt;Environment file&lt;/p&gt;</string>
82             </property>
83             <property name="toolTip" stdset="0">
84                 <string>shell script where specific environment variable can be initialized for the component</string>
85             </property>
86         </widget>
87         <widget class="QLabel">
88             <property name="name">
89                 <cstring>SourceTree</cstring>
90             </property>
91             <property name="geometry">
92                 <rect>
93                     <x>30</x>
94                     <y>30</y>
95                     <width>140</width>
96                     <height>40</height>
97                 </rect>
98             </property>
99             <property name="text">
100                 <string>&lt;p align="right"&gt;C++ component tree&lt;br&gt;(absolute path)&lt;/p&gt;</string>
101             </property>
102             <property name="toolTip" stdset="0">
103                 <string>This directory (or one ot its subdirectories) contains the main C++ include file and the main shared library of the component</string>
104             </property>
105         </widget>
106         <widget class="QLineEdit">
107             <property name="name">
108                 <cstring>LibraryText</cstring>
109             </property>
110             <property name="geometry">
111                 <rect>
112                     <x>180</x>
113                     <y>110</y>
114                     <width>190</width>
115                     <height>30</height>
116                 </rect>
117             </property>
118         </widget>
119         <widget class="QLineEdit">
120             <property name="name">
121                 <cstring>SourceTreeText</cstring>
122             </property>
123             <property name="geometry">
124                 <rect>
125                     <x>180</x>
126                     <y>30</y>
127                     <width>190</width>
128                     <height>30</height>
129                 </rect>
130             </property>
131         </widget>
132         <widget class="QLineEdit">
133             <property name="name">
134                 <cstring>IncludeText</cstring>
135             </property>
136             <property name="geometry">
137                 <rect>
138                     <x>180</x>
139                     <y>70</y>
140                     <width>190</width>
141                     <height>30</height>
142                 </rect>
143             </property>
144         </widget>
145         <widget class="QPushButton">
146             <property name="name">
147                 <cstring>SourceTreeButton</cstring>
148             </property>
149             <property name="geometry">
150                 <rect>
151                     <x>380</x>
152                     <y>30</y>
153                     <width>80</width>
154                     <height>30</height>
155                 </rect>
156             </property>
157             <property name="text">
158                 <string>Browse ...</string>
159             </property>
160         </widget>
161         <widget class="QPushButton">
162             <property name="name">
163                 <cstring>IncludeButton</cstring>
164             </property>
165             <property name="geometry">
166                 <rect>
167                     <x>380</x>
168                     <y>70</y>
169                     <width>80</width>
170                     <height>30</height>
171                 </rect>
172             </property>
173             <property name="text">
174                 <string>Browse ...</string>
175             </property>
176         </widget>
177         <widget class="QPushButton">
178             <property name="name">
179                 <cstring>LibraryButton</cstring>
180             </property>
181             <property name="geometry">
182                 <rect>
183                     <x>380</x>
184                     <y>110</y>
185                     <width>80</width>
186                     <height>30</height>
187                 </rect>
188             </property>
189             <property name="text">
190                 <string>Browse ...</string>
191             </property>
192         </widget>
193         <widget class="QLabel">
194             <property name="name">
195                 <cstring>LibraryLabel</cstring>
196             </property>
197             <property name="geometry">
198                 <rect>
199                     <x>30</x>
200                     <y>110</y>
201                     <width>140</width>
202                     <height>30</height>
203                 </rect>
204             </property>
205             <property name="text">
206                 <string>&lt;p align="right"&gt;Shared library&lt;/p&gt;</string>
207             </property>
208             <property name="toolTip" stdset="0">
209                 <string>Shared library (.so file) containing the compiled C++ component</string>
210             </property>
211         </widget>
212         <widget class="QLineEdit">
213             <property name="name">
214                 <cstring>EnvFileText</cstring>
215             </property>
216             <property name="geometry">
217                 <rect>
218                     <x>180</x>
219                     <y>150</y>
220                     <width>190</width>
221                     <height>30</height>
222                 </rect>
223             </property>
224         </widget>
225     </widget>
226     <widget class="QPushButton">
227         <property name="name">
228             <cstring>CloseButton</cstring>
229         </property>
230         <property name="geometry">
231             <rect>
232                 <x>390</x>
233                 <y>340</y>
234                 <width>86</width>
235                 <height>28</height>
236             </rect>
237         </property>
238         <property name="text">
239             <string>Close</string>
240         </property>
241     </widget>
242     <widget class="QPushButton">
243         <property name="name">
244             <cstring>GenButton</cstring>
245         </property>
246         <property name="geometry">
247             <rect>
248                 <x>30</x>
249                 <y>340</y>
250                 <width>86</width>
251                 <height>28</height>
252             </rect>
253         </property>
254         <property name="text">
255             <string>Generate</string>
256         </property>
257     </widget>
258     <widget class="QGroupBox">
259         <property name="name">
260             <cstring>Output</cstring>
261         </property>
262         <property name="geometry">
263             <rect>
264                 <x>10</x>
265                 <y>200</y>
266                 <width>500</width>
267                 <height>130</height>
268             </rect>
269         </property>
270         <property name="title">
271             <string>Output</string>
272         </property>
273         <widget class="QPushButton">
274             <property name="name">
275                 <cstring>OutputTreeButton</cstring>
276             </property>
277             <property name="geometry">
278                 <rect>
279                     <x>380</x>
280                     <y>30</y>
281                     <width>80</width>
282                     <height>30</height>
283                 </rect>
284             </property>
285             <property name="text">
286                 <string>Browse ...</string>
287             </property>
288         </widget>
289         <widget class="QLabel">
290             <property name="name">
291                 <cstring>OutputTreeLabel</cstring>
292             </property>
293             <property name="geometry">
294                 <rect>
295                     <x>30</x>
296                     <y>30</y>
297                     <width>140</width>
298                     <height>30</height>
299                 </rect>
300             </property>
301             <property name="text">
302                 <string>Salome component tree</string>
303             </property>
304         </widget>
305         <widget class="QLineEdit">
306             <property name="name">
307                 <cstring>OutputTreeText</cstring>
308             </property>
309             <property name="geometry">
310                 <rect>
311                     <x>180</x>
312                     <y>30</y>
313                     <width>190</width>
314                     <height>30</height>
315                 </rect>
316             </property>
317         </widget>
318         <widget class="QComboBox">
319             <item>
320                 <property name="text">
321                     <string>bash</string>
322                 </property>
323             </item>
324             <item>
325                 <property name="text">
326                     <string>csh</string>
327                 </property>
328             </item>
329             <property name="name">
330                 <cstring>ShellChoice</cstring>
331             </property>
332             <property name="geometry">
333                 <rect>
334                     <x>90</x>
335                     <y>69</y>
336                     <width>90</width>
337                     <height>30</height>
338                 </rect>
339             </property>
340         </widget>
341         <widget class="QLabel">
342             <property name="name">
343                 <cstring>ShellText</cstring>
344             </property>
345             <property name="geometry">
346                 <rect>
347                     <x>40</x>
348                     <y>69</y>
349                     <width>40</width>
350                     <height>30</height>
351                 </rect>
352             </property>
353             <property name="text">
354                 <string>Shell</string>
355             </property>
356         </widget>
357         <widget class="QCheckBox">
358             <property name="name">
359                 <cstring>Compile</cstring>
360             </property>
361             <property name="geometry">
362                 <rect>
363                     <x>200</x>
364                     <y>70</y>
365                     <width>210</width>
366                     <height>30</height>
367                 </rect>
368             </property>
369             <property name="text">
370                 <string>Compile Salome Component</string>
371             </property>
372         </widget>
373         <widget class="QLabel">
374             <property name="name">
375                 <cstring>textLabel1</cstring>
376             </property>
377             <property name="geometry">
378                 <rect>
379                     <x>230</x>
380                     <y>90</y>
381                     <width>259</width>
382                     <height>30</height>
383                 </rect>
384             </property>
385             <property name="text">
386                 <string>(if checked, generation can take a long time)</string>
387             </property>
388         </widget>
389     </widget>
390 </widget>
391 <connections>
392     <connection>
393         <sender>CloseButton</sender>
394         <signal>pressed()</signal>
395         <receiver>HXX2Salome</receiver>
396         <slot>CloseButton_pressed()</slot>
397     </connection>
398     <connection>
399         <sender>SourceTreeButton</sender>
400         <signal>pressed()</signal>
401         <receiver>HXX2Salome</receiver>
402         <slot>SourceTreeButton_pressed()</slot>
403     </connection>
404     <connection>
405         <sender>SourceTreeText</sender>
406         <signal>textChanged(const QString&amp;)</signal>
407         <receiver>HXX2Salome</receiver>
408         <slot>newComponentTree()</slot>
409     </connection>
410     <connection>
411         <sender>IncludeText</sender>
412         <signal>textChanged(const QString&amp;)</signal>
413         <receiver>HXX2Salome</receiver>
414         <slot>newIncludeFile()</slot>
415     </connection>
416     <connection>
417         <sender>LibraryText</sender>
418         <signal>textChanged(const QString&amp;)</signal>
419         <receiver>HXX2Salome</receiver>
420         <slot>newSharedLibrary()</slot>
421     </connection>
422     <connection>
423         <sender>EnvFileText</sender>
424         <signal>textChanged(const QString&amp;)</signal>
425         <receiver>HXX2Salome</receiver>
426         <slot>newEnvFile()</slot>
427     </connection>
428     <connection>
429         <sender>OutputTreeButton</sender>
430         <signal>pressed()</signal>
431         <receiver>HXX2Salome</receiver>
432         <slot>newOutputTree()</slot>
433     </connection>
434     <connection>
435         <sender>OutputTreeText</sender>
436         <signal>textChanged(const QString&amp;)</signal>
437         <receiver>HXX2Salome</receiver>
438         <slot>newOutputTree()</slot>
439     </connection>
440     <connection>
441         <sender>IncludeButton</sender>
442         <signal>pressed()</signal>
443         <receiver>HXX2Salome</receiver>
444         <slot>IncludeButton_pressed()</slot>
445     </connection>
446     <connection>
447         <sender>LibraryButton</sender>
448         <signal>pressed()</signal>
449         <receiver>HXX2Salome</receiver>
450         <slot>LibraryButton_pressed()</slot>
451     </connection>
452     <connection>
453         <sender>EnvFileButton</sender>
454         <signal>pressed()</signal>
455         <receiver>HXX2Salome</receiver>
456         <slot>EnvFileButton_pressed()</slot>
457     </connection>
458     <connection>
459         <sender>OutputTreeButton</sender>
460         <signal>pressed()</signal>
461         <receiver>HXX2Salome</receiver>
462         <slot>OutputTreeButton_pressed()</slot>
463     </connection>
464     <connection>
465         <sender>GenButton</sender>
466         <signal>pressed()</signal>
467         <receiver>HXX2Salome</receiver>
468         <slot>GenerateButton_pressed()</slot>
469     </connection>
470     <connection>
471         <sender>ShellChoice</sender>
472         <signal>activated(int)</signal>
473         <receiver>HXX2Salome</receiver>
474         <slot>ShellChoice_activated(int)</slot>
475     </connection>
476 </connections>
477 <includes>
478     <include location="local" impldecl="in implementation">hxx2salome.ui.h</include>
479 </includes>
480 <variables>
481     <variable>QString CppLibDir;</variable>
482     <variable>QString SalomeDir;</variable>
483     <variable>QString CppDir;</variable>
484     <variable>QString CppInc;</variable>
485     <variable>QString CppLib;</variable>
486     <variable>QString EnvFile;</variable>
487     <variable>QString CppIncDir;</variable>
488     <variable>int shell;</variable>
489 </variables>
490 <slots>
491     <slot>CloseButton_pressed()</slot>
492     <slot>SourceTreeButton_pressed()</slot>
493     <slot>newComponentTree()</slot>
494     <slot>newIncludeFile()</slot>
495     <slot>newSharedLibrary()</slot>
496     <slot>newEnvFile()</slot>
497     <slot>newOutputTree()</slot>
498     <slot>OutputTreeButton_pressed()</slot>
499     <slot>IncludeButton_pressed()</slot>
500     <slot>LibraryButton_pressed()</slot>
501     <slot>EnvFileButton_pressed()</slot>
502     <slot>shellChanged( int n )</slot>
503     <slot>GenerateButton_pressed()</slot>
504     <slot>ShellChoice_activated( int n )</slot>
505     <slot>init()</slot>
506     <slot>destroy()</slot>
507 </slots>
508 <layoutdefaults spacing="6" margin="11"/>
509 </UI>