2022-08-19 15:59:36 +02:00
|
|
|
// Copyright (C) 2016 The Qt Company Ltd.
|
2022-12-21 10:12:09 +01:00
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
2008-12-02 15:08:31 +01:00
|
|
|
|
2016-03-18 07:55:01 +01:00
|
|
|
#pragma once
|
2008-12-02 12:01:29 +01:00
|
|
|
|
2014-06-04 13:21:02 +02:00
|
|
|
#include <utils/basetreeview.h>
|
2016-07-18 12:36:31 +02:00
|
|
|
|
2022-07-05 15:37:08 +02:00
|
|
|
namespace Debugger::Internal {
|
2010-01-29 21:33:57 +01:00
|
|
|
|
2014-06-04 13:21:02 +02:00
|
|
|
class StackTreeView : public Utils::BaseTreeView
|
2008-12-02 12:01:29 +01:00
|
|
|
{
|
|
|
|
|
public:
|
2018-12-11 23:09:39 -08:00
|
|
|
explicit StackTreeView(QWidget *parent = nullptr);
|
2008-12-02 12:01:29 +01:00
|
|
|
|
|
|
|
|
private:
|
2016-07-18 12:36:31 +02:00
|
|
|
void setModel(QAbstractItemModel *model) override;
|
2015-02-26 09:34:42 +01:00
|
|
|
|
|
|
|
|
void showAddressColumn(bool on);
|
2018-12-11 23:09:39 -08:00
|
|
|
void adjustForContents(bool refreshSpan = false);
|
|
|
|
|
|
|
|
|
|
bool m_contentsAdjusted = false;
|
2012-03-29 14:20:45 +02:00
|
|
|
};
|
|
|
|
|
|
2022-07-05 15:37:08 +02:00
|
|
|
} // Debugger::Internal
|