/*
   SPDX-FileCopyrightText: 2022-2025 Laurent Montel <montel@kde.org>

   SPDX-License-Identifier: LGPL-2.0-or-later
*/

#pragma once

#include "administratorsettingsdialog/settingswidgetbase.h"
#include "libruqolawidgets_private_export.h"
class QCheckBox;
class QLineEdit;
class QPlainTextEdit;
class LIBRUQOLAWIDGETS_TESTS_EXPORT SlackBridgeWidget : public SettingsWidgetBase
{
    Q_OBJECT
public:
    explicit SlackBridgeWidget(RocketChatAccount *account, QWidget *parent = nullptr);
    ~SlackBridgeWidget() override;

    void initialize(const QMap<QString, SettingsWidgetBase::SettingsInfo> &mapSettings) override;

private:
    QCheckBox *const mEnabled;
    QPlainTextEdit *const mAPITokens;
    QCheckBox *const mFileUpload;
    QCheckBox *const mSlackBridgeOutEnabled;
    QCheckBox *const mSlackBridgeOutAll;
    QLineEdit *const mAliasFormat;
    QLineEdit *const mExcludeBots;
    QCheckBox *const mReactions;
};
