summaryrefslogtreecommitdiffstats
path: root/examples/widgets/touch/pinchzoom/graphicsview.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets/touch/pinchzoom/graphicsview.h')
-rw-r--r--examples/widgets/touch/pinchzoom/graphicsview.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/examples/widgets/touch/pinchzoom/graphicsview.h b/examples/widgets/touch/pinchzoom/graphicsview.h
deleted file mode 100644
index e6a300f418..0000000000
--- a/examples/widgets/touch/pinchzoom/graphicsview.h
+++ /dev/null
@@ -1,18 +0,0 @@
-// Copyright (C) 2016 The Qt Company Ltd.
-// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
-
-#pragma once
-#include <QGraphicsView>
-
-class GraphicsView : public QGraphicsView
-{
- Q_OBJECT
-
-public:
- GraphicsView(QGraphicsScene *scene = nullptr, QWidget *parent = nullptr);
-
- bool viewportEvent(QEvent *event) override;
-
-private:
- qreal totalScaleFactor = 1;
-};