JKQtPlotter/examples/ui/formwithjkqtplotter.h

32 lines
707 B
C
Raw Normal View History

#ifndef FORMWITHJKQTPLOTTER_H
#define FORMWITHJKQTPLOTTER_H
#include <QWidget>
2019-06-20 22:06:31 +08:00
#include "jkqtplotter/graphs/jkqtpparsedfunction.h"
2020-10-02 21:41:26 +08:00
QT_BEGIN_NAMESPACE
namespace Ui {
class FormWithJKQTPlotter;
}
2020-10-02 21:41:26 +08:00
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