[Kst] branches/work/kst/1.6/kst/src/libkstapp
Andrew Walker
arwalker at sumusltd.com
Thu Dec 13 22:55:42 CET 2007
SVN commit 748225 by arwalker:
enable apply button when editing and curve appearance is changed
M +2 -0 kstcurvedialog_i.cpp
M +1 -0 ksteqdialog_i.cpp
M +1 -0 ksthsdialog_i.cpp
M +2 -0 kstplugindialog_i.cpp
M +1 -0 kstpsddialog_i.cpp
M +1 -0 kstvvdialog_i.cpp
--- branches/work/kst/1.6/kst/src/libkstapp/kstcurvedialog_i.cpp #748224:748225
@@ -99,6 +99,8 @@
connect(_w->_interp, SIGNAL(highlighted(int)), this, SLOT(wasModifiedApply()));
connect(_w->_checkBoxXMinusSameAsPlus, SIGNAL(clicked()), this, SLOT(wasModifiedApply()));
connect(_w->_checkBoxYMinusSameAsPlus, SIGNAL(clicked()), this, SLOT(wasModifiedApply()));
+ connect(_w->_curveAppearance, SIGNAL(changed()), this, SLOT(wasModifiedApply()));
+ connect(_w->_checkBoxIgnoreAutoscale, SIGNAL(clicked()), this, SLOT(wasModifiedApply()));
_w->_xError->provideNoneVector(true);
_w->_yError->provideNoneVector(true);
--- branches/work/kst/1.6/kst/src/libkstapp/ksteqdialog_i.cpp #748224:748225
@@ -75,6 +75,7 @@
connect(_w->_xVectors, SIGNAL(selectionChanged(const QString&)), this, SLOT(wasModifiedApply()));
connect(_w->_xVectors, SIGNAL(selectionChangedLabel(const QString&)), this, SLOT(wasModifiedApply()));
connect(_w->_doInterpolation, SIGNAL(clicked()), this, SLOT(wasModifiedApply()));
+ connect(_w->_curveAppearance, SIGNAL(changed()), this, SLOT(wasModifiedApply()));
}
--- branches/work/kst/1.6/kst/src/libkstapp/ksthsdialog_i.cpp #748224:748225
@@ -82,6 +82,7 @@
connect(_w->NormIsFraction, SIGNAL(clicked()), this, SLOT(wasModifiedApply()));
connect(_w->NormIsNumber, SIGNAL(clicked()), this, SLOT(wasModifiedApply()));
connect(_w->PeakIs1, SIGNAL(clicked()), this, SLOT(wasModifiedApply()));
+ connect(_w->_curveAppearance, SIGNAL(changed()), this, SLOT(wasModifiedApply()));
QColor qc = _w->_curveAppearance->color();
_w->_curveAppearance->setValue(false, false, true, qc, 0, 0, 0, 1, 0);
--- branches/work/kst/1.6/kst/src/libkstapp/kstplugindialog_i.cpp #748224:748225
@@ -37,6 +37,7 @@
#include <kmessagebox.h>
// application specific includes
+#include "curveappearancewidget.h"
#include "kst.h"
#include "kstplugindialog_i.h"
#include "kstdataobjectcollection.h"
@@ -67,6 +68,7 @@
connect(_w->PluginCombo, SIGNAL(highlighted(int)), this, SLOT(wasModifiedApply()));
connect(_w->PluginCombo, SIGNAL(activated(int)), this, SLOT(pluginChanged(int)));
connect(_w->_pluginManager, SIGNAL(clicked()), this, SLOT(showPluginManager()));
+ connect(_w->_curveAppearance, SIGNAL(changed()), this, SLOT(wasModifiedApply()));
_pluginInfoGrid = 0L;
_pluginInputOutputGrid = 0L;
--- branches/work/kst/1.6/kst/src/libkstapp/kstpsddialog_i.cpp #748224:748225
@@ -85,6 +85,7 @@
connect(_w->_kstFFTOptions->VectorUnits, SIGNAL(textChanged(const QString&)), this, SLOT(wasModifiedApply()));
connect(_w->_kstFFTOptions->RateUnits, SIGNAL(textChanged(const QString&)), this, SLOT(wasModifiedApply()));
connect(_w->_kstFFTOptions->Output, SIGNAL(highlighted(int)), this, SLOT(wasModifiedApply()));
+ connect(_w->_curveAppearance, SIGNAL(changed()), this, SLOT(wasModifiedApply()));
}
--- branches/work/kst/1.6/kst/src/libkstapp/kstvvdialog_i.cpp #748224:748225
@@ -124,6 +124,7 @@
connect(_w->_currentButton, SIGNAL(clicked()), this, SLOT(wasModifiedApply()));
connect(_w->_FlagVector, SIGNAL(selectionChanged(const QString&)), this, SLOT(wasModifiedApply()));
connect(_w->_FlagVector, SIGNAL(selectionChangedLabel(const QString&)), this, SLOT(wasModifiedApply()));
+ connect(_w->_curveAppearance, SIGNAL(changed()), this, SLOT(wasModifiedApply()));
}
More information about the Kst
mailing list