Salome HOME
Add full-quadrangles support, available since MeshGems v2.5
[plugins/blsurfplugin.git] / src / GUI / BLSURFPluginGUI_StdWidget_QTD.ui
index 53b0517df3b44a93ff33c13cb9f67edb72c442c8..608fe0d8352bbfa375ffe6b02a33568d86a42697 100644 (file)
@@ -7,23 +7,11 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>667</width>
-    <height>342</height>
+    <width>723</width>
+    <height>399</height>
    </rect>
   </property>
   <layout class="QGridLayout" name="gridLayout_5">
-   <property name="leftMargin">
-    <number>0</number>
-   </property>
-   <property name="topMargin">
-    <number>0</number>
-   </property>
-   <property name="rightMargin">
-    <number>0</number>
-   </property>
-   <property name="bottomMargin">
-    <number>0</number>
-   </property>
    <item row="0" column="0">
     <widget class="QGroupBox" name="groupBox">
      <property name="title">
          <string>BLSURF_GEOM_MESH_TOOLTIP</string>
         </property>
         <property name="currentText">
-         <string>GLOBAL_SIZE</string>
+         <string>BLSURF_DEFAULT_USER</string>
         </property>
         <item>
          <property name="text">
       <string>BLSURF_MAIN_PARAMETERS</string>
      </property>
      <layout class="QGridLayout" name="gridLayout_3">
-      <item row="2" column="0">
-       <widget class="QCheckBox" name="myOptimizeMesh">
-        <property name="toolTip">
-         <string>BLSURF_OPTIMISATION_TOOLTIP</string>
-        </property>
-        <property name="text">
-         <string>BLSURF_OPTIMISATION</string>
-        </property>
-        <property name="checked">
-         <bool>true</bool>
-        </property>
-       </widget>
-      </item>
-      <item row="0" column="0">
-       <widget class="QCheckBox" name="myQuadraticMesh">
+      <item row="1" column="0">
+       <widget class="QCheckBox" name="myUseGradation">
         <property name="toolTip">
-         <string>BLSURF_ELEMENT_ORDER_TOOLTIP</string>
+         <string>BLSURF_GRADATION_TOOLTIP</string>
         </property>
         <property name="text">
-         <string>BLSURF_ELEMENT_ORDER</string>
-        </property>
-       </widget>
-      </item>
-      <item row="1" column="1">
-       <widget class="SMESHGUI_SpinBox" name="myGradation">
-        <property name="enabled">
-         <bool>false</bool>
+         <string>BLSURF_GRADATION</string>
         </property>
        </widget>
       </item>
-      <item row="4" column="0">
+      <item row="3" column="0">
        <spacer name="verticalSpacer_3">
         <property name="orientation">
          <enum>Qt::Vertical</enum>
         </property>
        </spacer>
       </item>
-      <item row="1" column="0">
-       <widget class="QCheckBox" name="myUseGradation">
+      <item row="0" column="0">
+       <widget class="QCheckBox" name="myQuadraticMesh">
         <property name="toolTip">
-         <string>BLSURF_GRADATION_TOOLTIP</string>
+         <string>BLSURF_ELEMENT_ORDER_TOOLTIP</string>
         </property>
         <property name="text">
-         <string>BLSURF_GRADATION</string>
+         <string>BLSURF_ELEMENT_ORDER</string>
         </property>
        </widget>
       </item>
-      <item row="3" column="0">
-       <widget class="QCheckBox" name="myAllowQuadrangles">
+      <item row="1" column="1">
+       <widget class="SMESHGUI_SpinBox" name="myGradation">
+        <property name="enabled">
+         <bool>false</bool>
+        </property>
+       </widget>
+      </item>
+      <item row="2" column="0">
+       <widget class="QCheckBox" name="myOptimizeMesh">
         <property name="toolTip">
-         <string>BLSURF_ALLOW_QUADRANGLES_TOOLTIP</string>
+         <string>BLSURF_OPTIMISATION_TOOLTIP</string>
         </property>
         <property name="text">
-         <string>BLSURF_ALLOW_QUADRANGLES</string>
+         <string>BLSURF_OPTIMISATION</string>
+        </property>
+        <property name="checked">
+         <bool>true</bool>
         </property>
        </widget>
       </item>
      </layout>
     </widget>
    </item>
-   <item row="1" column="1">
+   <item row="1" column="1" rowspan="2">
     <widget class="QGroupBox" name="groupBox_3">
      <property name="title">
       <string>BLSURF_OTHER_PARAMETERS</string>
      </layout>
     </widget>
    </item>
+   <item row="2" column="0">
+    <widget class="QGroupBox" name="groupBox_4">
+     <property name="title">
+      <string>BLSURF_ELEMENT_TYPE</string>
+     </property>
+     <layout class="QVBoxLayout" name="verticalLayout">
+      <item>
+       <widget class="QRadioButton" name="myRadioButtonTriangles">
+        <property name="toolTip">
+         <string>BLSURF_TRIANGLES_TOOLTIP</string>
+        </property>
+        <property name="text">
+         <string>BLSURF_TRIANGLES</string>
+        </property>
+        <property name="checked">
+         <bool>true</bool>
+        </property>
+        <attribute name="buttonGroup">
+         <string notr="true">myButtonGroupElementType</string>
+        </attribute>
+       </widget>
+      </item>
+      <item>
+       <widget class="QRadioButton" name="myRadioButtonQuadrangleDominant">
+        <property name="toolTip">
+         <string>BLSURF_ALLOW_QUADRANGLES_TOOLTIP</string>
+        </property>
+        <property name="text">
+         <string>BLSURF_QUADRANGLE_DOMINANT</string>
+        </property>
+        <attribute name="buttonGroup">
+         <string notr="true">myButtonGroupElementType</string>
+        </attribute>
+       </widget>
+      </item>
+      <item>
+       <widget class="QRadioButton" name="myRadioButtonQuadrangles">
+        <property name="toolTip">
+         <string>BLSURF_QUADRANGLES_TOOLTIP</string>
+        </property>
+        <property name="text">
+         <string>BLSURF_QUADRANGLES</string>
+        </property>
+        <attribute name="buttonGroup">
+         <string notr="true">myButtonGroupElementType</string>
+        </attribute>
+       </widget>
+      </item>
+      <item>
+       <spacer name="verticalSpacer_6">
+        <property name="orientation">
+         <enum>Qt::Vertical</enum>
+        </property>
+        <property name="sizeHint" stdset="0">
+         <size>
+          <width>20</width>
+          <height>3</height>
+         </size>
+        </property>
+       </spacer>
+      </item>
+     </layout>
+    </widget>
+   </item>
   </layout>
  </widget>
  <customwidgets>
   <tabstop>myUseGradation</tabstop>
   <tabstop>myGradation</tabstop>
   <tabstop>myOptimizeMesh</tabstop>
-  <tabstop>myAllowQuadrangles</tabstop>
   <tabstop>myAnisotropic</tabstop>
   <tabstop>myAnisotropicRatio</tabstop>
   <tabstop>myOptimiseTinyEdges</tabstop>
   <slot>onPhysicalMeshChanged()</slot>
   <slot>onEditingFinished()</slot>
  </slots>
+ <buttongroups>
+  <buttongroup name="myButtonGroupElementType"/>
+ </buttongroups>
 </ui>