[Kst] extragear/graphics/kst/kst

Andrew Walker arwalker at sumusltd.com
Tue Aug 16 23:55:22 CEST 2005


SVN commit 449849 by arwalker:

Increment rotation in steps of 1 degree

 M  +4 -3      ksteditviewobjectdialog_i.cpp  


--- trunk/extragear/graphics/kst/kst/ksteditviewobjectdialog_i.cpp #449848:449849
@@ -157,9 +157,10 @@
           propertyWidget->setProperty("checked", _viewObject->property(property->name()));
         } else if (widgetType == "KDoubleNumInput") {
           // insert a double num spinbox
-          KDoubleNumInput* input = new KDoubleNumInput(_propertiesFrame, (propertyName+","+"value").latin1());
-          input->setMinValue(-90);
-          input->setMaxValue(90);
+          KDoubleSpinBox* input = new KDoubleSpinBox(_propertiesFrame, (propertyName+","+"value").latin1());
+          input->setMinValue(-90.0);
+          input->setMaxValue(90.0);
+          input->setLineStep(1.0);
           propertyWidget = input; 
           propertyWidget->setProperty("value", _viewObject->property(property->name()));  
         } else if (widgetType == "KFontCombo") {


More information about the Kst mailing list