mirror of
https://github.com/epasveer/seer.git
synced 2026-08-29 08:34:42 +08:00
31 lines
539 B
C++
31 lines
539 B
C++
// SPDX-FileCopyrightText: 2021 Ernie Pasveer <epasveer@att.net>
|
|
//
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
#pragma once
|
|
|
|
#include <QtCharts/QChart>
|
|
|
|
#if QT_VERSION < 0x060000
|
|
using namespace QtCharts;
|
|
#endif
|
|
|
|
class QGestureEvent;
|
|
|
|
class QZoomChart : public QChart {
|
|
|
|
public:
|
|
QZoomChart(QGraphicsItem* parent = nullptr, Qt::WindowFlags wFlags = {});
|
|
~QZoomChart();
|
|
|
|
protected:
|
|
bool sceneEvent (QEvent* event);
|
|
|
|
private:
|
|
bool gestureEvent (QGestureEvent* event);
|
|
|
|
private:
|
|
|
|
};
|
|
|