summaryrefslogtreecommitdiffstats
path: root/examples/statemachine/graphicsview/padnavigator/padnavigator.h
blob: c755c8aaee8f027ec103f7cace2cd04383d53d2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause

#ifndef PADNAVIGATOR_H
#define PADNAVIGATOR_H

#include <QGraphicsView>
#include "ui_form.h"

//! [0]
class PadNavigator : public QGraphicsView
{
    Q_OBJECT
public:
    explicit PadNavigator(const QSize &size, QWidget *parent = nullptr);

protected:
    void resizeEvent(QResizeEvent *event) override;

private:
    Ui::Form form;
};
//! [0]

#endif // PADNAVIGATOR_H