mirror of
https://github.com/jkriege2/JKQtPlotter.git
synced 2024-12-25 18:11:38 +08:00
32 lines
707 B
C++
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
|