]> Shamusworld >> Repos - virtualjaguar/blob - src/gui/debug/cpubrowser.h
Minor update to debugger; added autoupdating to CPU/MEM windows.
[virtualjaguar] / 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>
12 #include <stdint.h>
13
14 class 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
29         protected:
30                 void keyPressEvent(QKeyEvent *);
31
32         private:
33                 QVBoxLayout * layout;
34 //              QTextBrowser * text;
35                 QLabel * text;
36                 QPushButton * refresh;
37                 QCheckBox * bpm;
38                 QLineEdit * bpmAddress;
39                 QPushButton * bpmContinue;
40
41 //              int32_t memBase;
42 };
43
44 #endif  // __CPUBROWSER_H__