Debugger: Use Utils::TreeModel for watch window

The circle closes, that's where the code came from.

Change-Id: Ic36ab61ec8886c9a2747aeb29a7245df3ef0b6c4
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
hjk
2015-01-29 09:58:23 +01:00
parent 37bbc8a4d4
commit a6e9f032e3
7 changed files with 355 additions and 623 deletions

View File

@@ -33,7 +33,8 @@
#include "watchdata.h"
#include <QAbstractItemModel>
#include <utils/treemodel.h>
#include <QPointer>
#include <QVector>
@@ -125,7 +126,7 @@ public:
typedef QHash<QString, QStringList> DumperTypeFormats; // Type name -> Dumper Formats
class WatchModelBase : public QAbstractItemModel
class WatchModelBase : public Utils::TreeModel
{
Q_OBJECT
@@ -189,7 +190,6 @@ public:
void scheduleResetLocation();
void resetLocation();
bool isValidToolTip(const QByteArray &iname) const;
void setCurrentItem(const QByteArray &iname);
void updateWatchersWindow();