[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/work/kst/portto4/kst/src/libkstapp
From: Barth Netterfield <netterfield () astro ! utoronto ! ca>
Date: 2008-07-01 0:13:47
Message-ID: 1214871227.009033.25577.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 826570 by netterfield:
Changing entries one of the vector combos in the equation dialog changes the others as well.
M +8 -0 equationdialog.cpp
M +3 -0 equationdialog.h
--- branches/work/kst/portto4/kst/src/libkstapp/equationdialog.cpp #826569:826570
@@ -44,6 +44,9 @@
connect(_vectors, SIGNAL(selectionChanged(QString)), this, SLOT(equationUpdate(const QString&)));
connect(_scalars, SIGNAL(selectionChanged(QString)), this, SLOT(equationUpdate(const QString&)));
+ connect(_xVectors, SIGNAL(contentChanged()), this, SLOT(updateVectorCombos()));
+ connect(_vectors, SIGNAL(contentChanged()), this, SLOT(updateVectorCombos()));
+
connect(_xVectors, SIGNAL(selectionChanged(QString)), this, SIGNAL(modified()));
connect(_equation, SIGNAL(textChanged(const QString &)), this, SIGNAL(modified()));
connect(_doInterpolation, SIGNAL(clicked()), this, SIGNAL(modified()));
@@ -193,6 +196,11 @@
}
+void EquationTab::updateVectorCombos() {
+ _xVectors->fillVectors();
+ _vectors->fillVectors();
+}
+
EquationDialog::EquationDialog(ObjectPtr dataObject, QWidget *parent)
: DataDialog(dataObject, parent) {
--- branches/work/kst/portto4/kst/src/libkstapp/equationdialog.h #826569:826570
@@ -47,6 +47,9 @@
void hideCurveOptions();
void clearTabValues();
+ public Q_SLOTS:
+ void updateVectorCombos();
+
Q_SIGNALS:
void optionsChanged();
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic