debugger: rework the searchable view

This reverts most of commit 32ec60958d
and keeps the tree widgets fully accessible.

Change-Id: I34422c175bc43261bb8fe48e0130acb71cdfd721
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
hjk
2012-03-29 14:20:45 +02:00
committed by hjk
parent 3a8ad68525
commit 47fea30557
19 changed files with 314 additions and 250 deletions

View File

@@ -40,12 +40,12 @@ namespace Internal {
class SnapshotHandler;
class SnapshotWindow : public BaseWindow
class SnapshotTreeView : public BaseTreeView
{
Q_OBJECT
public:
explicit SnapshotWindow(SnapshotHandler *handler);
explicit SnapshotTreeView(SnapshotHandler *handler);
private:
void rowActivated(const QModelIndex &index);
@@ -56,6 +56,14 @@ private:
SnapshotHandler *m_snapshotHandler;
};
class SnapshotWindow : public BaseWindow
{
public:
explicit SnapshotWindow(SnapshotHandler *handler)
: BaseWindow(new SnapshotTreeView(handler))
{}
};
} // namespace Internal
} // namespace Debugger