2019-01-09 03:02:05 +08:00
|
|
|
#ifndef FORMWITHJKQTPLOTTER_H
|
|
|
|
#define FORMWITHJKQTPLOTTER_H
|
|
|
|
|
|
|
|
#include <QWidget>
|
2019-06-20 22:06:31 +08:00
|
|
|
#include "jkqtplotter/graphs/jkqtpparsedfunction.h"
|
2019-01-09 03:02:05 +08:00
|
|
|
|
2020-10-02 21:41:26 +08:00
|
|
|
QT_BEGIN_NAMESPACE
|
2019-01-09 03:02:05 +08:00
|
|
|
namespace Ui {
|
2019-01-20 23:15:10 +08:00
|
|
|
class FormWithJKQTPlotter;
|
2019-01-09 03:02:05 +08:00
|
|
|
}
|
2020-10-02 21:41:26 +08:00
|
|
|
QT_END_NAMESPACE
|
2019-01-09 03:02:05 +08:00
|
|
|
|
2019-01-20 23:15:10 +08:00
|
|
|
class FormWithJKQTPlotter : public QWidget
|
2019-01-09 03:02:05 +08:00
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2019-01-20 23:15:10 +08:00
|
|
|
explicit FormWithJKQTPlotter(QWidget *parent = nullptr);
|
|
|
|
~FormWithJKQTPlotter();
|
2019-01-09 03:02:05 +08:00
|
|
|
protected slots:
|
|
|
|
void on_chkLogX_toggled(bool checked);
|
|
|
|
void on_chkLogY_toggled(bool checked);
|
|
|
|
void on_btnReplot_clicked();
|
|
|
|
|
|
|
|
private:
|
2019-01-20 23:15:10 +08:00
|
|
|
Ui::FormWithJKQTPlotter *ui;
|
2019-01-09 03:02:05 +08:00
|
|
|
|
2019-01-20 17:49:29 +08:00
|
|
|
JKQTPXParsedFunctionLineGraph* graph;
|
2019-01-09 03:02:05 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // FORMWITHJKQTPLOTTER_H
|