matrixion/src/InviteeItem.h
2020-01-31 17:12:20 +01:00

27 lines
422 B
C++

#pragma once
#include <QLabel>
#include <QWidget>
#include <mtx/identifiers.hpp>
class QPushButton;
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_;
};