mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-27 13:38:49 +03:00
28 lines
408 B
C
28 lines
408 B
C
|
#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_;
|
||
|
};
|