simulator work
This commit is contained in:
parent
27b8de1bc2
commit
9cc0c10e35
584 changed files with 29988 additions and 0 deletions
28
ass2/simulator/mainwindow.h
Normal file
28
ass2/simulator/mainwindow.h
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
#ifndef MAINWINDOW_H
|
||||
#define MAINWINDOW_H
|
||||
|
||||
#include <QMainWindow>
|
||||
#include "machine.h"
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
namespace Ui {
|
||||
class MainWindow;
|
||||
}
|
||||
QT_END_NAMESPACE
|
||||
|
||||
class MainWindow : public QMainWindow
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
MainWindow(QWidget *parent = nullptr);
|
||||
~MainWindow();
|
||||
|
||||
private slots:
|
||||
void on_readButton_clicked();
|
||||
|
||||
private:
|
||||
Ui::MainWindow *ui;
|
||||
Machine m;
|
||||
};
|
||||
#endif // MAINWINDOW_H
|
||||
Loading…
Add table
Add a link
Reference in a new issue