2019-01-09 03:02:05 +08:00
|
|
|
#ifndef FORMWITHJKQTPLOTTER_H
|
|
|
|
#define FORMWITHJKQTPLOTTER_H
|
|
|
|
|
|
|
|
#include <QWidget>
|
|
|
|
#include "jkqtplotter/jkqtpgraphsparsedfunction.h"
|
|
|
|
|
|
|
|
namespace Ui {
|
2019-01-20 23:15:10 +08:00
|
|
|
class FormWithJKQTPlotter;
|
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
|