You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
724 B
C++
44 lines
724 B
C++
#ifndef NBTMODIFIER_MAINWINDOW_H
|
|
#define NBTMODIFIER_MAINWINDOW_H
|
|
|
|
#include <QtWidgets/QMainWindow>
|
|
|
|
namespace Ui {
|
|
class MainWindow;
|
|
}
|
|
|
|
/**
|
|
* Main window of application
|
|
*/
|
|
class MainWindow : public QMainWindow {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit MainWindow(QWidget *parent = nullptr);
|
|
virtual ~MainWindow() override;
|
|
|
|
private:
|
|
/**
|
|
* Internal window design
|
|
*/
|
|
Ui::MainWindow *m_ui;
|
|
|
|
/**
|
|
* Build the internal window design
|
|
*/
|
|
void setupUi();
|
|
|
|
private slots:
|
|
/**
|
|
* Open a file
|
|
*/
|
|
void on_actionFileOpenFile_triggered();
|
|
|
|
/**
|
|
* Display the "about" dialog
|
|
*/
|
|
void on_actionHelpAboutNBTModifier_triggered();
|
|
};
|
|
|
|
#endif //NBTMODIFIER_MAINWINDOW_H
|