summaryrefslogtreecommitdiffhomepage
path: root/QFunctionConfigurator
diff options
context:
space:
mode:
Diffstat (limited to 'QFunctionConfigurator')
-rw-r--r--QFunctionConfigurator/QFunctionConfigurator/qfunctionconfigurator.h18
-rw-r--r--QFunctionConfigurator/release/QFunctionConfigurator.dllbin69632 -> 69632 bytes
-rw-r--r--QFunctionConfigurator/release/QFunctionConfigurator.expbin17180 -> 17230 bytes
-rw-r--r--QFunctionConfigurator/release/QFunctionConfigurator.libbin30108 -> 30168 bytes
4 files changed, 9 insertions, 9 deletions
diff --git a/QFunctionConfigurator/QFunctionConfigurator/qfunctionconfigurator.h b/QFunctionConfigurator/QFunctionConfigurator/qfunctionconfigurator.h
index c96b0f55..48b816ca 100644
--- a/QFunctionConfigurator/QFunctionConfigurator/qfunctionconfigurator.h
+++ b/QFunctionConfigurator/QFunctionConfigurator/qfunctionconfigurator.h
@@ -120,9 +120,9 @@ public:
~QFunctionConfigurator();
FunctionConfig* config();
- void setConfig(FunctionConfig* config); // Connect the FunctionConfig to the Widget.
- void loadSettings(QSettings& settings); // Load the FunctionConfig (points) from the INI-file
- void saveSettings(QSettings& settings); // Save the FunctionConfig (points) to the INI-file
+ void setConfig(FunctionConfig* config, QString settingsFile); // Connect the FunctionConfig to the Widget.
+ void loadSettings(QString settingsFile); // Load the FunctionConfig (points) from the INI-file
+ void saveSettings(QString settingsFile); // Save the FunctionConfig (points) to the INI-file
signals:
void CurveChanged(bool);
@@ -142,8 +142,8 @@ public slots:
void setCaption(QString);
void resetCurve() {
- QSettings iniFile( strSettingsFile, QSettings::IniFormat ); // Application settings (in INI-file)
- loadSettings( iniFile );
+ qDebug() << "QFunctionConfigurator::resetCurve = " << strSettingsFile;
+ loadSettings( strSettingsFile );
}
protected slots:
@@ -165,10 +165,10 @@ protected:
virtual void resizeEvent(QResizeEvent *);
private:
- QRectF range; // The actual rectangle for the Bezier-curve
- QPointF lastPoint; // The right-most point of the Function
- QPointF normalizePoint (QPointF point) const; // Convert the graphical Point to a real-life Point
- QPointF graphicalizePoint (QPointF point) const; // Convert the Point to a graphical Point
+ QRectF range; // The actual rectangle for the Bezier-curve
+ QPointF lastPoint; // The right-most point of the Function
+ QPointF normalizePoint (QPointF point) const; // Convert the graphical Point to a real-life Point
+ QPointF graphicalizePoint (QPointF point, QString source) const; // Convert the Point to a graphical Point
QPointF *moving;
int movingPoint;
diff --git a/QFunctionConfigurator/release/QFunctionConfigurator.dll b/QFunctionConfigurator/release/QFunctionConfigurator.dll
index 008bdc0b..8fbdf805 100644
--- a/QFunctionConfigurator/release/QFunctionConfigurator.dll
+++ b/QFunctionConfigurator/release/QFunctionConfigurator.dll
Binary files differ
diff --git a/QFunctionConfigurator/release/QFunctionConfigurator.exp b/QFunctionConfigurator/release/QFunctionConfigurator.exp
index cd05cbd2..b1d0e01b 100644
--- a/QFunctionConfigurator/release/QFunctionConfigurator.exp
+++ b/QFunctionConfigurator/release/QFunctionConfigurator.exp
Binary files differ
diff --git a/QFunctionConfigurator/release/QFunctionConfigurator.lib b/QFunctionConfigurator/release/QFunctionConfigurator.lib
index b102f3be..c41801d4 100644
--- a/QFunctionConfigurator/release/QFunctionConfigurator.lib
+++ b/QFunctionConfigurator/release/QFunctionConfigurator.lib
Binary files differ