JKQtPlotter/examples/ui/formwithjkqtplotter.h
2020-10-02 14:41:26 +01:00

32 lines
707 B
C++

#ifndef FORMWITHJKQTPLOTTER_H
#define FORMWITHJKQTPLOTTER_H
#include <QWidget>
#include "jkqtplotter/graphs/jkqtpparsedfunction.h"
QT_BEGIN_NAMESPACE
namespace Ui {
class FormWithJKQTPlotter;
}
QT_END_NAMESPACE
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