Files
qt-creator/src/plugins/coreplugin/messageoutputwindow.h
Eike Ziller b0043ed1ac OutputPane: Use setter for priority and fix default visibility
Do not show the buttons of output views with priority < 0 (instead of
only == -1). Reduce the number of buttons that are shown by default to
the essential ones.

Change-Id: I5b44f18537b3033ce9d616f044a8b54b76988783
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2023-09-18 10:14:51 +00:00

44 lines
899 B
C++

// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
#pragma once
#include "ioutputpane.h"
namespace Core {
class OutputWindow;
namespace Internal {
class MessageOutputWindow : public IOutputPane
{
Q_OBJECT
public:
MessageOutputWindow();
~MessageOutputWindow() override;
QWidget *outputWidget(QWidget *parent) override;
void clearContents() override;
void append(const QString &text);
bool canFocus() const override;
bool hasFocus() const override;
void setFocus() override;
bool canNext() const override;
bool canPrevious() const override;
void goToNext() override;
void goToPrev() override;
bool canNavigate() const override;
private:
void updateFilter() override;
OutputWindow *m_widget;
};
} // namespace Internal
} // namespace Core