[Kst] branches/work/kst/portto4/kst/src/libkstapp
George Staikos
staikos at kde.org
Thu Oct 4 09:01:20 CEST 2007
SVN commit 720968 by staikos:
launch the equation dialog
M +4 -4 datamanager.cpp
M +3 -3 dialoglaunchergui.cpp
--- branches/work/kst/portto4/kst/src/libkstapp/datamanager.cpp #720967:720968
@@ -75,10 +75,10 @@
connect(action, SIGNAL(triggered()), DialogLauncher::self(), SLOT(showCurveDialog()));
_dataObjects->addAction(action);
-// action = new DataButtonAction(tr("Equation"));
-// connect(action, SIGNAL(triggered()), DialogLauncher::self(), SLOT(showEquationDialog()));
-// _dataObjects->addAction(action);
-//
+ action = new DataButtonAction(tr("Equation"));
+ connect(action, SIGNAL(triggered()), DialogLauncher::self(), SLOT(showEquationDialog()));
+ _dataObjects->addAction(action);
+
// action = new DataButtonAction(tr("Histogram"));
// connect(action, SIGNAL(triggered()), DialogLauncher::self(), SLOT(showHistogramDialog()));
// _dataObjects->addAction(action);
--- branches/work/kst/portto4/kst/src/libkstapp/dialoglaunchergui.cpp #720967:720968
@@ -12,9 +12,9 @@
#include "dialoglaunchergui.h"
#include "application.h"
-
+#include "curvedialog.h"
+#include "equationdialog.h"
#include "vectordialog.h"
-#include "curvedialog.h"
namespace Kst {
@@ -59,7 +59,7 @@
void DialogLauncherGui::showEquationDialog(KstObjectPtr objectPtr) {
- Q_UNUSED(objectPtr);
+ EquationDialog(objectPtr, kstApp->mainWindow()).exec();
}
More information about the Kst
mailing list