blob: 784887a24189f7e15588f602e2e392bac8ef788f (
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
32
33
34
35
36
37
38
39
40
|
// Copyright (C) 2025 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>
#include <QString>
#include <QCloseEvent>
namespace SharedTools {
class QrcEditor;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
MainWindow();
void openFile(QString fileName);
protected:
void closeEvent(QCloseEvent *e);
private slots:
void slotOpen();
void slotSave();
void slotAbout();
void slotAboutQt();
private:
int fileChangedDialog();
private:
SharedTools::QrcEditor *m_qrcEditor;
QString m_devenvPIDArg;
};
#endif // MAINWINDOW_H
|