2 // localbrowser.h: Local variables
7 #ifndef __LOCALBROWSER_H__
8 #define __LOCALBROWSER_H__
10 //#define LOCAL_LAYOUTTEXTS // Use a layout with just texts
11 //#define LOCAL_SUPPORTARRAY // Support array
12 //#define LOCAL_SUPPORTSTRUCTURE // Support structure
17 // Error code definitions
18 #define LOCAL_NOERROR 0x00
19 #define LOCAL_ERROR 0x80
20 #define LOCAL_WARNING 0x40
21 #define LOCAL_NOLOCALS (0x01 | LOCAL_WARNING)
25 class LocalBrowserWindow
: public QWidget
30 typedef struct WatchInfo
38 char *PtrVariableName
;
39 char *PtrVariableBaseTypeName
;
40 char *PtrCPURegisterName
;
45 LocalBrowserWindow(QWidget
*parent
= 0);
46 ~LocalBrowserWindow(void);
49 void RefreshContents(void);
50 bool UpdateInfos(void);
53 void keyPressEvent(QKeyEvent
*);
57 #ifdef LOCAL_LAYOUTTEXTS
60 QTableView
*TableView
;
61 QStandardItemModel
*model
;
64 QStatusBar
*statusbar
;
69 #endif // __LOCALBROWSER_H__