summary refs log tree commit diff
path: root/src/ActiveCallBar.h
blob: dd01e2ad749841a1fbc7e5f456eae78b26ca6bf6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#pragma once

#include <QWidget>

class QHBoxLayout;
class QLabel;
class QString;
class FlatButton;

class ActiveCallBar : public QWidget
{
        Q_OBJECT

public:
        ActiveCallBar(QWidget *parent = nullptr);

public slots:
        void setCallParty(const QString &userid, const QString &displayName);

private:
        QHBoxLayout *topLayout_ = nullptr;
        QLabel *callPartyLabel_ = nullptr;
        FlatButton *muteBtn_    = nullptr;
        int buttonSize_         = 32;
        bool muted_             = false;
};