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

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

#pragma once
#include "libruqolawidgets_private_export.h"
#include <QWidget>

class Room;
class QFormLayout;
class LIBRUQOLAWIDGETS_TESTS_EXPORT ChannelRolesInfoWidget : public QWidget
{
    Q_OBJECT
public:
    explicit ChannelRolesInfoWidget(QWidget *parent = nullptr);
    ~ChannelRolesInfoWidget() override;

    void setRoom(Room *room);

private:
    LIBRUQOLAWIDGETS_NO_EXPORT void generateInfo(const QString &label, const QStringList &list);
    QFormLayout *const mFormLayout;
};
