Commit | Line | Data |
---|---|---|
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 | ||
8646ea44 | 11 | #include <QtWidgets/QtWidgets> |
cf76e892 JPM |
12 | #include <stdint.h> |
13 | ||
14 | class CPUBrowserWindow: public QWidget | |
15 | { | |
16 | Q_OBJECT | |
17 | ||
18 | public: | |
19 | CPUBrowserWindow(QWidget * parent = 0); | |
1081a838 JPM |
20 | void DisableBPM(void); |
21 | void ResetBPM(void); | |
22 | void HoldBPM(void); | |
23 | void UnholdBPM(void); | |
cf76e892 JPM |
24 | |
25 | public slots: | |
cf76e892 | 26 | void RefreshContents(void); |
1081a838 JPM |
27 | void HandleBPMContinue(void); |
28 | ||
29 | private slots: | |
30 | // void DefineAllKeys(void); | |
cf76e892 JPM |
31 | void HandleBPM(bool); |
32 | void HandleBPMAddress(const QString &); | |
cf76e892 JPM |
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__ |