[Kst] branches/work/kst/portto4/kst/src/libkstapp

Peter Kümmel syntheticpp at gmx.net
Sat Sep 4 20:06:04 CEST 2010


SVN commit 1171625 by kuemmel:

add layout in designer

BUG:250054

 M  +50 -80    vectortab.ui  


--- branches/work/kst/portto4/kst/src/libkstapp/vectortab.ui #1171624:1171625
@@ -28,40 +28,9 @@
      <property name="checked">
       <bool>false</bool>
      </property>
-     <widget class="QLabel" name="label_2">
-      <property name="geometry">
-       <rect>
-        <x>10</x>
-        <y>26</y>
-        <width>95</width>
-        <height>16</height>
-       </rect>
-      </property>
-      <property name="sizePolicy">
-       <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
-        <horstretch>0</horstretch>
-        <verstretch>0</verstretch>
-       </sizepolicy>
-      </property>
-      <property name="text">
-       <string>&amp;Number of samples:</string>
-      </property>
-      <property name="wordWrap">
-       <bool>false</bool>
-      </property>
-      <property name="buddy">
-       <cstring>_numberOfSamples</cstring>
-      </property>
-     </widget>
+     <layout class="QVBoxLayout" name="verticalLayout_3">
+      <item>
      <widget class="QSpinBox" name="_numberOfSamples">
-      <property name="geometry">
-       <rect>
-        <x>111</x>
-        <y>23</y>
-        <width>81</width>
-        <height>20</height>
-       </rect>
-      </property>
       <property name="sizePolicy">
        <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
         <horstretch>0</horstretch>
@@ -81,47 +50,30 @@
        <number>1000</number>
       </property>
      </widget>
-     <widget class="QLineEdit" name="_to">
-      <property name="geometry">
-       <rect>
-        <x>205</x>
-        <y>50</y>
-        <width>133</width>
-        <height>20</height>
-       </rect>
+      </item>
+      <item>
+       <widget class="QLabel" name="label_2">
+        <property name="sizePolicy">
+         <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
+          <horstretch>0</horstretch>
+          <verstretch>0</verstretch>
+         </sizepolicy>
       </property>
-      <property name="whatsThis">
-       <string>The maximum value of the independent variable.</string>
-      </property>
       <property name="text">
-       <string>10.0</string>
+         <string>&amp;Number of samples:</string>
       </property>
-     </widget>
-     <widget class="QLineEdit" name="_from">
-      <property name="geometry">
-       <rect>
-        <x>45</x>
-        <y>50</y>
-        <width>133</width>
-        <height>20</height>
-       </rect>
+        <property name="wordWrap">
+         <bool>false</bool>
       </property>
-      <property name="whatsThis">
-       <string>The minimum value of the independent variable.</string>
+        <property name="buddy">
+         <cstring>_numberOfSamples</cstring>
       </property>
-      <property name="text">
-       <string>-10.0</string>
-      </property>
      </widget>
-     <widget class="QLabel" name="label_3">
-      <property name="geometry">
-       <rect>
-        <x>184</x>
-        <y>53</y>
-        <width>16</width>
-        <height>16</height>
-       </rect>
-      </property>
+      </item>
+      <item>
+       <layout class="QHBoxLayout" name="horizontalLayout">
+        <item>
+         <widget class="QLabel" name="label">
       <property name="sizePolicy">
        <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
         <horstretch>0</horstretch>
@@ -129,24 +81,28 @@
        </sizepolicy>
       </property>
       <property name="text">
-       <string>&amp;To:</string>
+           <string>Fro&amp;m:</string>
       </property>
       <property name="wordWrap">
        <bool>false</bool>
       </property>
       <property name="buddy">
-       <cstring>_to</cstring>
+           <cstring>_from</cstring>
       </property>
      </widget>
-     <widget class="QLabel" name="label">
-      <property name="geometry">
-       <rect>
-        <x>11</x>
-        <y>53</y>
-        <width>28</width>
-        <height>16</height>
-       </rect>
+        </item>
+        <item>
+         <widget class="QLineEdit" name="_from">
+          <property name="whatsThis">
+           <string>The minimum value of the independent variable.</string>
       </property>
+          <property name="text">
+           <string>-10.0</string>
+          </property>
+         </widget>
+        </item>
+        <item>
+         <widget class="QLabel" name="label_3">
       <property name="sizePolicy">
        <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
         <horstretch>0</horstretch>
@@ -154,17 +110,31 @@
        </sizepolicy>
       </property>
       <property name="text">
-       <string>Fro&amp;m:</string>
+           <string>&amp;To:</string>
       </property>
       <property name="wordWrap">
        <bool>false</bool>
       </property>
       <property name="buddy">
-       <cstring>_from</cstring>
+           <cstring>_to</cstring>
       </property>
      </widget>
+        </item>
+        <item>
+         <widget class="QLineEdit" name="_to">
+          <property name="whatsThis">
+           <string>The maximum value of the independent variable.</string>
+          </property>
+          <property name="text">
+           <string>10.0</string>
+          </property>
     </widget>
    </item>
+       </layout>
+      </item>
+     </layout>
+    </widget>
+   </item>
    <item>
     <widget class="QGroupBox" name="_dataVectorGroup">
      <property name="title">


More information about the Kst mailing list