Potential fix to compile on Linux
[clinton/Virtual-Jaguar-Rx.git] / src / debugger / DasmWin.h
1 //
2 // DasmWin.h: Jaguar disassembly window
3 //
4 // JPM = Jean-Paul Mari <djipi.mari@gmail.com>
5 //
6 // Who When What
7 // --- ---------- -------------------------------------------------------------
8 // JPM 06/26/2016 Created this file
9 //
10
11 #ifndef __DASMWIN_H__
12 #define __DASMWIN_H__
13
14 #include <QtWidgets/QtWidgets>
15 #include <stdint.h>
16
17 //class DasmWindow: public QMdiSubWindow
18 class DasmWindow : public QWidget
19 {
20 Q_OBJECT
21
22 public:
23 //DasmWindow(QMdiArea * parent);
24 DasmWindow(QWidget * parent);
25 //DasmWindow(QWidget * parent = 0);
26 //DasmWindow(QDockWidget * parent);
27
28 public slots:
29 // void DefineAllKeys(void);
30 void RefreshContents(void);
31 void GoToAddress(void);
32
33 protected:
34 void keyPressEvent(QKeyEvent *);
35
36 private:
37 QDockWidget * layout1;
38 //QTabWidget * layout1;
39 QVBoxLayout * layout;
40 // QTextBrowser * text;
41 QLabel * text;
42 QPushButton * refresh;
43 QLineEdit * address;
44 QPushButton * go;
45
46 int32_t memBase;
47 };
48
49 #endif // __DASMWIN_H__