First commit
[clinton/Virtual-Jaguar-Rx.git] / src / gui / debug / cpubrowser.h
CommitLineData
cf76e892
JPM
1//
2// cpubrowser.h: Jaguar CPU browser
3//
4// by James Hammons
5// (C) 2012 Underground Software
6//
7
8#ifndef __CPUBROWSER_H__
9#define __CPUBROWSER_H__
10
11#include <QtWidgets>
12#include <stdint.h>
13
14class CPUBrowserWindow: public QWidget
15{
16 Q_OBJECT
17
18 public:
19 CPUBrowserWindow(QWidget * parent = 0);
20
21
22 public slots:
23// void DefineAllKeys(void);
24 void RefreshContents(void);
25 void HandleBPM(bool);
26 void HandleBPMAddress(const QString &);
27 void HandleBPMContinue(void);
28 void HoldBPM(void);
29 void UnholdBPM(void);
30
31 protected:
32 void keyPressEvent(QKeyEvent *);
33
34 private:
35 QVBoxLayout * layout;
36// QTextBrowser * text;
37 QLabel * text;
38 QPushButton * refresh;
39 QCheckBox * bpm;
40 QLineEdit * bpmAddress;
41 QPushButton * bpmContinue;
42
43// int32_t memBase;
44};
45
46#endif // __CPUBROWSER_H__