Salome HOME
Merge GUI developments from BR_GUI
[tools/hxx2salome.git] / src / hxx2salome.ui
diff --git a/src/hxx2salome.ui b/src/hxx2salome.ui
new file mode 100644 (file)
index 0000000..2e2ceb8
--- /dev/null
@@ -0,0 +1,509 @@
+<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
+<class>HXX2Salome</class>
+<widget class="QWidget">
+    <property name="name">
+        <cstring>HXX2Salome</cstring>
+    </property>
+    <property name="geometry">
+        <rect>
+            <x>0</x>
+            <y>0</y>
+            <width>520</width>
+            <height>383</height>
+        </rect>
+    </property>
+    <property name="caption">
+        <string>Form1</string>
+    </property>
+    <widget class="QGroupBox">
+        <property name="name">
+            <cstring>Input</cstring>
+        </property>
+        <property name="geometry">
+            <rect>
+                <x>10</x>
+                <y>10</y>
+                <width>500</width>
+                <height>190</height>
+            </rect>
+        </property>
+        <property name="title">
+            <string>Input</string>
+        </property>
+        <widget class="QPushButton">
+            <property name="name">
+                <cstring>EnvFileButton</cstring>
+            </property>
+            <property name="geometry">
+                <rect>
+                    <x>380</x>
+                    <y>150</y>
+                    <width>80</width>
+                    <height>30</height>
+                </rect>
+            </property>
+            <property name="text">
+                <string>Browse ...</string>
+            </property>
+        </widget>
+        <widget class="QLabel">
+            <property name="name">
+                <cstring>IncludeFileLabel</cstring>
+            </property>
+            <property name="geometry">
+                <rect>
+                    <x>60</x>
+                    <y>70</y>
+                    <width>110</width>
+                    <height>30</height>
+                </rect>
+            </property>
+            <property name="text">
+                <string>&lt;p align="right"&gt;C++ include file&lt;/p&gt;</string>
+            </property>
+            <property name="toolTip" stdset="0">
+                <string>File containing the main C++ component class declaration</string>
+            </property>
+        </widget>
+        <widget class="QLabel">
+            <property name="name">
+                <cstring>EnvFileLabel</cstring>
+            </property>
+            <property name="geometry">
+                <rect>
+                    <x>30</x>
+                    <y>150</y>
+                    <width>140</width>
+                    <height>30</height>
+                </rect>
+            </property>
+            <property name="text">
+                <string>&lt;p align="right"&gt;Environment file&lt;/p&gt;</string>
+            </property>
+            <property name="toolTip" stdset="0">
+                <string>shell script where specific environment variable can be initialized for the component</string>
+            </property>
+        </widget>
+        <widget class="QLabel">
+            <property name="name">
+                <cstring>SourceTree</cstring>
+            </property>
+            <property name="geometry">
+                <rect>
+                    <x>30</x>
+                    <y>30</y>
+                    <width>140</width>
+                    <height>40</height>
+                </rect>
+            </property>
+            <property name="text">
+                <string>&lt;p align="right"&gt;C++ component tree&lt;br&gt;(absolute path)&lt;/p&gt;</string>
+            </property>
+            <property name="toolTip" stdset="0">
+                <string>This directory (or one ot its subdirectories) contains the main C++ include file and the main shared library of the component</string>
+            </property>
+        </widget>
+        <widget class="QLineEdit">
+            <property name="name">
+                <cstring>LibraryText</cstring>
+            </property>
+            <property name="geometry">
+                <rect>
+                    <x>180</x>
+                    <y>110</y>
+                    <width>190</width>
+                    <height>30</height>
+                </rect>
+            </property>
+        </widget>
+        <widget class="QLineEdit">
+            <property name="name">
+                <cstring>SourceTreeText</cstring>
+            </property>
+            <property name="geometry">
+                <rect>
+                    <x>180</x>
+                    <y>30</y>
+                    <width>190</width>
+                    <height>30</height>
+                </rect>
+            </property>
+        </widget>
+        <widget class="QLineEdit">
+            <property name="name">
+                <cstring>IncludeText</cstring>
+            </property>
+            <property name="geometry">
+                <rect>
+                    <x>180</x>
+                    <y>70</y>
+                    <width>190</width>
+                    <height>30</height>
+                </rect>
+            </property>
+        </widget>
+        <widget class="QPushButton">
+            <property name="name">
+                <cstring>SourceTreeButton</cstring>
+            </property>
+            <property name="geometry">
+                <rect>
+                    <x>380</x>
+                    <y>30</y>
+                    <width>80</width>
+                    <height>30</height>
+                </rect>
+            </property>
+            <property name="text">
+                <string>Browse ...</string>
+            </property>
+        </widget>
+        <widget class="QPushButton">
+            <property name="name">
+                <cstring>IncludeButton</cstring>
+            </property>
+            <property name="geometry">
+                <rect>
+                    <x>380</x>
+                    <y>70</y>
+                    <width>80</width>
+                    <height>30</height>
+                </rect>
+            </property>
+            <property name="text">
+                <string>Browse ...</string>
+            </property>
+        </widget>
+        <widget class="QPushButton">
+            <property name="name">
+                <cstring>LibraryButton</cstring>
+            </property>
+            <property name="geometry">
+                <rect>
+                    <x>380</x>
+                    <y>110</y>
+                    <width>80</width>
+                    <height>30</height>
+                </rect>
+            </property>
+            <property name="text">
+                <string>Browse ...</string>
+            </property>
+        </widget>
+        <widget class="QLabel">
+            <property name="name">
+                <cstring>LibraryLabel</cstring>
+            </property>
+            <property name="geometry">
+                <rect>
+                    <x>30</x>
+                    <y>110</y>
+                    <width>140</width>
+                    <height>30</height>
+                </rect>
+            </property>
+            <property name="text">
+                <string>&lt;p align="right"&gt;Shared library&lt;/p&gt;</string>
+            </property>
+            <property name="toolTip" stdset="0">
+                <string>Shared library (.so file) containing the compiled C++ component</string>
+            </property>
+        </widget>
+        <widget class="QLineEdit">
+            <property name="name">
+                <cstring>EnvFileText</cstring>
+            </property>
+            <property name="geometry">
+                <rect>
+                    <x>180</x>
+                    <y>150</y>
+                    <width>190</width>
+                    <height>30</height>
+                </rect>
+            </property>
+        </widget>
+    </widget>
+    <widget class="QPushButton">
+        <property name="name">
+            <cstring>CloseButton</cstring>
+        </property>
+        <property name="geometry">
+            <rect>
+                <x>390</x>
+                <y>340</y>
+                <width>86</width>
+                <height>28</height>
+            </rect>
+        </property>
+        <property name="text">
+            <string>Close</string>
+        </property>
+    </widget>
+    <widget class="QPushButton">
+        <property name="name">
+            <cstring>GenButton</cstring>
+        </property>
+        <property name="geometry">
+            <rect>
+                <x>30</x>
+                <y>340</y>
+                <width>86</width>
+                <height>28</height>
+            </rect>
+        </property>
+        <property name="text">
+            <string>Generate</string>
+        </property>
+    </widget>
+    <widget class="QGroupBox">
+        <property name="name">
+            <cstring>Output</cstring>
+        </property>
+        <property name="geometry">
+            <rect>
+                <x>10</x>
+                <y>200</y>
+                <width>500</width>
+                <height>130</height>
+            </rect>
+        </property>
+        <property name="title">
+            <string>Output</string>
+        </property>
+        <widget class="QPushButton">
+            <property name="name">
+                <cstring>OutputTreeButton</cstring>
+            </property>
+            <property name="geometry">
+                <rect>
+                    <x>380</x>
+                    <y>30</y>
+                    <width>80</width>
+                    <height>30</height>
+                </rect>
+            </property>
+            <property name="text">
+                <string>Browse ...</string>
+            </property>
+        </widget>
+        <widget class="QLabel">
+            <property name="name">
+                <cstring>OutputTreeLabel</cstring>
+            </property>
+            <property name="geometry">
+                <rect>
+                    <x>30</x>
+                    <y>30</y>
+                    <width>140</width>
+                    <height>30</height>
+                </rect>
+            </property>
+            <property name="text">
+                <string>Salome component tree</string>
+            </property>
+        </widget>
+        <widget class="QLineEdit">
+            <property name="name">
+                <cstring>OutputTreeText</cstring>
+            </property>
+            <property name="geometry">
+                <rect>
+                    <x>180</x>
+                    <y>30</y>
+                    <width>190</width>
+                    <height>30</height>
+                </rect>
+            </property>
+        </widget>
+        <widget class="QComboBox">
+            <item>
+                <property name="text">
+                    <string>bash</string>
+                </property>
+            </item>
+            <item>
+                <property name="text">
+                    <string>csh</string>
+                </property>
+            </item>
+            <property name="name">
+                <cstring>ShellChoice</cstring>
+            </property>
+            <property name="geometry">
+                <rect>
+                    <x>90</x>
+                    <y>69</y>
+                    <width>90</width>
+                    <height>30</height>
+                </rect>
+            </property>
+        </widget>
+        <widget class="QLabel">
+            <property name="name">
+                <cstring>ShellText</cstring>
+            </property>
+            <property name="geometry">
+                <rect>
+                    <x>40</x>
+                    <y>69</y>
+                    <width>40</width>
+                    <height>30</height>
+                </rect>
+            </property>
+            <property name="text">
+                <string>Shell</string>
+            </property>
+        </widget>
+        <widget class="QCheckBox">
+            <property name="name">
+                <cstring>Compile</cstring>
+            </property>
+            <property name="geometry">
+                <rect>
+                    <x>200</x>
+                    <y>70</y>
+                    <width>210</width>
+                    <height>30</height>
+                </rect>
+            </property>
+            <property name="text">
+                <string>Compile Salome Component</string>
+            </property>
+        </widget>
+        <widget class="QLabel">
+            <property name="name">
+                <cstring>textLabel1</cstring>
+            </property>
+            <property name="geometry">
+                <rect>
+                    <x>230</x>
+                    <y>90</y>
+                    <width>259</width>
+                    <height>30</height>
+                </rect>
+            </property>
+            <property name="text">
+                <string>(if checked, generation can take a long time)</string>
+            </property>
+        </widget>
+    </widget>
+</widget>
+<connections>
+    <connection>
+        <sender>CloseButton</sender>
+        <signal>pressed()</signal>
+        <receiver>HXX2Salome</receiver>
+        <slot>CloseButton_pressed()</slot>
+    </connection>
+    <connection>
+        <sender>SourceTreeButton</sender>
+        <signal>pressed()</signal>
+        <receiver>HXX2Salome</receiver>
+        <slot>SourceTreeButton_pressed()</slot>
+    </connection>
+    <connection>
+        <sender>SourceTreeText</sender>
+        <signal>textChanged(const QString&amp;)</signal>
+        <receiver>HXX2Salome</receiver>
+        <slot>newComponentTree()</slot>
+    </connection>
+    <connection>
+        <sender>IncludeText</sender>
+        <signal>textChanged(const QString&amp;)</signal>
+        <receiver>HXX2Salome</receiver>
+        <slot>newIncludeFile()</slot>
+    </connection>
+    <connection>
+        <sender>LibraryText</sender>
+        <signal>textChanged(const QString&amp;)</signal>
+        <receiver>HXX2Salome</receiver>
+        <slot>newSharedLibrary()</slot>
+    </connection>
+    <connection>
+        <sender>EnvFileText</sender>
+        <signal>textChanged(const QString&amp;)</signal>
+        <receiver>HXX2Salome</receiver>
+        <slot>newEnvFile()</slot>
+    </connection>
+    <connection>
+        <sender>OutputTreeButton</sender>
+        <signal>pressed()</signal>
+        <receiver>HXX2Salome</receiver>
+        <slot>newOutputTree()</slot>
+    </connection>
+    <connection>
+        <sender>OutputTreeText</sender>
+        <signal>textChanged(const QString&amp;)</signal>
+        <receiver>HXX2Salome</receiver>
+        <slot>newOutputTree()</slot>
+    </connection>
+    <connection>
+        <sender>IncludeButton</sender>
+        <signal>pressed()</signal>
+        <receiver>HXX2Salome</receiver>
+        <slot>IncludeButton_pressed()</slot>
+    </connection>
+    <connection>
+        <sender>LibraryButton</sender>
+        <signal>pressed()</signal>
+        <receiver>HXX2Salome</receiver>
+        <slot>LibraryButton_pressed()</slot>
+    </connection>
+    <connection>
+        <sender>EnvFileButton</sender>
+        <signal>pressed()</signal>
+        <receiver>HXX2Salome</receiver>
+        <slot>EnvFileButton_pressed()</slot>
+    </connection>
+    <connection>
+        <sender>OutputTreeButton</sender>
+        <signal>pressed()</signal>
+        <receiver>HXX2Salome</receiver>
+        <slot>OutputTreeButton_pressed()</slot>
+    </connection>
+    <connection>
+        <sender>GenButton</sender>
+        <signal>pressed()</signal>
+        <receiver>HXX2Salome</receiver>
+        <slot>GenerateButton_pressed()</slot>
+    </connection>
+    <connection>
+        <sender>ShellChoice</sender>
+        <signal>activated(int)</signal>
+        <receiver>HXX2Salome</receiver>
+        <slot>ShellChoice_activated(int)</slot>
+    </connection>
+</connections>
+<includes>
+    <include location="local" impldecl="in implementation">hxx2salome.ui.h</include>
+</includes>
+<variables>
+    <variable>QString CppLibDir;</variable>
+    <variable>QString SalomeDir;</variable>
+    <variable>QString CppDir;</variable>
+    <variable>QString CppInc;</variable>
+    <variable>QString CppLib;</variable>
+    <variable>QString EnvFile;</variable>
+    <variable>QString CppIncDir;</variable>
+    <variable>int shell;</variable>
+</variables>
+<slots>
+    <slot>CloseButton_pressed()</slot>
+    <slot>SourceTreeButton_pressed()</slot>
+    <slot>newComponentTree()</slot>
+    <slot>newIncludeFile()</slot>
+    <slot>newSharedLibrary()</slot>
+    <slot>newEnvFile()</slot>
+    <slot>newOutputTree()</slot>
+    <slot>OutputTreeButton_pressed()</slot>
+    <slot>IncludeButton_pressed()</slot>
+    <slot>LibraryButton_pressed()</slot>
+    <slot>EnvFileButton_pressed()</slot>
+    <slot>shellChanged( int n )</slot>
+    <slot>GenerateButton_pressed()</slot>
+    <slot>ShellChoice_activated( int n )</slot>
+    <slot>init()</slot>
+    <slot>destroy()</slot>
+</slots>
+<layoutdefaults spacing="6" margin="11"/>
+</UI>