[kde-doc-english] playground/utils/synaptiks/kcmodule/ui

Sebastian Wiesner basti.wiesner at gmx.net
Fri Mar 5 21:01:16 CET 2010


SVN commit 1099597 by swiesner:

GUI: Restructered scrolling page
Two-fingers configuration moved to the top
Coasting configuration moved into the edge scrolling group

 M  +101 -114  scrollingpage.ui  


--- trunk/playground/utils/synaptiks/kcmodule/ui/scrollingpage.ui #1099596:1099597
@@ -7,8 +7,8 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>462</width>
-    <height>416</height>
+    <width>478</width>
+    <height>370</height>
    </rect>
   </property>
   <property name="windowTitle">
@@ -16,6 +16,105 @@
   </property>
   <layout class="QVBoxLayout" name="verticalLayout">
    <item>
+    <widget class="QGroupBox" name="twoFingerScrollingGroup">
+     <property name="title">
+      <string>Scrolling with two fingers</string>
+     </property>
+     <layout class="QVBoxLayout" name="verticalLayout_4">
+      <item>
+       <widget class="QCheckBox" name="kcfg_HorizontalTwoFingerScrolling">
+        <property name="text">
+         <string comment="@option:check">Horizontal scrolling with two fingers</string>
+        </property>
+       </widget>
+      </item>
+      <item>
+       <widget class="QCheckBox" name="kcfg_VerticalTwoFingerScrolling">
+        <property name="text">
+         <string comment="@option:check">Vertical scrolling with two fingers</string>
+        </property>
+       </widget>
+      </item>
+     </layout>
+    </widget>
+   </item>
+   <item>
+    <widget class="QGroupBox" name="groupBox">
+     <property name="title">
+      <string comment="@title:group">Edge scrolling</string>
+     </property>
+     <layout class="QVBoxLayout" name="verticalLayout_3">
+      <item>
+       <widget class="QCheckBox" name="kcfg_HorizontalEdgeScrolling">
+        <property name="text">
+         <string comment="@option:check">Horizontal scrolling at bottom edge</string>
+        </property>
+       </widget>
+      </item>
+      <item>
+       <widget class="QCheckBox" name="kcfg_VerticalEdgeScrolling">
+        <property name="text">
+         <string comment="@option:check">Vertical scrolling at right edge</string>
+        </property>
+       </widget>
+      </item>
+      <item>
+       <widget class="QGroupBox" name="kcfg_Coasting">
+        <property name="title">
+         <string comment="@option:check">Continue edge scrolling automatically</string>
+        </property>
+        <property name="checkable">
+         <bool>true</bool>
+        </property>
+        <layout class="QVBoxLayout" name="verticalLayout_2">
+         <item>
+          <widget class="QRadioButton" name="conventionalCoasting">
+           <property name="text">
+            <string>Continue edge scrolling, if the finger is lifted while scrolling</string>
+           </property>
+           <property name="checked">
+            <bool>true</bool>
+           </property>
+          </widget>
+         </item>
+         <item>
+          <layout class="QFormLayout" name="formLayout_2">
+           <item row="0" column="0">
+            <widget class="QLabel" name="coastingSpeedLabel">
+             <property name="text">
+              <string comment="@label:spinbox">Scrolling speed threshold to continue scrolling</string>
+             </property>
+             <property name="buddy">
+              <cstring>kcfg_CoastingSpeed</cstring>
+             </property>
+            </widget>
+           </item>
+           <item row="0" column="1">
+            <widget class="QDoubleSpinBox" name="kcfg_CoastingSpeed">
+             <property name="minimum">
+              <double>0.010000000000000</double>
+             </property>
+             <property name="singleStep">
+              <double>0.100000000000000</double>
+             </property>
+            </widget>
+           </item>
+          </layout>
+         </item>
+         <item>
+          <widget class="QRadioButton" name="kcfg_CornerCoasting">
+           <property name="text">
+            <string comment="@option:radio">Continue edge scrolling, while the finger stays in an edge corner</string>
+           </property>
+          </widget>
+         </item>
+        </layout>
+       </widget>
+      </item>
+     </layout>
+    </widget>
+   </item>
+   <item>
     <widget class="QGroupBox" name="kcfg_CircularScrolling">
      <property name="title">
       <string comment="@option:check">Circular Scrolling</string>
@@ -86,118 +185,6 @@
      </layout>
     </widget>
    </item>
-   <item>
-    <widget class="QGroupBox" name="twoFingerScrollingGroup">
-     <property name="title">
-      <string>Scrolling with two fingers</string>
-     </property>
-     <layout class="QVBoxLayout" name="verticalLayout_4">
-      <item>
-       <widget class="QCheckBox" name="kcfg_HorizontalTwoFingerScrolling">
-        <property name="text">
-         <string comment="@option:check">Horizontal scrolling with two fingers</string>
-        </property>
-       </widget>
-      </item>
-      <item>
-       <widget class="QCheckBox" name="kcfg_VerticalTwoFingerScrolling">
-        <property name="text">
-         <string comment="@option:check">Vertical scrolling with two fingers</string>
-        </property>
-       </widget>
-      </item>
-     </layout>
-    </widget>
-   </item>
-   <item>
-    <widget class="QGroupBox" name="groupBox">
-     <property name="title">
-      <string comment="@title:group">Edge scrolling</string>
-     </property>
-     <layout class="QVBoxLayout" name="verticalLayout_3">
-      <item>
-       <widget class="QCheckBox" name="kcfg_HorizontalEdgeScrolling">
-        <property name="text">
-         <string comment="@option:check">Horizontal scrolling at bottom edge</string>
-        </property>
-       </widget>
-      </item>
-      <item>
-       <widget class="QCheckBox" name="kcfg_VerticalEdgeScrolling">
-        <property name="text">
-         <string comment="@option:check">Vertical scrolling at right edge</string>
-        </property>
-       </widget>
-      </item>
-     </layout>
-    </widget>
-   </item>
-   <item>
-    <widget class="QGroupBox" name="kcfg_Coasting">
-     <property name="title">
-      <string comment="@option:check">Continue edge scrolling automatically</string>
-     </property>
-     <property name="checkable">
-      <bool>true</bool>
-     </property>
-     <layout class="QVBoxLayout" name="verticalLayout_2">
-      <item>
-       <widget class="QRadioButton" name="conventionalCoasting">
-        <property name="text">
-         <string>Continue edge scrolling, if the finger is lifted while scrolling</string>
-        </property>
-        <property name="checked">
-         <bool>true</bool>
-        </property>
-       </widget>
-      </item>
-      <item>
-       <layout class="QFormLayout" name="formLayout_2">
-        <item row="0" column="0">
-         <widget class="QLabel" name="coastingSpeedLabel">
-          <property name="text">
-           <string comment="@label:spinbox">Scrolling speed threshold to continue scrolling</string>
-          </property>
-          <property name="buddy">
-           <cstring>kcfg_CoastingSpeed</cstring>
-          </property>
-         </widget>
-        </item>
-        <item row="0" column="1">
-         <widget class="QDoubleSpinBox" name="kcfg_CoastingSpeed">
-          <property name="minimum">
-           <double>0.010000000000000</double>
-          </property>
-          <property name="singleStep">
-           <double>0.100000000000000</double>
-          </property>
-         </widget>
-        </item>
-       </layout>
-      </item>
-      <item>
-       <widget class="QRadioButton" name="kcfg_CornerCoasting">
-        <property name="text">
-         <string comment="@option:radio">Continue edge scrolling, while the finger stays in an edge corner</string>
-        </property>
-       </widget>
-      </item>
-      <item>
-       <spacer name="verticalSpacer">
-        <property name="orientation">
-         <enum>Qt::Vertical</enum>
-        </property>
-        <property name="sizeHint" stdset="0">
-         <size>
-          <width>20</width>
-          <height>40</height>
-         </size>
-        </property>
-       </spacer>
-      </item>
-     </layout>
-    </widget>
-   </item>
   </layout>
  </widget>
  <customwidgets>



More information about the kde-doc-english mailing list