1 | // Copyright (C) 2016 Tasuku Suzuki <stasuku@gmail.com> |
---|---|
2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 |
3 | |
4 | #ifndef LOGVIEWER_H |
5 | #define LOGVIEWER_H |
6 | |
7 | #include <QtWidgets/QTextBrowser> |
8 | |
9 | class LogViewer : public QTextBrowser |
10 | { |
11 | Q_OBJECT |
12 | public: |
13 | explicit LogViewer(QWidget *parent = 0); |
14 | |
15 | protected: |
16 | void contextMenuEvent(QContextMenuEvent *event) override; |
17 | }; |
18 | |
19 | #endif // LOGVIEWER_H |
20 |