Added multiple breakpoints feature and their key bindings
[clinton/Virtual-Jaguar-Rx.git] / src / gui / debug / stackbrowser.h
1 //
2 // stackbrowser.h: Jaguar stack browser
3 //
4 // by Jean-Paul Mari
5 // (C) 2012 Underground Software
6 //
7
8 #ifndef __STACKBROWSER_H__
9 #define __STACKBROWSER_H__
10
11 #include <QtWidgets>
12 #include <stdint.h>
13
14 class StackBrowserWindow: public QWidget
15 {
16 Q_OBJECT
17
18 public:
19 StackBrowserWindow(QWidget * parent = 0);
20
21
22 public slots:
23 // void DefineAllKeys(void);
24 void RefreshContents(void);
25 void RefreshContentsWindow(void);
26 //void GoToAddress(void);
27
28 protected:
29 void keyPressEvent(QKeyEvent *);
30
31 private:
32 QVBoxLayout * layout;
33 // QTextBrowser * text;
34 QLabel * text;
35 //QPushButton * refresh;
36 //QLineEdit * address;
37 //QPushButton * go;
38
39 size_t stackBase;
40 };
41
42 #endif // __STACKBROWSER_H__