forked from regarm/u8085
-
Notifications
You must be signed in to change notification settings - Fork 0
/
regeditor.h
41 lines (36 loc) · 789 Bytes
/
regeditor.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#ifndef REGEDITOR_H
#define REGEDITOR_H
#include <QDockWidget>
#include <QLineEdit>
#include <QLayout>
#include <QLabel>
#include <QSizePolicy>
#include "internal8085.h"
class RegEditor : public QDockWidget
{
Q_OBJECT
public:
RegEditor(QString title, Internal8085 *__8085 = 0, QWidget* parent = 0);
QLineEdit *A;
QLineEdit *B;
QLineEdit *C;
QLineEdit *D;
QLineEdit *E;
QLineEdit *F;
QLineEdit *H;
QLineEdit *L;
QLineEdit *M;
QLineEdit *PC;
QLineEdit *SP;
QLineEdit *flagC, *flagAC, *flagP, *flagS, *flagZ;
Internal8085 *__8085;
public:
void freeze();
void unfreeze();
public slots:
void updateContents();
void setFlags(QString);
void HLChanged();
void MCellChanged(QString);
};
#endif // REGEDITOR_H