Commit | Line | Data |
---|---|---|
cf76e892 JPM |
1 | // |
2 | // allwatch.h: All Watch | |
3 | // | |
4 | // by James Hammons | |
5 | // (C) 2012 Underground Software | |
6 | // | |
7 | ||
8 | #ifndef __ALLWATCHBROWSER_H__ | |
9 | #define __ALLWATCHBROWSER_H__ | |
10 | ||
11 | #include <QtWidgets> | |
12 | #include <stdint.h> | |
13 | ||
14 | class AllWatchBrowserWindow: public QWidget | |
15 | { | |
16 | Q_OBJECT | |
17 | ||
18 | // | |
19 | struct WatchInfo | |
20 | { | |
21 | //size_t TypeEncoding; | |
22 | //size_t TypeByteSize; | |
23 | size_t addr; | |
24 | size_t TypeTag; | |
25 | char *PtrVariableName; | |
26 | char *PtrVariableBaseTypeName; | |
27 | }S_WatchInfo; | |
28 | ||
29 | public: | |
30 | AllWatchBrowserWindow(QWidget *parent = 0); | |
31 | ~AllWatchBrowserWindow(void); | |
32 | ||
33 | public slots: | |
34 | // void DefineAllKeys(void); | |
35 | void RefreshContents(void); | |
36 | // void GoToAddress(void); | |
37 | ||
38 | protected: | |
39 | // void keyPressEvent(QKeyEvent *); | |
40 | ||
41 | private: | |
42 | QVBoxLayout *layout; | |
43 | // QTextBrowser * text; | |
44 | // QLabel *text; | |
45 | QTextBrowser *text; | |
46 | // QPushButton *refresh; | |
47 | // QLineEdit *address; | |
48 | // QPushButton *go; | |
49 | WatchInfo *PtrWatchInfo; | |
50 | // int32_t memBase; | |
51 | size_t NbWatch; | |
52 | }; | |
53 | ||
54 | #endif // __ALLWATCHBROWSER_H__ |