working ver with QT

This commit is contained in:
2024-05-25 14:35:54 +02:00
parent 7d6b9cb047
commit 4a5b7c4712
7 changed files with 397 additions and 20 deletions

View File

@@ -0,0 +1,35 @@
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow {
Q_OBJECT
public:
explicit MainWindow(QWidget* parent = 0);
~MainWindow();
public slots:
//! Show the 'About this application' dialog
void showAboutDialog();
//! Show the 'Open file...' dialog
void showOpenFileDialog();
protected:
//! Open a file
/*!
\param[in] fileName The name of the file including the path
*/
void openFile(const QString& fileName);
private:
Ui::MainWindow* ui;
};
#endif