forked from qt-creator/qt-creator
debugger: use the bineditor to show memory dumps
This commit is contained in:
@@ -41,6 +41,8 @@ namespace Internal {
|
||||
//
|
||||
/////////////////////////////////////////////////////////////////////
|
||||
|
||||
class DebuggerManager;
|
||||
|
||||
class WatchWindow : public QTreeView
|
||||
{
|
||||
Q_OBJECT
|
||||
@@ -48,7 +50,7 @@ class WatchWindow : public QTreeView
|
||||
public:
|
||||
enum Type { LocalsType, TooltipType, WatchersType };
|
||||
|
||||
WatchWindow(Type type, QWidget *parent = 0);
|
||||
WatchWindow(Type type, DebuggerManager *manager, QWidget *parent = 0);
|
||||
void setType(Type type) { m_type = type; }
|
||||
Type type() const { return m_type; }
|
||||
|
||||
@@ -75,6 +77,7 @@ private:
|
||||
|
||||
bool m_alwaysResizeColumnsToContents;
|
||||
Type m_type;
|
||||
DebuggerManager *m_manager;
|
||||
bool m_grabbing;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user