mirror of
https://github.com/jkriege2/JKQtPlotter.git
synced 2024-12-26 02:21:43 +08:00
52 lines
904 B
C++
52 lines
904 B
C++
#ifndef TestWidgetImages_H
|
|
#define TestWidgetImages_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/graphs/jkqtpimage.h"
|
|
#include "jkqtplotter/jkqtptools.h"
|
|
|
|
#define N1 200
|
|
#define N2 50
|
|
#define N3 8
|
|
|
|
|
|
|
|
|
|
class TestWidgetImages : public QWidget
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit TestWidgetImages(QWidget *parent = 0);
|
|
|
|
Q_SIGNALS:
|
|
|
|
public Q_SLOTS:
|
|
|
|
|
|
void setImgPalette(int index);
|
|
void setImgPalette1(int index);
|
|
void setImgModifier(int index);
|
|
|
|
protected:
|
|
QImage img1;
|
|
|
|
|
|
JKQTPMathImage* pimg2;
|
|
JKQTPMathImage* pimg3;
|
|
JKQTPlotter* plotImg;
|
|
|
|
|
|
};
|
|
|
|
|
|
#endif // TestWidgetImages_H
|