Cosmetic changes on UI and icons.
[clinton/Virtual-Jaguar-Rx.git] / src / debugger / heapallocatorbrowser.h
CommitLineData
cf76e892
JPM
1//
2// memoryheapallocatorbrowser.h: All Watch
3//
4// by James Hammons
5// (C) 2012 Underground Software
6//
7
8#ifndef __HEAPALLOCATORBROWSER_H__
9#define __HEAPALLOCATORBROWSER_H__
10
11#include <QtWidgets>
12#include <stdint.h>
13
14class HeapAllocatorBrowserWindow: public QWidget
15{
16 Q_OBJECT
17
18 struct HeapAllocation
19 {
20 //UINT32 nextalloc;
21 uint32_t nextalloc;
22 //UINT32 size;
23 uint32_t size;
24 //UINT16 used;
25 uint16_t used;
26 }S_HeapAllocation;
27
28 public:
29 HeapAllocatorBrowserWindow(QWidget *parent = 0);
30 ~HeapAllocatorBrowserWindow(void);
31
32 public slots:
33// void DefineAllKeys(void);
34 void RefreshContents(void);
a2dfb8e5 35 void Reset(void);
cf76e892
JPM
36// void GoToAddress(void);
37
38 protected:
a2dfb8e5 39 void keyPressEvent(QKeyEvent *);
cf76e892
JPM
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// int32_t NbWatch;
52 size_t Adr;
53// HeapAllocation HeapAllocation;
54};
55
56#endif // __HEAPALLOCATORBROWSER_H__