#ifndef CHARTPANEL_H
#define CHARTPANEL_H

#include <QWidget>

class QGridLayout;
class QHBoxLayout;
class QTextEdit;
class QSplitter;
class QLabel;
class QTabWidget;

class AverageChartPanel;
class InstantChartPanel;
class PieChart;

class ChartPanel : public QWidget
{
    Q_OBJECT
public:
    explicit ChartPanel(QWidget* parent = nullptr);

protected:
    void paintEvent(QPaintEvent *);



private:
    QHBoxLayout* mMainHLayout;

    QSplitter* mSplitter;

    QWidget*  mChartWidget;
    QGridLayout* mChartGLayout;
    AverageChartPanel* mAverageChartPanel;
    InstantChartPanel* mInstantChartPanel;
    PieChart* mPieChart;
    QLabel* mLabel1;

    QTabWidget* mTabWidget;
    QTextEdit* mLogTextEdit;
    QLabel* mLabel2;
};

#endif // CHARTPANEL_H
