2 // localbrowser.h: Local variables
7 #ifndef __LOCALBROWSER_H__
8 #define __LOCALBROWSER_H__
10 //#define LOCAL_FONTS // Support for fonts modifications
12 #include <QtWidgets/QtWidgets>
15 // Error code definitions
16 #define LOCAL_NOERROR 0x00
17 #define LOCAL_WARNING 0x40
18 #define LOCAL_ERROR 0x80
19 #define LOCAL_NOLOCALS (0x01 | LOCAL_WARNING)
22 class LocalBrowserWindow
: public QWidget
27 typedef struct LocalInfo
30 char *PtrCPURegisterName
;
36 LocalBrowserWindow(QWidget
*parent
= 0);
37 ~LocalBrowserWindow(void);
40 void RefreshContents(void);
41 bool UpdateInfos(void);
44 QList
<QStandardItem
*> prepareRow(void* Info
);
45 void setValueRow(QStandardItem
*Row
, size_t Adr
, char* Value
, void* Info
);
46 void keyPressEvent(QKeyEvent
*);
51 QStandardItemModel
*model
;
52 S_LocalInfo
*LocalInfo
;
53 QStatusBar
*statusbar
;
58 #endif // __LOCALBROWSER_H__