-<!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><p align="right">C++ include file</p></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><p align="right">Environment file</p></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><p align="right">C++ component tree<br>(absolute path)</p></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><p align="right">Shared library</p></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>
+<ui version="4.0" >
+ <class>HXX2Salome</class>
+ <widget class="QDialog" name="HXX2Salome" >
+ <property name="geometry" >
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>517</width>
+ <height>400</height>
+ </rect>
+ </property>
+ <property name="windowTitle" >
+ <string>Salome interface to C++ component generator</string>
+ </property>
+ <layout class="QGridLayout" name="gridLayout_3" >
+ <item row="0" column="0" colspan="3" >
+ <widget class="QGroupBox" name="Input" >
+ <property name="title" >
+ <string>Input</string>
+ </property>
+ <layout class="QGridLayout" name="gridLayout" >
+ <item row="0" column="0" >
+ <widget class="QLabel" name="SourceTree" >
+ <property name="minimumSize" >
+ <size>
+ <width>160</width>
+ <height>0</height>
+ </size>
+ </property>
+ <property name="toolTip" >
+ <string>This directory (or one ot its subdirectories) contains the main C++ include file and the main shared library of the component</string>
+ </property>
+ <property name="text" >
+ <string><p align="right">C++ component tree<br>(absolute path)</p></string>
+ </property>
+ <property name="alignment" >
+ <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+ </property>
+ <property name="wordWrap" >
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="1" >
+ <widget class="QLineEdit" name="SourceTreeText" />
+ </item>
+ <item row="0" column="2" >
+ <widget class="QPushButton" name="SourceTreeButton" >
+ <property name="text" >
+ <string>Browse ...</string>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="0" >
+ <widget class="QLabel" name="IncludeFileLabel" >
+ <property name="minimumSize" >
+ <size>
+ <width>160</width>
+ <height>0</height>
+ </size>
+ </property>
+ <property name="toolTip" >
+ <string>File containing the main C++ component class declaration</string>
+ </property>
+ <property name="text" >
+ <string><p align="right">C++ include file</p></string>
+ </property>
+ <property name="alignment" >
+ <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+ </property>
+ <property name="wordWrap" >
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="1" >
+ <widget class="QLineEdit" name="IncludeText" />
+ </item>
+ <item row="1" column="2" >
+ <widget class="QPushButton" name="IncludeButton" >
+ <property name="text" >
+ <string>Browse ...</string>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="0" >
+ <widget class="QLabel" name="LibraryLabel" >
+ <property name="minimumSize" >
+ <size>
+ <width>160</width>
+ <height>0</height>
+ </size>
+ </property>
+ <property name="toolTip" >
+ <string>Shared library (.so file) containing the compiled C++ component</string>
+ </property>
+ <property name="text" >
+ <string><p align="right">Shared library</p></string>
+ </property>
+ <property name="alignment" >
+ <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+ </property>
+ <property name="wordWrap" >
+ <bool>false</bool>
</property>
- <property name="geometry">
- <rect>
- <x>390</x>
- <y>340</y>
- <width>86</width>
- <height>28</height>
- </rect>
+ </widget>
+ </item>
+ <item row="2" column="1" >
+ <widget class="QLineEdit" name="LibraryText" />
+ </item>
+ <item row="2" column="2" >
+ <widget class="QPushButton" name="LibraryButton" >
+ <property name="text" >
+ <string>Browse ...</string>
</property>
- <property name="text">
- <string>Close</string>
+ </widget>
+ </item>
+ <item row="3" column="0" >
+ <widget class="QLabel" name="EnvFileLabel" >
+ <property name="minimumSize" >
+ <size>
+ <width>160</width>
+ <height>0</height>
+ </size>
</property>
+ <property name="toolTip" >
+ <string>shell script where specific environment variable can be initialized for the component</string>
+ </property>
+ <property name="text" >
+ <string><p align="right">Environment file</p></string>
+ </property>
+ <property name="alignment" >
+ <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+ </property>
+ <property name="wordWrap" >
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="3" column="1" >
+ <widget class="QLineEdit" name="EnvFileText" />
+ </item>
+ <item row="3" column="2" >
+ <widget class="QPushButton" name="EnvFileButton" >
+ <property name="text" >
+ <string>Browse ...</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
</widget>
- <widget class="QPushButton">
- <property name="name">
- <cstring>GenButton</cstring>
+ </item>
+ <item row="1" column="0" colspan="3" >
+ <widget class="QGroupBox" name="Output" >
+ <property name="title" >
+ <string>Output</string>
+ </property>
+ <layout class="QGridLayout" name="gridLayout_2" >
+ <item row="0" column="0" >
+ <widget class="QLabel" name="OutputTreeLabel" >
+ <property name="minimumSize" >
+ <size>
+ <width>160</width>
+ <height>0</height>
+ </size>
+ </property>
+ <property name="text" >
+ <string>Salome component tree</string>
+ </property>
+ <property name="alignment" >
+ <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+ </property>
+ <property name="wordWrap" >
+ <bool>false</bool>
</property>
- <property name="geometry">
- <rect>
- <x>30</x>
- <y>340</y>
- <width>86</width>
- <height>28</height>
- </rect>
+ </widget>
+ </item>
+ <item row="0" column="1" colspan="2" >
+ <widget class="QLineEdit" name="OutputTreeText" />
+ </item>
+ <item row="0" column="3" >
+ <widget class="QPushButton" name="OutputTreeButton" >
+ <property name="text" >
+ <string>Browse ...</string>
</property>
- <property name="text">
- <string>Generate</string>
+ </widget>
+ </item>
+ <item row="1" column="0" >
+ <widget class="QLabel" name="ShellText" >
+ <property name="text" >
+ <string>Shell</string>
</property>
+ <property name="alignment" >
+ <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+ </property>
+ <property name="wordWrap" >
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="1" >
+ <widget class="QComboBox" name="ShellChoice" >
+ <property name="sizePolicy" >
+ <sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <item>
+ <property name="text" >
+ <string>bash</string>
+ </property>
+ </item>
+ <item>
+ <property name="text" >
+ <string>csh</string>
+ </property>
+ </item>
+ </widget>
+ </item>
+ <item row="1" column="2" >
+ <spacer name="horizontalSpacer_2" >
+ <property name="orientation" >
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeHint" stdset="0" >
+ <size>
+ <width>107</width>
+ <height>20</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item row="2" column="0" colspan="3" >
+ <widget class="QCheckBox" name="MakeGUI" >
+ <property name="text" >
+ <string>Generate file structure for GUI</string>
+ </property>
+ </widget>
+ </item>
+ <item row="3" column="0" colspan="4" >
+ <widget class="QCheckBox" name="Compile" >
+ <property name="text" >
+ <string>Compile Salome Component (if checked, generation can take a long time)</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ </item>
+ <item row="2" column="0" >
+ <widget class="QPushButton" name="GenerateButton" >
+ <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>
+ </item>
+ <item row="2" column="1" >
+ <spacer name="horizontalSpacer" >
+ <property name="orientation" >
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeHint" stdset="0" >
+ <size>
+ <width>326</width>
+ <height>20</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item row="2" column="2" >
+ <widget class="QPushButton" name="CloseButton" >
+ <property name="text" >
+ <string>Close</string>
+ </property>
</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&)</signal>
- <receiver>HXX2Salome</receiver>
- <slot>newComponentTree()</slot>
- </connection>
- <connection>
- <sender>IncludeText</sender>
- <signal>textChanged(const QString&)</signal>
- <receiver>HXX2Salome</receiver>
- <slot>newIncludeFile()</slot>
- </connection>
- <connection>
- <sender>LibraryText</sender>
- <signal>textChanged(const QString&)</signal>
- <receiver>HXX2Salome</receiver>
- <slot>newSharedLibrary()</slot>
- </connection>
- <connection>
- <sender>EnvFileText</sender>
- <signal>textChanged(const QString&)</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&)</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>
+ </item>
+ </layout>
+ </widget>
+ <resources/>
+ <connections/>
+</ui>