2023-02-23 12:47:39 +01:00
|
|
|
// Copyright (C) 2022 The Qt Company Ltd.
|
|
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include <utils/aspects.h>
|
|
|
|
|
|
|
|
|
|
namespace Terminal {
|
|
|
|
|
class TerminalSettings : public Utils::AspectContainer
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
TerminalSettings();
|
|
|
|
|
|
|
|
|
|
static TerminalSettings &instance();
|
|
|
|
|
|
2023-03-22 16:54:53 +01:00
|
|
|
Utils::BoolAspect enableTerminal;
|
|
|
|
|
|
2023-02-23 12:47:39 +01:00
|
|
|
Utils::StringAspect font;
|
|
|
|
|
Utils::IntegerAspect fontSize;
|
|
|
|
|
Utils::StringAspect shell;
|
|
|
|
|
|
|
|
|
|
Utils::ColorAspect foregroundColor;
|
|
|
|
|
Utils::ColorAspect backgroundColor;
|
2023-02-25 11:13:09 +01:00
|
|
|
Utils::ColorAspect selectionColor;
|
2023-03-24 12:53:21 +01:00
|
|
|
Utils::ColorAspect findMatchColor;
|
2023-02-25 11:13:09 +01:00
|
|
|
|
2023-02-23 12:47:39 +01:00
|
|
|
Utils::ColorAspect colors[16];
|
2023-03-05 23:55:37 +01:00
|
|
|
|
|
|
|
|
Utils::BoolAspect allowBlinkingCursor;
|
2023-03-24 22:02:23 +01:00
|
|
|
|
|
|
|
|
Utils::BoolAspect sendEscapeToTerminal;
|
2023-02-23 12:47:39 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
} // namespace Terminal
|