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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user