[kde-doc-english] playground/utils/synaptiks/kcmodule/ui
Sebastian Wiesner
basti.wiesner at gmx.net
Sat Mar 6 16:08:10 CET 2010
SVN commit 1100016 by swiesner:
GUI: Replaced simple QDoubleSpinBox with KDoubleNumInput combining slider and spinbox
M +24 -57 scrollingpage.ui
--- trunk/playground/utils/synaptiks/kcmodule/ui/scrollingpage.ui #1100015:1100016
@@ -8,7 +8,7 @@
<x>0</x>
<y>0</y>
<width>478</width>
- <height>370</height>
+ <height>368</height>
</rect>
</property>
<property name="windowTitle">
@@ -78,28 +78,20 @@
</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>
+ <widget class="KDoubleNumInput" name="kcfg_CoastingSpeed">
+ <property name="label">
+ <string comment="@label:spinbox">Scrolling speed threshold to continue scrolling</string>
+ </property>
+ <property name="minimum">
+ <double>0.010000000000000</double>
+ </property>
+ <property name="maximum">
+ <double>15.000000000000000</double>
+ </property>
+ <property name="sliderEnabled">
+ <bool>true</bool>
+ </property>
+ </widget>
</item>
<item>
<widget class="QRadioButton" name="kcfg_CornerCoasting">
@@ -123,6 +115,9 @@
<bool>true</bool>
</property>
<layout class="QFormLayout" name="formLayout">
+ <property name="fieldGrowthPolicy">
+ <enum>QFormLayout::ExpandingFieldsGrow</enum>
+ </property>
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="text">
@@ -189,44 +184,16 @@
</widget>
<customwidgets>
<customwidget>
+ <class>KDoubleNumInput</class>
+ <extends>QWidget</extends>
+ <header>knuminput.h</header>
+ </customwidget>
+ <customwidget>
<class>KComboBox</class>
<extends>QComboBox</extends>
<header>kcombobox.h</header>
</customwidget>
</customwidgets>
<resources/>
- <connections>
- <connection>
- <sender>conventionalCoasting</sender>
- <signal>toggled(bool)</signal>
- <receiver>coastingSpeedLabel</receiver>
- <slot>setEnabled(bool)</slot>
- <hints>
- <hint type="sourcelabel">
- <x>73</x>
- <y>273</y>
- </hint>
- <hint type="destinationlabel">
- <x>78</x>
- <y>296</y>
- </hint>
- </hints>
- </connection>
- <connection>
- <sender>conventionalCoasting</sender>
- <signal>toggled(bool)</signal>
- <receiver>kcfg_CoastingSpeed</receiver>
- <slot>setEnabled(bool)</slot>
- <hints>
- <hint type="sourcelabel">
- <x>146</x>
- <y>269</y>
- </hint>
- <hint type="destinationlabel">
- <x>338</x>
- <y>299</y>
- </hint>
- </hints>
- </connection>
- </connections>
+ <connections/>
</ui>
More information about the kde-doc-english
mailing list