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

Barth Netterfield netterfield at astro.utoronto.ca
Mon Jun 1 17:51:06 CEST 2009


SVN commit 976406 by netterfield:

Update bug list
start to implement new page in data wizard.



 M  +22 -1     devel-docs/Kst2Specs/Bugs  
 M  +94 -90    src/libkstapp/datawizardpageplot.ui  


--- branches/work/kst/portto4/kst/devel-docs/Kst2Specs/Bugs #976405:976406
@@ -34,8 +34,28 @@
   should behave as if it were tied, but the other should not.
   -If the tied zoom indicators are checked, then it should tie both axis.
 
+(ie, if only the x axis is shared, then only the x axis is tied; if only 
+ the y axis is shared, only the y axis is tied.)
+
+If axis are shared, then they must always have exactly the same
+range.  So 'M' (autoscale) must be set to the Max/Min over all of the 
+plots with the shared axis, not each inividually.
+
 ---------------------------
 
+Shared axis not shared until a redraw.
+create plots with more than 1 column (eg, 6 plots in two columns).
+With a shared axis box, select two plots on the same row, so you
+would expect them to share a Y axis.  
+  -the bottom axis is suppresed on both.
+    (they should not be)
+  -The left axis on the right plot is not suppresed.
+    (it should be)
+until something is done to trigger a redraw (eg, a rescale) at which 
+time the plots are drawn correctly.
+
+---------------------------
+
 Bugs Reported by D.V. Wiebe
 
 
@@ -87,4 +107,5 @@
 not change created objects.  Ie.  Grid setting will apply to all newly created Tabs, but not existing tabs currently.
 
 5) When starting Kst from a different folder, it creates another kstdatarc in the current folder instead of having one fixed rc file stored somewhere
-(cbn note: this appears to be masked using the run-kst script - which won't work if installed)
+cbn note: this appears to be masked using the run-kst script - which which sets the cwd to the directory where the script is located (I think).  The kstdatarc file should live in the standard kde config directory (on my machine, this is ~/.kde/share/config, but we need to verify where it is on Windows and Mac.
+
--- branches/work/kst/portto4/kst/src/libkstapp/datawizardpageplot.ui #976405:976406
@@ -6,21 +6,21 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>884</width>
-    <height>326</height>
+    <width>776</width>
+    <height>394</height>
    </rect>
   </property>
   <layout class="QGridLayout" name="gridLayout_2">
-   <item row="0" column="0">
-    <widget class="QGroupBox" name="buttonGroup1">
+   <item row="1" column="0">
+    <widget class="QGroupBox" name="buttonGroup3">
      <property name="title">
-      <string>Cur&amp;ve Style</string>
+      <string>Labels</string>
      </property>
-     <layout class="QVBoxLayout">
+     <layout class="QVBoxLayout" name="verticalLayout_2">
       <item>
-       <widget class="QRadioButton" name="_drawLines">
+       <widget class="QCheckBox" name="_xAxisLabels">
         <property name="text">
-         <string>L&amp;ines only</string>
+         <string>&amp;X-axis labels</string>
         </property>
         <property name="checked">
          <bool>true</bool>
@@ -28,23 +28,19 @@
        </widget>
       </item>
       <item>
-       <widget class="QRadioButton" name="_drawPoints">
+       <widget class="QCheckBox" name="_yAxisLabels">
         <property name="text">
-         <string>&amp;Points only</string>
+         <string>&amp;Y-axis labels</string>
         </property>
-       </widget>
-      </item>
-      <item>
-       <widget class="QRadioButton" name="_drawBoth">
-        <property name="text">
-         <string>Lines an&amp;d points</string>
+        <property name="checked">
+         <bool>true</bool>
         </property>
        </widget>
       </item>
      </layout>
     </widget>
    </item>
-   <item row="0" column="1">
+   <item row="1" column="1">
     <widget class="QGroupBox" name="buttonGroup7">
      <property name="title">
       <string>Legend</string>
@@ -77,7 +73,76 @@
      </layout>
     </widget>
    </item>
-   <item row="0" column="2" rowspan="2">
+   <item row="1" column="2">
+    <widget class="QGroupBox" name="buttonGroup1">
+     <property name="title">
+      <string>Cur&amp;ve Style</string>
+     </property>
+     <layout class="QVBoxLayout">
+      <item>
+       <widget class="QRadioButton" name="_drawLines">
+        <property name="text">
+         <string>L&amp;ines only</string>
+        </property>
+        <property name="checked">
+         <bool>true</bool>
+        </property>
+       </widget>
+      </item>
+      <item>
+       <widget class="QRadioButton" name="_drawPoints">
+        <property name="text">
+         <string>&amp;Points only</string>
+        </property>
+       </widget>
+      </item>
+      <item>
+       <widget class="QRadioButton" name="_drawBoth">
+        <property name="text">
+         <string>Lines an&amp;d points</string>
+        </property>
+       </widget>
+      </item>
+     </layout>
+    </widget>
+   </item>
+   <item row="1" column="4">
+    <widget class="QGroupBox" name="_psdAxisGroup">
+     <property name="title">
+      <string>Spectrum Axis Mode</string>
+     </property>
+     <layout class="QVBoxLayout">
+      <item>
+       <widget class="QCheckBox" name="_psdLogX">
+        <property name="text">
+         <string>Lo&amp;g X axis</string>
+        </property>
+       </widget>
+      </item>
+      <item>
+       <widget class="QCheckBox" name="_psdLogY">
+        <property name="text">
+         <string>&amp;Log Y axis</string>
+        </property>
+       </widget>
+      </item>
+     </layout>
+    </widget>
+   </item>
+   <item row="3" column="1">
+    <spacer name="verticalSpacer">
+     <property name="orientation">
+      <enum>Qt::Vertical</enum>
+     </property>
+     <property name="sizeHint" stdset="0">
+      <size>
+       <width>20</width>
+       <height>40</height>
+      </size>
+     </property>
+    </spacer>
+   </item>
+   <item row="0" column="0" colspan="2">
     <widget class="QGroupBox" name="_plotGroup">
      <property name="title">
       <string>Curve Placement</string>
@@ -173,59 +238,37 @@
      </layout>
     </widget>
    </item>
-   <item row="1" column="0" rowspan="2">
-    <widget class="QGroupBox" name="_psdAxisGroup">
+   <item row="0" column="2">
+    <widget class="QGroupBox" name="groupBox">
      <property name="title">
-      <string>Spectrum Axis Mode</string>
+      <string>Plot Placement (Tabs)</string>
      </property>
-     <layout class="QVBoxLayout">
+     <layout class="QVBoxLayout" name="verticalLayout_3">
       <item>
-       <widget class="QCheckBox" name="_psdLogX">
+       <widget class="QRadioButton" name="_currentTab">
         <property name="text">
-         <string>Lo&amp;g X axis</string>
+         <string>Current Tab</string>
         </property>
        </widget>
       </item>
       <item>
-       <widget class="QCheckBox" name="_psdLogY">
+       <widget class="QRadioButton" name="_newTab">
         <property name="text">
-         <string>&amp;Log Y axis</string>
+         <string>New Tab</string>
         </property>
        </widget>
       </item>
-     </layout>
-    </widget>
-   </item>
-   <item row="1" column="1" rowspan="2">
-    <widget class="QGroupBox" name="buttonGroup3">
-     <property name="title">
-      <string>Labels</string>
-     </property>
-     <layout class="QVBoxLayout" name="verticalLayout_2">
       <item>
-       <widget class="QCheckBox" name="_xAxisLabels">
+       <widget class="QRadioButton" name="_separateTabs">
         <property name="text">
-         <string>&amp;X-axis labels</string>
+         <string>XY and spectra in separate new tabs</string>
         </property>
-        <property name="checked">
-         <bool>true</bool>
-        </property>
        </widget>
       </item>
-      <item>
-       <widget class="QCheckBox" name="_yAxisLabels">
-        <property name="text">
-         <string>&amp;Y-axis labels</string>
-        </property>
-        <property name="checked">
-         <bool>true</bool>
-        </property>
-       </widget>
-      </item>
      </layout>
     </widget>
    </item>
-   <item row="2" column="2" rowspan="2">
+   <item row="0" column="4">
     <widget class="QGroupBox" name="groupBox_2">
      <property name="title">
       <string>Plot Layout</string>
@@ -282,45 +325,6 @@
      </layout>
     </widget>
    </item>
-   <item row="3" column="0" rowspan="2">
-    <spacer name="verticalSpacer">
-     <property name="orientation">
-      <enum>Qt::Vertical</enum>
-     </property>
-     <property name="sizeHint" stdset="0">
-      <size>
-       <width>20</width>
-       <height>131</height>
-      </size>
-     </property>
-    </spacer>
-   </item>
-   <item row="3" column="1" rowspan="2">
-    <spacer name="verticalSpacer_2">
-     <property name="orientation">
-      <enum>Qt::Vertical</enum>
-     </property>
-     <property name="sizeHint" stdset="0">
-      <size>
-       <width>20</width>
-       <height>131</height>
-      </size>
-     </property>
-    </spacer>
-   </item>
-   <item row="4" column="2">
-    <spacer name="verticalSpacer_3">
-     <property name="orientation">
-      <enum>Qt::Vertical</enum>
-     </property>
-     <property name="sizeHint" stdset="0">
-      <size>
-       <width>20</width>
-       <height>58</height>
-      </size>
-     </property>
-    </spacer>
-   </item>
   </layout>
  </widget>
  <layoutdefault spacing="6" margin="11"/>


More information about the Kst mailing list