forked from qt-creator/qt-creator
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user