forked from mirror/nheko
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
408 B
28 lines
408 B
7 years ago
|
#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_;
|
||
|
};
|