| 1 | //\r |
| 2 | // allwatchbrowser.h: All Watch\r |
| 3 | //\r |
| 4 | // by Jean-Paul Mari\r |
| 5 | //\r |
| 6 | \r |
| 7 | #ifndef __ALLWATCHBROWSER_H__\r |
| 8 | #define __ALLWATCHBROWSER_H__\r |
| 9 | \r |
| 10 | #include <QtWidgets>\r |
| 11 | #include <stdint.h>\r |
| 12 | \r |
| 13 | class AllWatchBrowserWindow: public QWidget\r |
| 14 | {\r |
| 15 | Q_OBJECT\r |
| 16 | \r |
| 17 | //\r |
| 18 | typedef struct WatchInfo\r |
| 19 | {\r |
| 20 | size_t addr;\r |
| 21 | size_t TypeTag;\r |
| 22 | char *PtrVariableName;\r |
| 23 | char *PtrVariableBaseTypeName;\r |
| 24 | }S_WatchInfo;\r |
| 25 | \r |
| 26 | public:\r |
| 27 | AllWatchBrowserWindow(QWidget *parent = 0);\r |
| 28 | ~AllWatchBrowserWindow(void);\r |
| 29 | void Reset(void);\r |
| 30 | \r |
| 31 | public slots:\r |
| 32 | void RefreshContents(void);\r |
| 33 | \r |
| 34 | protected:\r |
| 35 | void keyPressEvent(QKeyEvent *);\r |
| 36 | \r |
| 37 | private:\r |
| 38 | QVBoxLayout *layout;\r |
| 39 | QTextBrowser *text;\r |
| 40 | WatchInfo *PtrWatchInfo;\r |
| 41 | size_t NbWatch;\r |
| 42 | };\r |
| 43 | \r |
| 44 | #endif // __ALLWATCHBROWSER_H__\r |