Merge branch 'develop'
[clinton/Virtual-Jaguar-Rx.git] / src / gui / debug / cpubrowser.h
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/QtWidgets>
12 #include <stdint.h>
13
14 class CPUBrowserWindow: public QWidget
15 {
16 Q_OBJECT
17
18 public:
19 CPUBrowserWindow(QWidget * parent = 0);
20 void DisableBPM(void);
21 void ResetBPM(void);
22 void HoldBPM(void);
23 void UnholdBPM(void);
24
25 public slots:
26 void RefreshContents(void);
27 void HandleBPMContinue(void);
28
29 private slots:
30 // void DefineAllKeys(void);
31 void HandleBPM(bool);
32 void HandleBPMAddress(const QString &);
33
34 protected:
35 void keyPressEvent(QKeyEvent *);
36
37 private:
38 QVBoxLayout * layout;
39 // QTextBrowser * text;
40 QLabel * text;
41 QPushButton * refresh;
42 QCheckBox * bpm;
43 QLineEdit * bpmAddress;
44 QPushButton * bpmContinue;
45
46 // int32_t memBase;
47 };
48
49 #endif // __CPUBROWSER_H__