]> Shamusworld >> Repos - virtualjaguar/blob - src/gui/debug/cpubrowser.h
e6518724df8824a1052e6a5e8b5e52ea3629e8d8
[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 <QtGui>
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
28         protected:
29                 void keyPressEvent(QKeyEvent *);
30
31         private:
32                 QVBoxLayout * layout;
33 //              QTextBrowser * text;
34                 QLabel * text;
35                 QPushButton * refresh;
36                 QCheckBox * bpm;
37                 QLineEdit * bpmAddress;
38
39 //              int32_t memBase;
40 };
41
42 #endif  // __CPUBROWSER_H__