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

@@ -38,12 +38,12 @@
namespace Debugger {
namespace Internal {
class StackWindow : public BaseWindow
class StackTreeView : public BaseTreeView
{
Q_OBJECT
public:
explicit StackWindow(QWidget *parent = 0);
explicit StackTreeView(QWidget *parent = 0);
private slots:
void showAddressColumn(bool on);
@@ -52,8 +52,14 @@ private slots:
private:
void rowActivated(const QModelIndex &index);
void setModel(QAbstractItemModel *model);
void copyContentsToClipboard();
void contextMenuEvent(QContextMenuEvent *ev);
void copyContentsToClipboard();
};
class StackWindow : public BaseWindow
{
public:
StackWindow() : BaseWindow(new StackTreeView) {}
};
} // namespace Internal