]> SALOME platform Git repositories - plugins/blsurfplugin.git/commitdiff
Salome HOME
Adding a horizontal QSplitter to be able to strech the table.
authorbourcier <bourcier>
Tue, 22 Oct 2013 09:03:32 +0000 (09:03 +0000)
committerbourcier <bourcier>
Tue, 22 Oct 2013 09:03:32 +0000 (09:03 +0000)
src/GUI/BLSURFPluginGUI_AdvWidget_QTD.ui

index b9580bff3c3648edfa93f7e020edc09a14a3b2fe..c610006af884f0aa929cbc7834762e4f0a230cb3 100644 (file)
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>567</width>
+    <width>646</width>
     <height>226</height>
    </rect>
   </property>
   <layout class="QGridLayout" name="gridLayout_4">
-   <property name="margin">
-    <number>0</number>
-   </property>
    <item row="0" column="0">
-    <layout class="QGridLayout" name="gridLayout_3">
-     <item row="0" column="0" colspan="2">
-      <widget class="QTableWidget" name="myOptionTable">
-       <property name="alternatingRowColors">
-        <bool>true</bool>
-       </property>
-       <property name="sortingEnabled">
-        <bool>true</bool>
-       </property>
-       <attribute name="horizontalHeaderStretchLastSection">
-        <bool>true</bool>
-       </attribute>
-       <attribute name="verticalHeaderVisible">
-        <bool>false</bool>
-       </attribute>
-       <attribute name="verticalHeaderVisible">
-        <bool>false</bool>
-       </attribute>
-       <attribute name="horizontalHeaderStretchLastSection">
-        <bool>true</bool>
-       </attribute>
-       <column>
-        <property name="text">
-         <string>OPTION_ID_COLUMN</string>
-        </property>
-       </column>
-       <column>
-        <property name="text">
-         <string>OPTION_TYPE_COLUMN</string>
-        </property>
-       </column>
-       <column>
-        <property name="text">
-         <string>OPTION_NAME_COLUMN</string>
-        </property>
-       </column>
-       <column>
-        <property name="text">
-         <string>OPTION_VALUE_COLUMN</string>
-        </property>
-       </column>
-      </widget>
-     </item>
-     <item row="1" column="0">
-      <widget class="QPushButton" name="addBtn">
-       <property name="text">
-        <string>BLSURF_ADD_OPTION</string>
-       </property>
-      </widget>
-     </item>
-     <item row="1" column="1">
-      <widget class="QPushButton" name="rmBtn">
-       <property name="text">
-        <string>BLSURF_REMOVE_OPTION</string>
-       </property>
-      </widget>
-     </item>
-    </layout>
-   </item>
-   <item row="0" column="1">
-    <layout class="QGridLayout" name="gridLayout_2">
-     <property name="topMargin">
-      <number>0</number>
+    <widget class="QSplitter" name="splitter">
+     <property name="orientation">
+      <enum>Qt::Horizontal</enum>
      </property>
-     <item row="1" column="0" colspan="3">
-      <widget class="QGroupBox" name="myPreCADGroupBox">
-       <property name="title">
-        <string>BLSURF_PRECAD_GROUP</string>
-       </property>
-       <property name="checkable">
-        <bool>true</bool>
-       </property>
-       <property name="checked">
-        <bool>false</bool>
-       </property>
-       <layout class="QGridLayout" name="gridLayout">
-        <item row="0" column="0" colspan="2">
-         <widget class="QCheckBox" name="myPreCADMergeEdges">
+     <widget class="QWidget" name="">
+      <layout class="QGridLayout" name="gridLayout_3">
+       <item row="0" column="0" colspan="2">
+        <widget class="QTableWidget" name="myOptionTable">
+         <property name="alternatingRowColors">
+          <bool>true</bool>
+         </property>
+         <property name="sortingEnabled">
+          <bool>true</bool>
+         </property>
+         <attribute name="horizontalHeaderStretchLastSection">
+          <bool>true</bool>
+         </attribute>
+         <attribute name="verticalHeaderVisible">
+          <bool>false</bool>
+         </attribute>
+         <column>
           <property name="text">
-           <string>BLSURF_PRECAD_MERGE_EDGES</string>
+           <string>OPTION_ID_COLUMN</string>
           </property>
-          <property name="checked">
-           <bool>true</bool>
-          </property>
-         </widget>
-        </item>
-        <item row="1" column="0">
-         <widget class="QCheckBox" name="myPreCADProcess3DTopology">
+         </column>
+         <column>
           <property name="text">
-           <string>BLSURF_PRECAD_PROCESS_3D_TOPOLOGY</string>
+           <string>OPTION_TYPE_COLUMN</string>
           </property>
-          <property name="checked">
-           <bool>true</bool>
+         </column>
+         <column>
+          <property name="text">
+           <string>OPTION_NAME_COLUMN</string>
           </property>
-         </widget>
-        </item>
-        <item row="2" column="0" colspan="2">
-         <widget class="QCheckBox" name="myPreCADDiscardInput">
+         </column>
+         <column>
           <property name="text">
-           <string>BLSURF_PRECAD_DISCARD_INPUT</string>
+           <string>OPTION_VALUE_COLUMN</string>
           </property>
-         </widget>
-        </item>
-       </layout>
-      </widget>
-     </item>
-     <item row="3" column="0">
-      <widget class="QPushButton" name="chooseGMFBtn">
-       <property name="text">
-        <string>BLSURF_GMF_FILE</string>
-       </property>
-      </widget>
-     </item>
-     <item row="3" column="1">
-      <widget class="QLineEdit" name="myGMFFileName"/>
-     </item>
-     <item row="4" column="0" colspan="3">
-      <spacer name="verticalSpacer">
-       <property name="orientation">
-        <enum>Qt::Vertical</enum>
-       </property>
-       <property name="sizeHint" stdset="0">
-        <size>
-         <width>20</width>
-         <height>53</height>
-        </size>
-       </property>
-      </spacer>
-     </item>
-     <item row="2" column="0">
-      <widget class="QLabel" name="label_2">
-       <property name="text">
-        <string>BLSURF_VERBOSITY</string>
-       </property>
-      </widget>
-     </item>
-     <item row="2" column="1">
-      <widget class="QSpinBox" name="myVerbosity">
-       <property name="maximum">
-        <number>100</number>
-       </property>
-       <property name="singleStep">
-        <number>5</number>
+         </column>
+        </widget>
+       </item>
+       <item row="1" column="0">
+        <widget class="QPushButton" name="addBtn">
+         <property name="text">
+          <string>BLSURF_ADD_OPTION</string>
+         </property>
+        </widget>
+       </item>
+       <item row="1" column="1">
+        <widget class="QPushButton" name="rmBtn">
+         <property name="text">
+          <string>BLSURF_REMOVE_OPTION</string>
+         </property>
+        </widget>
+       </item>
+      </layout>
+     </widget>
+     <widget class="QWidget" name="">
+      <layout class="QGridLayout" name="gridLayout_2">
+       <property name="topMargin">
+        <number>0</number>
        </property>
-      </widget>
-     </item>
-    </layout>
+       <item row="1" column="0" colspan="3">
+        <widget class="QGroupBox" name="myPreCADGroupBox">
+         <property name="title">
+          <string>BLSURF_PRECAD_GROUP</string>
+         </property>
+         <property name="checkable">
+          <bool>true</bool>
+         </property>
+         <property name="checked">
+          <bool>false</bool>
+         </property>
+         <layout class="QGridLayout" name="gridLayout">
+          <item row="0" column="0" colspan="2">
+           <widget class="QCheckBox" name="myPreCADMergeEdges">
+            <property name="text">
+             <string>BLSURF_PRECAD_MERGE_EDGES</string>
+            </property>
+            <property name="checked">
+             <bool>true</bool>
+            </property>
+           </widget>
+          </item>
+          <item row="1" column="0">
+           <widget class="QCheckBox" name="myPreCADProcess3DTopology">
+            <property name="text">
+             <string>BLSURF_PRECAD_PROCESS_3D_TOPOLOGY</string>
+            </property>
+            <property name="checked">
+             <bool>true</bool>
+            </property>
+           </widget>
+          </item>
+          <item row="2" column="0" colspan="2">
+           <widget class="QCheckBox" name="myPreCADDiscardInput">
+            <property name="text">
+             <string>BLSURF_PRECAD_DISCARD_INPUT</string>
+            </property>
+           </widget>
+          </item>
+         </layout>
+        </widget>
+       </item>
+       <item row="3" column="0">
+        <widget class="QPushButton" name="chooseGMFBtn">
+         <property name="text">
+          <string>BLSURF_GMF_FILE</string>
+         </property>
+        </widget>
+       </item>
+       <item row="3" column="1">
+        <widget class="QLineEdit" name="myGMFFileName"/>
+       </item>
+       <item row="4" column="0" colspan="3">
+        <spacer name="verticalSpacer">
+         <property name="orientation">
+          <enum>Qt::Vertical</enum>
+         </property>
+         <property name="sizeHint" stdset="0">
+          <size>
+           <width>20</width>
+           <height>53</height>
+          </size>
+         </property>
+        </spacer>
+       </item>
+       <item row="2" column="0">
+        <widget class="QLabel" name="label_2">
+         <property name="text">
+          <string>BLSURF_VERBOSITY</string>
+         </property>
+        </widget>
+       </item>
+       <item row="2" column="1">
+        <widget class="QSpinBox" name="myVerbosity">
+         <property name="maximum">
+          <number>100</number>
+         </property>
+         <property name="singleStep">
+          <number>5</number>
+         </property>
+        </widget>
+       </item>
+      </layout>
+     </widget>
+    </widget>
    </item>
   </layout>
  </widget>