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

Barth Netterfield netterfield at astro.utoronto.ca
Sun Aug 1 03:32:29 CEST 2010


SVN commit 1157727 by netterfield:

Fix bug in filter/fit new plot creation.


 M  +0 -4      devel-docs/Kst2Specs/Wishlist  
 M  +3 -0      src/libkstapp/filterfitdialog.cpp  
 M  +2 -2      src/libkstapp/filterfittab.ui  


--- branches/work/kst/portto4/kst/devel-docs/Kst2Specs/Wishlist #1157726:1157727
@@ -79,8 +79,4 @@
 
 --------------------
 
-fit dialog should have curve placement options: overplot, replace, new plot.
-
---------------------
-
 Legends can get larger than the plot if there are enought things in them.  This should not be.  Requires chewing of the cud...
--- branches/work/kst/portto4/kst/src/libkstapp/filterfitdialog.cpp #1157726:1157727
@@ -231,6 +231,8 @@
       if (_filterFitTab->curvePlacement()->scaleFonts()) {
         plotItem->parentView()->resetPlotFontSizes();
       }
+      plotItem->parentView()->appendToLayout(_filterFitTab->curvePlacement()->layout(), plotItem,
+                                             _filterFitTab->curvePlacement()->gridColumns());
       break;
     }
   default:
@@ -278,6 +280,7 @@
       cmd->createItem(tmpstring);
     }
     plotItem->update();
+
   }
 
   _filterFitTab->configWidget()->save();
--- branches/work/kst/portto4/kst/src/libkstapp/filterfittab.ui #1157726:1157727
@@ -6,8 +6,8 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>1020</width>
-    <height>619</height>
+    <width>609</width>
+    <height>310</height>
    </rect>
   </property>
   <layout class="QVBoxLayout" name="verticalLayout_3">


More information about the Kst mailing list