| 1 | // |
| 2 | // riscdasmbrowser.h: Jaguar RISC disassembly browser |
| 3 | // |
| 4 | // by James Hammons |
| 5 | // (C) 2013 Underground Software |
| 6 | // |
| 7 | |
| 8 | #ifndef __RISCDASMBROWSER_H__ |
| 9 | #define __RISCDASMBROWSER_H__ |
| 10 | |
| 11 | #include <QtWidgets> |
| 12 | #include <stdint.h> |
| 13 | |
| 14 | class RISCDasmBrowserWindow: public QWidget |
| 15 | { |
| 16 | Q_OBJECT |
| 17 | |
| 18 | public: |
| 19 | RISCDasmBrowserWindow(QWidget * parent = 0); |
| 20 | |
| 21 | |
| 22 | public slots: |
| 23 | // void DefineAllKeys(void); |
| 24 | void RefreshContents(void); |
| 25 | void GoToAddress(void); |
| 26 | |
| 27 | protected: |
| 28 | void keyPressEvent(QKeyEvent *); |
| 29 | |
| 30 | private: |
| 31 | QVBoxLayout * layout; |
| 32 | // QTextBrowser * text; |
| 33 | QLabel * text; |
| 34 | QPushButton * refresh; |
| 35 | QPushButton * go; |
| 36 | QLineEdit * address; |
| 37 | QRadioButton * gpu; |
| 38 | QRadioButton * dsp; |
| 39 | |
| 40 | int32_t memBase; |
| 41 | }; |
| 42 | |
| 43 | #endif // __RISCDASMBROWSER_H__ |