2022-03-16 16:53:43 -04:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <QMainWindow>
|
2022-07-22 17:01:59 -04:00
|
|
|
#include "filesystem_def.h"
|
2022-03-16 16:53:43 -04:00
|
|
|
|
|
|
|
namespace Ui
|
|
|
|
{
|
|
|
|
class MainWindow;
|
|
|
|
}
|
|
|
|
|
2022-07-22 17:01:59 -04:00
|
|
|
class QMdiArea;
|
|
|
|
class QMdiSubWindow;
|
|
|
|
|
2022-03-16 16:53:43 -04:00
|
|
|
class MainWindow : public QMainWindow
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit MainWindow(QWidget* parent = nullptr);
|
|
|
|
~MainWindow();
|
|
|
|
|
|
|
|
private slots:
|
|
|
|
void on_actionOpen_triggered();
|
|
|
|
void on_actionExit_triggered();
|
|
|
|
|
|
|
|
private:
|
2022-07-22 17:01:59 -04:00
|
|
|
QMdiSubWindow* CreateElfViewFromPath(QMdiArea*, const fs::path&);
|
|
|
|
|
2022-03-16 16:53:43 -04:00
|
|
|
Ui::MainWindow* ui;
|
|
|
|
};
|