Commit | Line | Data |
---|---|---|
1081a838 JPM |
1 | // |
2 | // BreakpointsWin.h: Breakpoints | |
3 | // | |
4 | // by Jean-Paul Mari | |
5 | // | |
6 | ||
7 | #ifndef __BREAKPOINTSWIN_H__ | |
8 | #define __BREAKPOINTSWIN_H__ | |
9 | ||
10 | //#define BRK_STATUSBAR // Status bar usage | |
11 | //#define BRK_REFRESHBUTTON // Refresh button | |
12 | #define BRK_HITCOUNTS // Support the hit count | |
13 | ||
8646ea44 | 14 | #include <QtWidgets/QtWidgets> |
1081a838 JPM |
15 | #include <stdint.h> |
16 | ||
17 | ||
18 | class BreakpointsWindow: public QWidget | |
19 | { | |
20 | Q_OBJECT | |
21 | ||
22 | public: | |
23 | BreakpointsWindow(QWidget *parent = 0); | |
24 | ~BreakpointsWindow(void); | |
25 | void Reset(void); | |
26 | void RefreshContents(void); | |
27 | ||
28 | public slots: | |
29 | ||
30 | protected: | |
31 | void keyPressEvent(QKeyEvent *); | |
32 | void UpdateInfos(void); | |
33 | void UpdateTable(bool refresh); | |
34 | ||
35 | private: | |
36 | QVBoxLayout *layout; | |
37 | #ifdef BRK_STATUSBAR | |
38 | QStatusBar *statusbar; | |
39 | #endif | |
40 | QTableView *TableView; | |
41 | QStandardItemModel *model; | |
42 | QPushButton *refresh; | |
43 | }; | |
44 | ||
45 | #endif // __BREAKPOINTSWIN_H__ |