Salome HOME
b9f4a54f7beca4df1ac90a6f36e53a54b3d66071
[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>429</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>GenButton</cstring>
229         </property>
230         <property name="geometry">
231             <rect>
232                 <x>30</x>
233                 <y>380</y>
234                 <width>86</width>
235                 <height>28</height>
236             </rect>
237         </property>
238         <property name="text">
239             <string>Generate</string>
240         </property>
241     </widget>
242     <widget class="QPushButton">
243         <property name="name">
244             <cstring>CloseButton</cstring>
245         </property>
246         <property name="geometry">
247             <rect>
248                 <x>390</x>
249                 <y>380</y>
250                 <width>86</width>
251                 <height>28</height>
252             </rect>
253         </property>
254         <property name="text">
255             <string>Close</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>160</height>
268             </rect>
269         </property>
270         <property name="title">
271             <string>Output</string>
272         </property>
273         <widget class="QLabel">
274             <property name="name">
275                 <cstring>OutputTreeLabel</cstring>
276             </property>
277             <property name="geometry">
278                 <rect>
279                     <x>30</x>
280                     <y>30</y>
281                     <width>140</width>
282                     <height>30</height>
283                 </rect>
284             </property>
285             <property name="text">
286                 <string>Salome component tree</string>
287             </property>
288         </widget>
289         <widget class="QLineEdit">
290             <property name="name">
291                 <cstring>OutputTreeText</cstring>
292             </property>
293             <property name="geometry">
294                 <rect>
295                     <x>180</x>
296                     <y>30</y>
297                     <width>190</width>
298                     <height>30</height>
299                 </rect>
300             </property>
301         </widget>
302         <widget class="QLabel">
303             <property name="name">
304                 <cstring>textLabel1</cstring>
305             </property>
306             <property name="geometry">
307                 <rect>
308                     <x>230</x>
309                     <y>120</y>
310                     <width>259</width>
311                     <height>30</height>
312                 </rect>
313             </property>
314             <property name="text">
315                 <string>(if checked, generation can take a long time)</string>
316             </property>
317         </widget>
318         <widget class="QPushButton">
319             <property name="name">
320                 <cstring>OutputTreeButton</cstring>
321             </property>
322             <property name="geometry">
323                 <rect>
324                     <x>380</x>
325                     <y>30</y>
326                     <width>80</width>
327                     <height>30</height>
328                 </rect>
329             </property>
330             <property name="text">
331                 <string>Browse ...</string>
332             </property>
333         </widget>
334         <widget class="QComboBox">
335             <item>
336                 <property name="text">
337                     <string>bash</string>
338                 </property>
339             </item>
340             <item>
341                 <property name="text">
342                     <string>csh</string>
343                 </property>
344             </item>
345             <property name="name">
346                 <cstring>ShellChoice</cstring>
347             </property>
348             <property name="geometry">
349                 <rect>
350                     <x>90</x>
351                     <y>69</y>
352                     <width>90</width>
353                     <height>30</height>
354                 </rect>
355             </property>
356         </widget>
357         <widget class="QLabel">
358             <property name="name">
359                 <cstring>ShellText</cstring>
360             </property>
361             <property name="geometry">
362                 <rect>
363                     <x>40</x>
364                     <y>69</y>
365                     <width>40</width>
366                     <height>30</height>
367                 </rect>
368             </property>
369             <property name="text">
370                 <string>Shell</string>
371             </property>
372         </widget>
373         <widget class="QCheckBox">
374             <property name="name">
375                 <cstring>makeGUI</cstring>
376             </property>
377             <property name="geometry">
378                 <rect>
379                     <x>200</x>
380                     <y>70</y>
381                     <width>241</width>
382                     <height>31</height>
383                 </rect>
384             </property>
385             <property name="text">
386                 <string>Generate file structure for GUI</string>
387             </property>
388         </widget>
389         <widget class="QCheckBox">
390             <property name="name">
391                 <cstring>Compile</cstring>
392             </property>
393             <property name="geometry">
394                 <rect>
395                     <x>200</x>
396                     <y>100</y>
397                     <width>210</width>
398                     <height>30</height>
399                 </rect>
400             </property>
401             <property name="text">
402                 <string>Compile Salome Component</string>
403             </property>
404         </widget>
405     </widget>
406 </widget>
407 <connections>
408     <connection>
409         <sender>CloseButton</sender>
410         <signal>pressed()</signal>
411         <receiver>HXX2Salome</receiver>
412         <slot>CloseButton_pressed()</slot>
413     </connection>
414     <connection>
415         <sender>SourceTreeButton</sender>
416         <signal>pressed()</signal>
417         <receiver>HXX2Salome</receiver>
418         <slot>SourceTreeButton_pressed()</slot>
419     </connection>
420     <connection>
421         <sender>SourceTreeText</sender>
422         <signal>textChanged(const QString&amp;)</signal>
423         <receiver>HXX2Salome</receiver>
424         <slot>newComponentTree()</slot>
425     </connection>
426     <connection>
427         <sender>IncludeText</sender>
428         <signal>textChanged(const QString&amp;)</signal>
429         <receiver>HXX2Salome</receiver>
430         <slot>newIncludeFile()</slot>
431     </connection>
432     <connection>
433         <sender>LibraryText</sender>
434         <signal>textChanged(const QString&amp;)</signal>
435         <receiver>HXX2Salome</receiver>
436         <slot>newSharedLibrary()</slot>
437     </connection>
438     <connection>
439         <sender>EnvFileText</sender>
440         <signal>textChanged(const QString&amp;)</signal>
441         <receiver>HXX2Salome</receiver>
442         <slot>newEnvFile()</slot>
443     </connection>
444     <connection>
445         <sender>OutputTreeButton</sender>
446         <signal>pressed()</signal>
447         <receiver>HXX2Salome</receiver>
448         <slot>newOutputTree()</slot>
449     </connection>
450     <connection>
451         <sender>OutputTreeText</sender>
452         <signal>textChanged(const QString&amp;)</signal>
453         <receiver>HXX2Salome</receiver>
454         <slot>newOutputTree()</slot>
455     </connection>
456     <connection>
457         <sender>IncludeButton</sender>
458         <signal>pressed()</signal>
459         <receiver>HXX2Salome</receiver>
460         <slot>IncludeButton_pressed()</slot>
461     </connection>
462     <connection>
463         <sender>LibraryButton</sender>
464         <signal>pressed()</signal>
465         <receiver>HXX2Salome</receiver>
466         <slot>LibraryButton_pressed()</slot>
467     </connection>
468     <connection>
469         <sender>EnvFileButton</sender>
470         <signal>pressed()</signal>
471         <receiver>HXX2Salome</receiver>
472         <slot>EnvFileButton_pressed()</slot>
473     </connection>
474     <connection>
475         <sender>OutputTreeButton</sender>
476         <signal>pressed()</signal>
477         <receiver>HXX2Salome</receiver>
478         <slot>OutputTreeButton_pressed()</slot>
479     </connection>
480     <connection>
481         <sender>GenButton</sender>
482         <signal>pressed()</signal>
483         <receiver>HXX2Salome</receiver>
484         <slot>GenerateButton_pressed()</slot>
485     </connection>
486     <connection>
487         <sender>ShellChoice</sender>
488         <signal>activated(int)</signal>
489         <receiver>HXX2Salome</receiver>
490         <slot>ShellChoice_activated(int)</slot>
491     </connection>
492 </connections>
493 <variables>
494     <variable>QString CppLibDir;</variable>
495     <variable>QString SalomeDir;</variable>
496     <variable>QString CppDir;</variable>
497     <variable>QString CppInc;</variable>
498     <variable>QString CppLib;</variable>
499     <variable>QString EnvFile;</variable>
500     <variable>QString CppIncDir;</variable>
501     <variable>int shell;</variable>
502 </variables>
503 <slots>
504     <slot>CloseButton_pressed()</slot>
505     <slot>SourceTreeButton_pressed()</slot>
506     <slot>newComponentTree()</slot>
507     <slot>newIncludeFile()</slot>
508     <slot>newSharedLibrary()</slot>
509     <slot>newEnvFile()</slot>
510     <slot>newOutputTree()</slot>
511     <slot>OutputTreeButton_pressed()</slot>
512     <slot>IncludeButton_pressed()</slot>
513     <slot>LibraryButton_pressed()</slot>
514     <slot>EnvFileButton_pressed()</slot>
515     <slot>shellChanged( int n )</slot>
516     <slot>GenerateButton_pressed()</slot>
517     <slot>ShellChoice_activated( int n )</slot>
518     <slot>init()</slot>
519     <slot>destroy()</slot>
520 </slots>
521 <layoutdefaults spacing="6" margin="11"/>
522 </UI>