JKQtPlotter/examples/jkqtplot_test/TestWidgetFunctionPlots.h
jkriege2 356cc34349 new: Statistics library with functions to calculate histograms, regression, kernel density estimates, ... including a new example
new: iterator interface and improved documentation for JKQTPDatastore
reorganization of library (better separation of common code in jkqtpcommon and other code e.g. in jkqtplotter or jkqtmathtext)
2019-05-29 22:40:02 +02:00

60 lines
1.4 KiB
C++

#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/jkqtplotter.h"
#include "jkqtplotter/jkqtpgraphsgeometric.h"
#include "jkqtplotter/jkqtpgraphsimage.h"
#include "jkqtplotter/jkqtpelementsoverlay.h"
#include "jkqtplotter/jkqtpgraphsparsedfunction.h"
#include "jkqtplotter/jkqtpbaseelements.h"
#include "jkqtplottergui/jkqtpgraphsmodel.h"
#include "jkqtplottergui/jkqtpcomboboxes.h"
#include "jkqtplotter/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