summary refs log tree commit diff
path: root/include/InviteeItem.h
blob: f0bdbdf044d2528059eefee303124585f660e255 (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 <QLabel>
#include <QWidget>

#include "mtx.hpp"

class FlatButton;

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_;
        FlatButton *removeUserBtn_;
};