[Kst] extragear/graphics/kst/src/libkstapp
Barth Netterfield
netterfield at astro.utoronto.ca
Fri Mar 2 13:35:37 CET 2007
SVN commit 638540 by netterfield:
Another string fix.
Add an include to make it compile.
Equation dialog now makes a guess for what to default as the X vector.
M +1 -1 datawizard.ui
M +7 -0 ksteqdialog_i.cpp
M +1 -0 viewlegendwidget.ui
--- trunk/extragear/graphics/kst/src/libkstapp/datawizard.ui #638539:638540
@@ -551,7 +551,7 @@
<cstring>_radioButtonPlotPSD</cstring>
</property>
<property name="text">
- <string>&spectrum</string>
+ <string>&Spectrum</string>
</property>
<property name="whatsThis" stdset="0">
<string>Only produce spectrum plots. The spectra of the data selected to the left are generated using the parameters below.</string>
--- trunk/extragear/graphics/kst/src/libkstapp/ksteqdialog_i.cpp #638539:638540
@@ -115,6 +115,7 @@
void KstEqDialogI::fillFieldsForNew() {
KstEquationList eqs = kstObjectSubList<KstDataObject, KstEquation>(KST::dataObjectList);
+ KstVCurveList curves = kstObjectSubList<KstDataObject, KstVCurve>(KST::dataObjectList);
/* set tag name */
_tagName->setText(defaultTag);
@@ -125,6 +126,12 @@
/* set the curve placement window */
_w->_curvePlacement->update();
+ // set the X Axis Vector to the X axis vector of
+ // the last curve on the global curve list...
+ if (curves.count() >0) {
+ _w->_xVectors->setSelection(curves.last()->xVTag().displayString());
+ }
+
_w->_equation->clear();
//for some reason the lower widget needs to be shown first to prevent overlapping?
--- trunk/extragear/graphics/kst/src/libkstapp/viewlegendwidget.ui #638539:638540
@@ -516,6 +516,7 @@
<includes>
<include location="local" impldecl="in implementation">plotlistbox.h</include>
<include location="global" impldecl="in declaration">kst_export.h</include>
+ <include location="global" impldecl="in implementation">kiconloader.h</include>
<include location="local" impldecl="in implementation">viewlegendwidget.ui.h</include>
</includes>
<signals>
More information about the Kst
mailing list