2018-12-29 00:46:47 +08:00
|
|
|
#ifndef TestWidgetBarcharts_H
|
|
|
|
#define TestWidgetBarcharts_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"
|
2019-06-20 22:06:31 +08:00
|
|
|
#include "jkqtplotter/graphs/jkqtpgeometric.h"
|
|
|
|
#include "jkqtplotter/graphs/jkqtpimage.h"
|
|
|
|
#include "jkqtplotter/overlays/jkqtpbasicoverlays.h"
|
|
|
|
#include "jkqtplotter/graphs/jkqtpparsedfunction.h"
|
2018-12-29 00:46:47 +08:00
|
|
|
#include "jkqtplotter/jkqtpbaseelements.h"
|
2019-06-20 21:18:58 +08:00
|
|
|
#include "jkqtplotter/gui/jkqtpgraphsmodel.h"
|
2019-05-30 04:40:02 +08:00
|
|
|
#include "jkqtplotter/jkqtptools.h"
|
2018-12-29 00:46:47 +08:00
|
|
|
|
|
|
|
#define N1 200
|
|
|
|
#define N2 50
|
|
|
|
#define N3 8
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class TestWidgetBarcharts : public QWidget
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
explicit TestWidgetBarcharts(QWidget *parent = 0);
|
|
|
|
|
|
|
|
signals:
|
|
|
|
|
|
|
|
public slots:
|
|
|
|
|
|
|
|
|
|
|
|
void setBarchartLogLog(bool checked);
|
|
|
|
void setBarchartAngele(int angel);
|
|
|
|
void setBarchartAngele2(int angel);
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
|
|
|
|
2019-01-20 23:15:10 +08:00
|
|
|
JKQTPlotter* plotBarchart;
|
|
|
|
JKQTPlotter* plotBarchart2;
|
2018-12-29 00:46:47 +08:00
|
|
|
QCheckBox* chkBarLog;
|
|
|
|
QSpinBox* spinBarLabelAngel;
|
|
|
|
QSpinBox* spinBarLabelAngel2;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif // TestWidgetBarcharts_H
|