[Kst] branches/work/kst/pluginify/kst/src/plugins/linefit
Adam Treat
treat at kde.org
Tue Sep 12 22:14:52 CEST 2006
SVN commit 583617 by treat:
* Beginnings of linefit dialog
M +2 -2 Makefile.am
A linefitdialog_i.cpp [License: GPL (v2+)]
A linefitdialog_i.h [License: GPL (v2+)]
A linefitdialogwidget.ui
M +4 -1 linefitplugin.cpp
--- branches/work/kst/pluginify/kst/src/plugins/linefit/Makefile.am #583616:583617
@@ -1,9 +1,9 @@
-INCLUDES=-I$(top_srcdir)/kst -I$(top_srcdir)/kst/src/libkst -I$(top_srcdir)/kst/src/libkstmath $(all_includes)
+INCLUDES=-I$(top_srcdir)/kst -I$(top_srcdir)/kst/src/widgets -I$(top_srcdir)/kst/src/libkst -I$(top_srcdir)/kst/src/libkstapp -I$(top_srcdir)/kst/src/libkstmath $(all_includes)
kde_module_LTLIBRARIES=kst_linefit.la
kst_linefit_la_LDFLAGS=$(all_libraries) -module -avoid-version
-kst_linefit_la_SOURCES=linefitplugin.cpp
+kst_linefit_la_SOURCES=linefitplugin.cpp linefitdialog_i.cpp linefitdialogwidget.ui
services_DATA=kst_linefit.desktop
servicesdir=$(kde_servicesdir)/kst
--- branches/work/kst/pluginify/kst/src/plugins/linefit/linefitplugin.cpp #583616:583617
@@ -24,6 +24,8 @@
#include <kstdatacollection.h>
+#include "linefitdialog_i.h"
+
static const QString& X_COORDINATES_IN = KGlobal::staticQString("X Array");
static const QString& Y_COORDINATES_IN = KGlobal::staticQString("Y Array");
@@ -201,7 +203,8 @@
}
void LineFit::_showDialog() {
- //KMessageBox::information( 0, "insert linefit config widget here :)", "linefitconfig" );
+ LineFitDialogI *dialog = new LineFitDialogI;
+ dialog->show();
}
void LineFit::load(const QDomElement &e) {
More information about the Kst
mailing list