mirror of
https://github.com/jkriege2/JKQtPlotter.git
synced 2024-11-16 02:25:50 +08:00
30 lines
668 B
C++
30 lines
668 B
C++
#ifndef FORMWITHJKQTPLOTTER_H
|
|
#define FORMWITHJKQTPLOTTER_H
|
|
|
|
#include <QWidget>
|
|
#include "jkqtplotter/jkqtpgraphsparsedfunction.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
|