Files
qt-creator/src/plugins/coreplugin/messageoutputwindow.h

44 lines
899 B
C
Raw Normal View History

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