Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
logviewer.h
Go to the documentation of this file.
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
9class LogViewer : public QTextBrowser
10{
12public:
13 explicit LogViewer(QWidget *parent = 0);
14
15protected:
16 void contextMenuEvent(QContextMenuEvent *event) override;
17};
18
19#endif // LOGVIEWER_H
void contextMenuEvent(QContextMenuEvent *event) override
Shows the standard context menu created with createStandardContextMenu().
Definition logviewer.cpp:14