matrixion/src/InviteeItem.h

28 lines
410 B
C
Raw Normal View History

2017-12-11 00:59:50 +03:00
#pragma once
#include <QLabel>
#include <QWidget>
#include "mtx.hpp"
class QPushButton;
2017-12-11 00:59:50 +03:00
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_;
2017-12-11 00:59:50 +03:00
};