55 lines
1.3 KiB
C++
55 lines
1.3 KiB
C++
#ifndef DYNAMICHISTOGRAMWIDGET_H
|
|
#define DYNAMICHISTOGRAMWIDGET_H
|
|
|
|
#include <QWidget>
|
|
|
|
// 柱状图
|
|
#include <QtCharts>
|
|
#include <QBarSeries>
|
|
#include <QBarSet>
|
|
#include <QtCharts>
|
|
#include <QPushButton>
|
|
#include <QtCharts/QChartView>
|
|
#include <QtCharts/QPieSeries>
|
|
#include <QtCharts/QPieSlice>
|
|
#include <QtCharts/QAbstractBarSeries>
|
|
#include <QtCharts/QPercentBarSeries>
|
|
#include <QtCharts/QStackedBarSeries>
|
|
#include <QtCharts/QBarSeries>
|
|
#include <QtCharts/QBarSet>
|
|
#include <QtCharts/QLineSeries>
|
|
#include <QtCharts/QSplineSeries>
|
|
#include <QtCharts/QScatterSeries>
|
|
#include <QtCharts/QAreaSeries>
|
|
#include <QtCharts/QLegend>
|
|
#include <QtWidgets/QGridLayout>
|
|
#include <QtWidgets/QFormLayout>
|
|
#include <QtWidgets/QComboBox>
|
|
#include <QtWidgets/QSpinBox>
|
|
#include <QtWidgets/QCheckBox>
|
|
#include <QtWidgets/QGroupBox>
|
|
#include <QtWidgets/QLabel>
|
|
#include <QtCharts/QBarCategoryAxis>
|
|
#include <QtWidgets/QApplication>
|
|
#include <QtCharts/QValueAxis>
|
|
#include <QVector>
|
|
#include <QDebug>
|
|
|
|
namespace Ui {
|
|
class DynamicHistogramWidget;
|
|
}
|
|
|
|
class DynamicHistogramWidget : public QWidget
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit DynamicHistogramWidget(QWidget *parent = nullptr);
|
|
~DynamicHistogramWidget();
|
|
|
|
private:
|
|
Ui::DynamicHistogramWidget *ui;
|
|
};
|
|
|
|
#endif // DYNAMICHISTOGRAMWIDGET_H
|