JKQtPlotter/test/jkqtplot_test/TestWidgetFunctionPlots.h

59 lines
1.3 KiB
C
Raw Normal View History

#ifndef TestWidgetFunctionPlots_H
#define TestWidgetFunctionPlots_H
#include <QElapsedTimer>
#include <QCheckBox>
#include <QLineEdit>
#include <QTimer>
#include <QImage>
#include <QVBoxLayout>
#include <QWidget>
#include <QTabWidget>
#include <QFormLayout>
#include <QCheckBox>
#include "../../jkqtplotter.h"
#include "../../jkqtpgeoelements.h"
#include "../../jkqtpimageelements.h"
#include "../../jkqtpoverlayelements.h"
#include "../../jkqtpparsedfunctionelements.h"
#include "../../jkqtpbaseelements.h"
#include "../../jkqtpplotsmodel.h"
#include "../../jkqtptools.h"
#define N1 200
#define N2 50
#define N3 8
class TestWidgetFunctionPlots : public QWidget
{
Q_OBJECT
public:
explicit TestWidgetFunctionPlots(QWidget *parent = 0);
signals:
public slots:
void setPFuncStyle();
void setPFuncMinPoint(int value);
void setPFuncMaxRefine(int value);
void setPFunc(const QString& expression);
void setPFuncE(const QString& expression);
protected:
JKQTPxParsedFunctionLineGraph* pfunc;
JKQtPlotter* plotFuncPlt;
JKQTPerrorPlotstyleComboBox* pfuncErrorStyle;
QCheckBox* chkPFuncDrawSamples;
QCheckBox* chkPFuncDrawLine;
};
#endif // TestWidgetFunctionPlots_H