summary refs log tree commit diff
path: root/src/InviteeItem.h
blob: 54c619388724e5d940b4abb368da5f30a01f4846 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#pragma once

#include <QWidget>

#include <mtx/identifiers.hpp>

class QPushButton;
class QLabel;

class InviteeItem : public QWidget
{
        Q_OBJECT

public:
        InviteeItem(mtx::identifiers::User user, QWidget *parent = nullptr);

        QString userID() { return user_; }

signals:
        void removeItem();

private:
        QString user_;

        QLabel *name_;
        QPushButton *removeUserBtn_;
};