2018-11-18 21:24:29 +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>
|
2018-11-29 06:10:14 +08:00
|
|
|
#include "jkqtplotter/jkqtplotter.h"
|
|
|
|
#include "jkqtplotter/jkqtpgeoelements.h"
|
|
|
|
#include "jkqtplotter/jkqtpimageelements.h"
|
|
|
|
#include "jkqtplotter/jkqtpoverlayelements.h"
|
|
|
|
#include "jkqtplotter/jkqtpparsedfunctionelements.h"
|
|
|
|
#include "jkqtplotter/jkqtpbaseelements.h"
|
|
|
|
#include "jkqtplotter/jkqtpplotsmodel.h"
|
|
|
|
#include "jkqtplottertools/jkqtptools.h"
|
2018-11-18 21:24:29 +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:
|
|
|
|
|
|
|
|
|
|
|
|
JKQtPlotter* plotBarchart;
|
|
|
|
JKQtPlotter* plotBarchart2;
|
|
|
|
QCheckBox* chkBarLog;
|
|
|
|
QSpinBox* spinBarLabelAngel;
|
|
|
|
QSpinBox* spinBarLabelAngel2;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif // TestWidgetBarcharts_H
|