KTextAddons

textautogeneratetextconfigurecombowidget.h
1/*
2 SPDX-FileCopyrightText: 2025 Laurent Montel <montel@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#pragma once
8
9#include "textautogeneratetext_export.h"
10#include <QWidget>
11class QComboBox;
12class QToolButton;
13namespace TextAutogenerateText
14{
15/**
16 * @brief The TextAutogenerateTextConfigureComboWidget class
17 * @author Laurent Montel <montel@kde.org>
18 */
19class TEXTAUTOGENERATETEXT_EXPORT TextAutogenerateTextConfigureComboWidget : public QWidget
20{
22public:
23 explicit TextAutogenerateTextConfigureComboWidget(QWidget *parent = nullptr);
24 ~TextAutogenerateTextConfigureComboWidget() override;
25
26 void load();
27 void save();
28
30 void engineChanged(const QString &engineName);
31 void configureChanged(const QString &engineName);
32
33private:
34 TEXTAUTOGENERATETEXT_NO_EXPORT void fillEngine();
35 TEXTAUTOGENERATETEXT_NO_EXPORT void slotConfigureEngine();
36 TEXTAUTOGENERATETEXT_NO_EXPORT void slotEngineChanged(int index);
37 QComboBox *const mEngineComboBox;
38 QToolButton *const mConfigureEngine;
39};
40}
Q_OBJECTQ_OBJECT
Q_SIGNALSQ_SIGNALS
QObject * parent() const const
QWidget(QWidget *parent, Qt::WindowFlags f)
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri May 2 2025 12:06:03 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.