aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/qt-breakpad/qtcrashhandler/detaildialog.h
blob: 96b55e8df0e7dbb3a8ba53e5df07eecbfea28ccd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// Copyright (C) 2017 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0

#pragma once

#include <QDialog>

QT_BEGIN_NAMESPACE
class QTextBrowser;
class QDialogButtonBox;
QT_END_NAMESPACE

class DetailDialog : public QDialog
{
    Q_OBJECT

public:
    explicit DetailDialog(QWidget *parent = nullptr);
    ~DetailDialog();

    void setText(const QString &text);

private:
    QTextBrowser *textBrowser = nullptr;
    QDialogButtonBox *buttonBox = nullptr;
};