#ifndef USERPROFILEWIDGET_H
#define USERPROFILEWIDGET_H

#include <QLabel>
#include <QPixmap>
#include <QPushButton>
#include <QVBoxLayout>
#include <QWidget>

class UserProfileWidget : public QWidget
{
    Q_OBJECT

public:
    explicit UserProfileWidget(QWidget *parent = nullptr);
    ~UserProfileWidget();

    void setUsername(const QString &username);
    void setAvatar(const QPixmap &avatar);
    void setStatus(const QString &status);

signals:
    void profileClicked();
    void settingsClicked();
    void logoutClicked();

private:
    QLabel *avatarLabel;
    QLabel *usernameLabel;
    QLabel *statusLabel;
    QPushButton *settingsButton;
    QPushButton *logoutButton;

    void setupUI();
};

#endif // USERPROFILEWIDGET_H
