[Kst] extragear/graphics/kst/kst
Rick Chern
rchern at interchange.ubc.ca
Wed Aug 17 21:33:27 CEST 2005
SVN commit 450267 by rchern:
Compile
M +5 -3 kstfitdialog_i.cpp
--- trunk/extragear/graphics/kst/kst/kstfitdialog_i.cpp #450266:450267
@@ -32,6 +32,7 @@
#include "curveappearancewidget.h"
#include "kstfitdialog_i.h"
#include "kstvcurve.h"
+#include "kstviewlabel.h"
#include "kstviewwindow.h"
#include "plugincollection.h"
#include "pluginmanager.h"
@@ -124,7 +125,7 @@
KstVectorPtr xVector;
KstVectorPtr yVector;
KstVectorPtr wVector;
- KstLabel* label;
+ KstViewLabel* label;
KstVCurvePtr fit;
QString strLabel;
bool bRetVal = false;
@@ -180,8 +181,9 @@
if (w && w->view()->findChild(_strPlotName)) {
Kst2DPlotPtr plot = kst_cast<Kst2DPlot>(w->view()->findChild(_strPlotName));
if (plot) {
- label = new KstLabel(strLabel, LxTy, 0.0, 0.05, 0.05);
- plot->addLabel(label);
+ // FIXME: add a KstViewLabel
+ //label = new KstLabel(strLabel, LxTy, 0.0, 0.05, 0.05);
+ //plot->addLabel(label);
plot->addCurve(fit.data());
}
}
More information about the Kst
mailing list