#ifndef __EXCEPTIONVECTORTABLEBROWSER_H__
#define __EXCEPTIONVECTORTABLEBROWSER_H__
+//#define EV_LAYOUTTEXTS // Use a layout with just texts
+
#include <QtWidgets>
#include <stdint.h>
+//
class ExceptionVectorTableBrowserWindow: public QWidget
{
Q_OBJECT
~ExceptionVectorTableBrowserWindow(void);
public slots:
-// void DefineAllKeys(void);
void RefreshContents(void);
-// void GoToAddress(void);
protected:
-// void keyPressEvent(QKeyEvent *);
+ void keyPressEvent(QKeyEvent *);
private:
QVBoxLayout *layout;
-// QTextBrowser * text;
-// QLabel *text;
+#ifdef EV_LAYOUTTEXTS
QTextBrowser *text;
+#else
+ QTableView *TableView;
+ QStandardItemModel *model;
+#endif
QPushButton *refresh;
-// QLineEdit *address;
-// QPushButton *go;
-// WatchInfo *PtrWatchInfo;
-// int32_t memBase;
-// size_t NbWatch;
};
#endif // __EXCEPTIONVECTORTABLEBROWSER_H__