summaryrefslogtreecommitdiffstats
path: root/tests/applications/positioning_backend/logwidget.h
blob: ad6b62df54a9c9611723a659065ddc1a30f41b74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright (C) 2018 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only

#ifndef LOGWIDGET_H
#define LOGWIDGET_H

#include <QtWidgets/qwidget.h>
#include <QtWidgets/qplaintextedit.h>

class LogWidget : public QWidget
{
    Q_OBJECT
public:
    explicit LogWidget(QWidget *parent = nullptr);

    void appendLog(const QString &line);

private:
    QPlainTextEdit *editor;
};

#endif // LOGWIDGET_H