[Kst] extragear/graphics/kst/kst

Rick Chern rchern at interchange.ubc.ca
Fri Aug 19 21:13:36 CEST 2005


SVN commit 451044 by rchern:

Keep the names consistent 

 M  +1 -1      ksteditviewobjectdialog_i.cpp  
 M  +2 -2      kstviewarrow.cpp  
 M  +1 -1      kstviewlabel.cpp  


--- trunk/extragear/graphics/kst/kst/ksteditviewobjectdialog_i.cpp #451043:451044
@@ -155,7 +155,7 @@
           // insert a checkbox
           propertyWidget = new QCheckBox(_propertiesFrame, (propertyName+","+"checked").latin1());
           propertyWidget->setProperty("checked", _viewObject->property(property->name()));
-        } else if (widgetType == "KDoubleNumInput") {
+        } else if (widgetType == "KDoubleSpinBox") {
           // insert a double num spinbox
           KDoubleSpinBox* input = new KDoubleSpinBox(_propertiesFrame, (propertyName+","+"value").latin1());
           // need this so that setValue later works
--- trunk/extragear/graphics/kst/kst/kstviewarrow.cpp #451043:451044
@@ -188,12 +188,12 @@
     map.insert(QString("_kst_label"), i18n(""));    
     map.insert(QString("text"), i18n("Arrow at end"));
   } else if (propertyName == "fromArrowScaling") {
-    map.insert(QString("_kst_widgetType"), QString("KDoubleNumInput"));
+    map.insert(QString("_kst_widgetType"), QString("KDoubleSpinBox"));
     map.insert(QString("_kst_label"), i18n("Start arrow scaling")); 
     map.insert(QString("minValue"), 1.0);
     map.insert(QString("maxValue"), 100.0);
   } else if (propertyName == "toArrowScaling") {
-    map.insert(QString("_kst_widgetType"), QString("KDoubleNumInput"));
+    map.insert(QString("_kst_widgetType"), QString("KDoubleSpinBox"));
     map.insert(QString("_kst_label"), i18n("End arrow scaling")); 
     map.insert(QString("minValue"), 1.0);
     map.insert(QString("maxValue"), 100.0);
--- trunk/extragear/graphics/kst/kst/kstviewlabel.cpp #451043:451044
@@ -502,7 +502,7 @@
     map.insert(QString("_kst_widgetType"), QString("QLineEdit"));
     map.insert(QString("_kst_label"), i18n("Text"));  
   } else if (propertyName == "rotation") {
-    map.insert(QString("_kst_widgetType"), QString("KDoubleNumInput"));
+    map.insert(QString("_kst_widgetType"), QString("KDoubleSpinBox"));
     map.insert(QString("_kst_label"), i18n("Rotation")); 
     map.insert(QString("minValue"), -90.0);
     map.insert(QString("maxValue"), 90.0);


More information about the Kst mailing list