]> SALOME platform Git repositories - modules/hydrosolver.git/commitdiff
Salome HOME
Lot4: add UI file for boundary conditions dialog.
authormzn <mzn@opencascade.com>
Fri, 23 Sep 2016 11:12:07 +0000 (14:12 +0300)
committermzn <mzn@opencascade.com>
Fri, 23 Sep 2016 11:12:07 +0000 (14:12 +0300)
src/HYDROGUI/BndConditionsDialog.ui [new file with mode: 0644]

diff --git a/src/HYDROGUI/BndConditionsDialog.ui b/src/HYDROGUI/BndConditionsDialog.ui
new file mode 100644 (file)
index 0000000..de93491
--- /dev/null
@@ -0,0 +1,201 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
+ <class>Dialog</class>
+ <widget class="QDialog" name="Dialog">
+  <property name="geometry">
+   <rect>
+    <x>0</x>
+    <y>0</y>
+    <width>900</width>
+    <height>497</height>
+   </rect>
+  </property>
+  <property name="windowTitle">
+   <string>Boundary Conditions</string>
+  </property>
+  <layout class="QGridLayout" name="gridLayout_2">
+   <item row="0" column="0">
+    <widget class="QGroupBox" name="inputFilesBox">
+     <property name="title">
+      <string>Input files</string>
+     </property>
+     <layout class="QGridLayout" name="gridLayout">
+      <item row="0" column="0">
+       <widget class="QLabel" name="medFileLabel">
+        <property name="text">
+         <string>MED file:</string>
+        </property>
+       </widget>
+      </item>
+      <item row="0" column="1">
+       <widget class="QLineEdit" name="medFileEdit"/>
+      </item>
+      <item row="0" column="2">
+       <widget class="QToolButton" name="medFileButton">
+        <property name="text">
+         <string>Output path</string>
+        </property>
+        <property name="icon">
+         <iconset>
+          <normaloff>../../../../../SALOME-7.6.0/MODULES/HYDRO/HYDRO_SRC/src/HYDROGUI/resources/icon_browse.png</normaloff>../../../../../SALOME-7.6.0/MODULES/HYDRO/HYDRO_SRC/src/HYDROGUI/resources/icon_browse.png</iconset>
+        </property>
+       </widget>
+      </item>
+      <item row="1" column="0">
+       <widget class="QLabel" name="bndConditionsFileLabel">
+        <property name="text">
+         <string>Boundary conditions file:</string>
+        </property>
+       </widget>
+      </item>
+      <item row="1" column="1">
+       <widget class="QLineEdit" name="bndConditionsFileEdit"/>
+      </item>
+      <item row="1" column="2">
+       <widget class="QToolButton" name="bndConditionsFileButton">
+        <property name="text">
+         <string>Output path</string>
+        </property>
+        <property name="icon">
+         <iconset>
+          <normaloff>../../../../../SALOME-7.6.0/MODULES/HYDRO/HYDRO_SRC/src/HYDROGUI/resources/icon_browse.png</normaloff>../../../../../SALOME-7.6.0/MODULES/HYDRO/HYDRO_SRC/src/HYDROGUI/resources/icon_browse.png</iconset>
+        </property>
+       </widget>
+      </item>
+     </layout>
+    </widget>
+   </item>
+   <item row="1" column="0">
+    <widget class="QGroupBox" name="outputFilesBox">
+     <property name="title">
+      <string>Output files</string>
+     </property>
+     <layout class="QVBoxLayout" name="verticalLayout_2">
+      <item>
+       <layout class="QHBoxLayout" name="resultFileLayout">
+        <item>
+         <widget class="QLabel" name="resultBndConditionsFileLabel">
+          <property name="text">
+           <string>Result boundary conditions file:</string>
+          </property>
+         </widget>
+        </item>
+        <item>
+         <widget class="QLineEdit" name="resultBndConditionsFileEdit">
+          <property name="text">
+           <string/>
+          </property>
+          <property name="readOnly">
+           <bool>true</bool>
+          </property>
+         </widget>
+        </item>
+        <item>
+         <widget class="QToolButton" name="resultBndConditionsFileButton">
+          <property name="text">
+           <string>...</string>
+          </property>
+          <property name="icon">
+           <iconset>
+            <normaloff>../../../../../SALOME-7.6.0/MODULES/HYDRO/HYDRO_SRC/src/HYDROGUI/resources/icon_browse.png</normaloff>../../../../../SALOME-7.6.0/MODULES/HYDRO/HYDRO_SRC/src/HYDROGUI/resources/icon_browse.png</iconset>
+          </property>
+         </widget>
+        </item>
+       </layout>
+      </item>
+      <item>
+       <widget class="QCheckBox" name="sameAsInputCB">
+        <property name="text">
+         <string>Same as the input</string>
+        </property>
+       </widget>
+      </item>
+     </layout>
+    </widget>
+   </item>
+   <item row="2" column="0">
+    <widget class="QGroupBox" name="boundaryConditionsBox">
+     <property name="title">
+      <string>Boundary conditions</string>
+     </property>
+     <layout class="QVBoxLayout" name="verticalLayout">
+      <item>
+       <widget class="QTableWidget" name="boundaryConditionsTable">
+        <column>
+         <property name="text">
+          <string>Preset</string>
+         </property>
+        </column>
+        <column>
+         <property name="text">
+          <string>LIHBOR</string>
+         </property>
+        </column>
+        <column>
+         <property name="text">
+          <string>LIUBOR</string>
+         </property>
+        </column>
+        <column>
+         <property name="text">
+          <string>LIVBOR</string>
+         </property>
+        </column>
+        <column>
+         <property name="text">
+          <string>LITBOR</string>
+         </property>
+        </column>
+        <column>
+         <property name="text">
+          <string>Group</string>
+         </property>
+        </column>
+       </widget>
+      </item>
+     </layout>
+    </widget>
+   </item>
+   <item row="3" column="0">
+    <layout class="QHBoxLayout" name="horizontalLayout">
+     <item>
+      <widget class="QPushButton" name="applyAndCloseButton">
+       <property name="text">
+        <string>Apply and Close</string>
+       </property>
+      </widget>
+     </item>
+     <item>
+      <widget class="QPushButton" name="applyButton">
+       <property name="text">
+        <string>Apply</string>
+       </property>
+      </widget>
+     </item>
+     <item>
+      <spacer name="horizontalSpacer">
+       <property name="orientation">
+        <enum>Qt::Horizontal</enum>
+       </property>
+       <property name="sizeHint" stdset="0">
+        <size>
+         <width>40</width>
+         <height>20</height>
+        </size>
+       </property>
+      </spacer>
+     </item>
+     <item>
+      <widget class="QPushButton" name="closeButton">
+       <property name="text">
+        <string>Close</string>
+       </property>
+      </widget>
+     </item>
+    </layout>
+   </item>
+  </layout>
+ </widget>
+ <resources/>
+ <connections/>
+</ui>