working ver with QT
This commit is contained in:
35
particle-track-and-trace/src/QT/MainWindow.h
Normal file
35
particle-track-and-trace/src/QT/MainWindow.h
Normal 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
|
||||
Reference in New Issue
Block a user