| 1 | // |
| 2 | // m68kDasmWin.h: M68K disassembly window |
| 3 | // |
| 4 | // JPM = Jean-Paul Mari <djipi.mari@gmail.com> |
| 5 | // |
| 6 | // Who When What |
| 7 | // --- ---------- ------------------------------------------------------------- |
| 8 | // JPM 06/27/2016 Created this file |
| 9 | // |
| 10 | |
| 11 | #ifndef __M68KDASMWIN_H__ |
| 12 | #define __M68KDASMWIN_H__ |
| 13 | |
| 14 | #include <QtWidgets> |
| 15 | #include <stdint.h> |
| 16 | |
| 17 | class m68KDasmWindow: public QWidget |
| 18 | { |
| 19 | Q_OBJECT |
| 20 | |
| 21 | public: |
| 22 | m68KDasmWindow(QWidget * parent = 0); |
| 23 | |
| 24 | public slots: |
| 25 | // void DefineAllKeys(void); |
| 26 | void RefreshContents(void); |
| 27 | #if 0 |
| 28 | void GoToAddress(void); |
| 29 | #endif |
| 30 | void SetAddress(int address); |
| 31 | void Use68KPCAddress(void); |
| 32 | |
| 33 | protected: |
| 34 | #if 0 |
| 35 | void keyPressEvent(QKeyEvent *); |
| 36 | #endif |
| 37 | |
| 38 | private: |
| 39 | QVBoxLayout * layout; |
| 40 | QTextBrowser * text; |
| 41 | // QLabel * text; |
| 42 | #if 0 |
| 43 | QPushButton * refresh; |
| 44 | QLineEdit * address; |
| 45 | QPushButton * go; |
| 46 | #endif |
| 47 | size_t memBase; |
| 48 | }; |
| 49 | |
| 50 | #endif // __M68KDASMWIN_H__ |