checkpoint
This commit is contained in:
parent
12421d0e5d
commit
1d357c6c96
48 changed files with 1580 additions and 219 deletions
|
|
@ -2,6 +2,8 @@
|
|||
#define MAINWINDOW_H
|
||||
|
||||
#include <QMainWindow>
|
||||
#include <QTimer>
|
||||
#include <QThread>
|
||||
#include "machine.h"
|
||||
#include "loader.h"
|
||||
#include "executor.h"
|
||||
|
|
@ -24,12 +26,24 @@ private slots:
|
|||
void on_readButton_clicked();
|
||||
void onLoadTriggered();
|
||||
void on_runButton_clicked();
|
||||
void on_stepButton_clicked();
|
||||
void on_stopButton_clicked();
|
||||
void updateRegisters();
|
||||
void updateUI();
|
||||
void setStatusLightRunning();
|
||||
void setStatusLightStopped();
|
||||
void setStatusLightEnded();
|
||||
signals:
|
||||
void startExecutor();
|
||||
void stopExecutor();
|
||||
void stepExecutor();
|
||||
|
||||
private:
|
||||
Ui::MainWindow *ui;
|
||||
Loader loader;
|
||||
Machine machine;
|
||||
Executor executor{ &machine };
|
||||
|
||||
QThread* executorThread;
|
||||
QTimer* uiUpdateTimer;
|
||||
};
|
||||
#endif // MAINWINDOW_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue