JKQtPlotter/examples/simpletest_ui/formwithjkqtplotter.h
2019-06-20 16:25:29 +02:00

30 lines
669 B
C++

#ifndef FORMWITHJKQTPLOTTER_H
#define FORMWITHJKQTPLOTTER_H
#include <QWidget>
#include "jkqtplotter/graphs/jkqtpparsedfunction.h"
namespace Ui {
class FormWithJKQTPlotter;
}
class FormWithJKQTPlotter : public QWidget
{
Q_OBJECT
public:
explicit FormWithJKQTPlotter(QWidget *parent = nullptr);
~FormWithJKQTPlotter();
protected slots:
void on_chkLogX_toggled(bool checked);
void on_chkLogY_toggled(bool checked);
void on_btnReplot_clicked();
private:
Ui::FormWithJKQTPlotter *ui;
JKQTPXParsedFunctionLineGraph* graph;
};
#endif // FORMWITHJKQTPLOTTER_H