tests/manual/polarcharttest/chartview.h
raw| 1 | // Copyright (C) 2016 The Qt Company Ltd. |
| 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only |
| 3 | |
| 4 | #ifndef CHARTVIEW_H |
| 5 | #define CHARTVIEW_H |
| 6 | |
| 7 | #include <QtCharts/QChartView> |
| 8 | #include <QtCharts/QPolarChart> |
| 9 | |
| 10 | QT_USE_NAMESPACE |
| 11 | |
| 12 | class ChartView : public QChartView |
| 13 | { |
| 14 | public: |
| 15 | ChartView(QWidget *parent = 0); |
| 16 | |
| 17 | protected: |
| 18 | void keyPressEvent(QKeyEvent *event); |
| 19 | }; |
| 20 | |
| 21 | #endif |