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
|
|
|
|
|
|
2023-05-25 14:49:11 +02:00
|
|
|
#include <coreplugin/dialogs/ioptionspage.h>
|
2023-02-23 12:47:39 +01:00
|
|
|
|
|
|
|
|
namespace Terminal {
|
2023-05-25 14:49:11 +02:00
|
|
|
|
|
|
|
|
class TerminalSettings : public Core::PagedSettings
|
2023-02-23 12:47:39 +01:00
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
TerminalSettings();
|
|
|
|
|
|
|
|
|
|
static TerminalSettings &instance();
|
|
|
|
|
|
2023-05-25 14:49:11 +02:00
|
|
|
Utils::BoolAspect enableTerminal{this};
|
2023-03-22 16:54:53 +01:00
|
|
|
|
2023-05-25 14:49:11 +02:00
|
|
|
Utils::StringAspect font{this};
|
|
|
|
|
Utils::IntegerAspect fontSize{this};
|
2023-06-01 13:58:35 +02:00
|
|
|
Utils::FilePathAspect shell{this};
|
2023-05-25 14:49:11 +02:00
|
|
|
Utils::StringAspect shellArguments{this};
|
2023-02-23 12:47:39 +01:00
|
|
|
|
|
|
|
|
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
|
|
|
|
2023-05-25 14:49:11 +02:00
|
|
|
Utils::BoolAspect allowBlinkingCursor{this};
|
2023-03-24 22:02:23 +01:00
|
|
|
|
2023-05-25 14:49:11 +02:00
|
|
|
Utils::BoolAspect sendEscapeToTerminal{this};
|
|
|
|
|
Utils::BoolAspect audibleBell{this};
|
2023-02-23 12:47:39 +01:00
|
|
|
};
|
|
|
|
|
|
2023-05-25 14:49:11 +02:00
|
|
|
} // Terminal
|