mirror of https://github.com/qt/qtgraphs.git
27 lines
518 B
C++
27 lines
518 B
C++
// Copyright (C) 2023 The Qt Company Ltd.
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
|
|
|
|
#ifndef BARGRAPH_H
|
|
#define BARGRAPH_H
|
|
|
|
#include <QtCore/qobject.h>
|
|
#include <QtGraphs/q3dbars.h>
|
|
#include "graphmodifier.h"
|
|
|
|
class BarGraph : public QObject
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
BarGraph();
|
|
|
|
void initialize();
|
|
QWidget *barsWidget() { return m_barsWidget; }
|
|
|
|
private:
|
|
GraphModifier *m_modifier = nullptr;
|
|
Q3DBars *m_barsGraph = nullptr;
|
|
QWidget *m_barsWidget = nullptr;
|
|
};
|
|
|
|
#endif
|