2022-08-19 15:59:36 +02:00
|
|
|
// Copyright (C) 2016 Nicolas Arnaud-Cormos
|
|
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
|
2010-12-20 10:35:30 +01:00
|
|
|
|
|
|
|
|
#include "macrooptionspage.h"
|
|
|
|
|
|
|
|
|
|
#include "macromanager.h"
|
|
|
|
|
#include "macrosconstants.h"
|
|
|
|
|
#include "macrooptionswidget.h"
|
|
|
|
|
|
|
|
|
|
#include <texteditor/texteditorconstants.h>
|
|
|
|
|
|
2020-01-16 18:18:20 +01:00
|
|
|
namespace Macros {
|
|
|
|
|
namespace Internal {
|
2010-12-20 10:35:30 +01:00
|
|
|
|
2019-03-20 18:51:16 +01:00
|
|
|
MacroOptionsPage::MacroOptionsPage()
|
2010-12-20 10:35:30 +01:00
|
|
|
{
|
2013-01-16 15:22:58 +01:00
|
|
|
setId(Constants::M_OPTIONS_PAGE);
|
2020-01-16 18:18:20 +01:00
|
|
|
setDisplayName(MacroOptionsWidget::tr("Macros"));
|
2012-12-29 03:37:27 +01:00
|
|
|
setCategory(TextEditor::Constants::TEXT_EDITOR_SETTINGS_CATEGORY);
|
2020-01-07 17:34:48 +01:00
|
|
|
setWidgetCreator([] { return new MacroOptionsWidget; });
|
2010-12-20 10:35:30 +01:00
|
|
|
}
|
2020-01-16 18:18:20 +01:00
|
|
|
|
|
|
|
|
} // Internal
|
|
|
|
|
} // Macros
|