summaryrefslogtreecommitdiffstats
path: root/examples/charts/chartsgallery/selectedbarwidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/charts/chartsgallery/selectedbarwidget.h')
-rw-r--r--examples/charts/chartsgallery/selectedbarwidget.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/examples/charts/chartsgallery/selectedbarwidget.h b/examples/charts/chartsgallery/selectedbarwidget.h
new file mode 100644
index 00000000..2e401dcd
--- /dev/null
+++ b/examples/charts/chartsgallery/selectedbarwidget.h
@@ -0,0 +1,27 @@
+// Copyright (C) 2023 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
+
+#ifndef SELECTEDBARWIDGET_H
+#define SELECTEDBARWIDGET_H
+
+#include "contentwidget.h"
+
+#include <QStringList>
+
+QT_FORWARD_DECLARE_CLASS(QBarSet)
+
+class SelectedBarWidget : public ContentWidget
+{
+ Q_OBJECT
+public:
+ explicit SelectedBarWidget(QWidget *parent = nullptr);
+
+private:
+ QBarSet *createChickenSet();
+ QBarSet *createPorkSet();
+ QBarSet *createTurkeySet();
+ QBarSet *createHamSet();
+ QStringList createYearCategories();
+};
+
+#endif