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

Barth Netterfield netterfield at astro.utoronto.ca
Mon Mar 14 13:35:34 CET 2011


SVN commit 1224865 by netterfield:

Don't create a plot from the plain filter/fit dialog, when the
plot options are hidden.

Fix naming of equations.



 M  +1 -16     devel-docs/Kst2Specs/Bugs  
 M  +16 -2     src/libkstapp/curvetab.ui  
 M  +1 -1      src/libkstmath/equation.cpp  
 M  +1 -1      src/widgets/curveplacement.cpp  


--- branches/work/kst/portto4/kst/devel-docs/Kst2Specs/Bugs #1224864:1224865
@@ -15,20 +15,5 @@
 Probably related bug: points don't always appear centered on the line.
 --------------------
 
-With live data, occasionally the last few (several) samples show as a
-flat-line (at about the value of the last sample at the previous update)
-which magically fixes itself upon the next update.  I think I have
-reported this before.
-
-and (same bug)
-
-With live data, add a label which contains a scalar showing the
-"Last" value of a vector.  As the data is scrolling by, sometimes this
-scalar will indicate a value strikingly similar to the "Min" (or perhaps
-"First") value on the plot rather than the Last value.
-
-** This appears to be either a BLASTpol defile bug, or a filesystem issue.  **
-
---------------------
-
 Select box tool.  Escape to cancel.  Mouse zooms don't work until you actually draw a box.
+
--- branches/work/kst/portto4/kst/src/libkstapp/curvetab.ui #1224864:1224865
@@ -43,7 +43,14 @@
        </widget>
       </item>
       <item row="0" column="1">
-       <widget class="Kst::VectorSelector" name="_xVector" native="true"/>
+       <widget class="Kst::VectorSelector" name="_xVector" native="true">
+        <property name="sizePolicy">
+         <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
+          <horstretch>0</horstretch>
+          <verstretch>0</verstretch>
+         </sizepolicy>
+        </property>
+       </widget>
       </item>
       <item row="0" column="2">
        <widget class="QLabel" name="_yVectorLabel">
@@ -62,7 +69,14 @@
        </widget>
       </item>
       <item row="0" column="3">
-       <widget class="Kst::VectorSelector" name="_yVector" native="true"/>
+       <widget class="Kst::VectorSelector" name="_yVector" native="true">
+        <property name="sizePolicy">
+         <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
+          <horstretch>0</horstretch>
+          <verstretch>0</verstretch>
+         </sizepolicy>
+        </property>
+       </widget>
       </item>
       <item row="1" column="0">
        <widget class="QLabel" name="_xErrorLabel">
--- branches/work/kst/portto4/kst/src/libkstmath/equation.cpp #1224864:1224865
@@ -547,7 +547,7 @@
 }
 
 QString Equation::_automaticDescriptiveName() const {
-  return _yOutVector->labelInfo().name;
+  return _yOutVector->titleInfo().name;
 }
 
 QString Equation::descriptionTip() const {
--- branches/work/kst/portto4/kst/src/widgets/curveplacement.cpp #1224864:1224865
@@ -42,7 +42,7 @@
 
 
 CurvePlacement::Place CurvePlacement::place() const {
-  if (_noPlot->isChecked())
+  if ((!isVisible()) || _noPlot->isChecked())
     return NoPlot;
   else if (_existingPlot->isChecked())
     return ExistingPlot;


More information about the Kst mailing list