summaryrefslogtreecommitdiffstats
path: root/examples/linguist/arrowpad/mainwindow.h
blob: 0b16d15032345062e96d13f1eebd8ce7b2b3d877 (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
26
27
28
29
30
31
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause

#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>

QT_BEGIN_NAMESPACE
class QAction;
class QMenu;
QT_END_NAMESPACE
class ArrowPad;

//! [0]
class MainWindow : public QMainWindow
//! [0] //! [1]
{
    Q_OBJECT
//! [1]

public:
    MainWindow();

private:
    ArrowPad *arrowPad;
    QMenu *fileMenu;
    QAction *exitAct;
};

#endif