summaryrefslogtreecommitdiffstats
path: root/tests/manual/widgets/widgets/multiscreen-menus/mainwindow.h
blob: 9189339a1e87a0973f5e7b63c1945fa2d5cb6909 (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
// Copyright (C) 2017 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0

#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>

namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = nullptr);
    ~MainWindow();

    void contextMenuEvent(QContextMenuEvent *e) override;

private:
    Ui::MainWindow *ui;
};

#endif // MAINWINDOW_H