core: Fix libdwarf and Qt build failure
[clinton/Virtual-Jaguar-Rx.git] / src / debugger / exceptionvectortablebrowser.h
... / ...
CommitLineData
1//
2// exceptionvectortablebrowser.h: Exception Vector Table
3//
4// by Jean-Paul Mari
5//
6
7#ifndef __EXCEPTIONVECTORTABLEBROWSER_H__
8#define __EXCEPTIONVECTORTABLEBROWSER_H__
9
10//#define EV_LAYOUTTEXTS // Use a layout with just texts
11
12#include <QtWidgets/QtWidgets>
13#include <stdint.h>
14
15
16//
17class ExceptionVectorTableBrowserWindow: public QWidget
18{
19 Q_OBJECT
20
21 public:
22 ExceptionVectorTableBrowserWindow(QWidget *parent = 0);
23 ~ExceptionVectorTableBrowserWindow(void);
24
25 public slots:
26 void RefreshContents(void);
27
28 protected:
29 void keyPressEvent(QKeyEvent *);
30
31 private:
32 QVBoxLayout *layout;
33#ifdef EV_LAYOUTTEXTS
34 QTextBrowser *text;
35#else
36 QTableView *TableView;
37 QStandardItemModel *model;
38#endif
39 QPushButton *refresh;
40};
41
42#endif // __EXCEPTIONVECTORTABLEBROWSER_H__