forked from qt-creator/qt-creator
General Messages Pane: Add font settings and zoom
As the settings are managed by TextEditor, but Core does not depend on TextEditor, no signal connection can be used. Instead, call the needed functions in MessageManager directly. Fixes: QTCREATORBUG-18908 Change-Id: Idc81f1071d5228cd6582e3a00189a5db24288fc6 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
committed by
André Hartmann
parent
68a10d71e7
commit
ee801a0eb5
@@ -31,6 +31,10 @@
|
||||
#include <QMetaType>
|
||||
#include <QObject>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
class QFont;
|
||||
QT_END_NAMESPACE
|
||||
|
||||
namespace Core {
|
||||
|
||||
namespace Internal { class MainWindow; }
|
||||
@@ -55,6 +59,9 @@ public:
|
||||
|
||||
static void showOutputPane(Core::MessageManager::PrintToOutputPaneFlags flags = NoModeSwitch);
|
||||
|
||||
static void setFont(const QFont &font);
|
||||
static void setWheelZoomEnabled(bool enabled);
|
||||
|
||||
public slots:
|
||||
static void write(const QString &text,
|
||||
Core::MessageManager::PrintToOutputPaneFlags flags = NoModeSwitch);
|
||||
|
||||
Reference in New Issue
Block a user