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

Mike Fenton mike at staikos.net
Mon Nov 10 17:13:15 CET 2008


SVN commit 882361 by fenton:

Fix PlotRenderItem delay on Dialog based changes.


 M  +1 -1      basicplugindialog.cpp  
 M  +2 -3      csddialog.cpp  
 M  +2 -3      equationdialog.cpp  
 M  +1 -1      filterfitdialog.cpp  
 M  +3 -2      histogramdialog.cpp  
 M  +2 -2      powerspectrumdialog.cpp  


--- branches/work/kst/portto4/kst/src/libkstapp/basicplugindialog.cpp #882360:882361
@@ -95,7 +95,7 @@
   if (BasicPlugin* plugin = kst_cast<BasicPlugin>(dataObject())) {
     plugin->writeLock();
     plugin->change(_basicPluginTab->configWidget());
-    plugin->update();
+    plugin->inputObjectUpdated(plugin);
     plugin->unlock();
   }
   return dataObject();
--- branches/work/kst/portto4/kst/src/libkstapp/csddialog.cpp #882360:882361
@@ -296,7 +296,7 @@
                       vectorUnits,
                       rateUnits);
 
-          csd->update();
+          csd->inputObjectUpdated(csd);
           csd->unlock();
         }
       }
@@ -315,8 +315,7 @@
                   _CSDTab->FFTOptionsWidget()->vectorUnits(),
                   _CSDTab->FFTOptionsWidget()->rateUnits());
       csd->setDescriptiveName(DataDialog::tagString().replace(defaultTagString(), QString()));
-
-      csd->update();
+      csd->inputObjectUpdated(csd);
       csd->unlock();
     }
   }
--- branches/work/kst/portto4/kst/src/libkstapp/equationdialog.cpp #882360:882361
@@ -354,7 +354,7 @@
           equation->setEquation(equationString);
           equation->setExistingXVector(xVector, doInterpolation);
 
-          equation->update();
+          equation->inputObjectUpdated(equation);
           equation->unlock();
         }
       }
@@ -363,8 +363,7 @@
       equation->setEquation(_equationTab->equation());
       equation->setExistingXVector(_equationTab->xVector(), _equationTab->doInterpolation());
       equation->setDescriptiveName(DataDialog::tagString().replace(defaultTagString(), QString()));
-
-      equation->update();
+      equation->inputObjectUpdated(equation);
       equation->unlock();
     }
   }
--- branches/work/kst/portto4/kst/src/libkstapp/filterfitdialog.cpp #882360:882361
@@ -217,7 +217,7 @@
   if (BasicPlugin* plugin = kst_cast<BasicPlugin>(dataObject())) {
     plugin->writeLock();
     plugin->change(_filterFitTab->configWidget());
-    plugin->update();
+    plugin->inputObjectUpdated(plugin);
     plugin->unlock();
   }
   return dataObject();
--- branches/work/kst/portto4/kst/src/libkstapp/histogramdialog.cpp #882360:882361
@@ -426,8 +426,9 @@
           histogram->setNormalizationType(normalizationType);
           histogram->setRealTimeAutoBin(realTimeAutoBin);
 
-          histogram->update();
           histogram->unlock();
+
+          histogram->inputObjectUpdated(histogram);
         }
       }
     } else {
@@ -439,9 +440,9 @@
       histogram->setRealTimeAutoBin(_histogramTab->realTimeAutoBin());
       histogram->setDescriptiveName(DataDialog::tagString().replace(defaultTagString(), QString()));
 
-      histogram->update();
       histogram->unlock();
 
+      histogram->inputObjectUpdated(histogram);
       setHistogramDefaults(histogram);
     }
   }
--- branches/work/kst/portto4/kst/src/libkstapp/powerspectrumdialog.cpp #882360:882361
@@ -300,7 +300,7 @@
           powerspectrum->setOutput(output);
           powerspectrum->setInterpolateHoles(interpolateOverHoles);
 
-          powerspectrum->update();
+          powerspectrum->inputObjectUpdated(powerspectrum);
           powerspectrum->unlock();
         }
       }
@@ -320,7 +320,7 @@
       powerspectrum->setInterpolateHoles(_powerSpectrumTab->FFTOptionsWidget()->interpolateOverHoles());
       powerspectrum->setDescriptiveName(DataDialog::tagString().replace(defaultTagString(), QString()));
 
-      powerspectrum->update();
+      powerspectrum->inputObjectUpdated(powerspectrum);
       powerspectrum->unlock();
 
       _powerSpectrumTab->FFTOptionsWidget()->setWidgetDefaults();


More information about the Kst mailing list