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 17:49:29 +08:00
|
|
|
class FormWithJKQTPLotter;
|
2019-01-09 03:02:05 +08:00
|
|
|
}
|
|
|
|
|
2019-01-20 17:49:29 +08:00
|
|
|
class FormWithJKQTPLotter : public QWidget
|
2019-01-09 03:02:05 +08:00
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2019-01-20 17:49:29 +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 17:49:29 +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
|