summary refs log tree commit diff
path: root/src/ActiveCallBar.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ActiveCallBar.h')
-rw-r--r--src/ActiveCallBar.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/ActiveCallBar.h b/src/ActiveCallBar.h
new file mode 100644
index 00000000..dd01e2ad
--- /dev/null
+++ b/src/ActiveCallBar.h
@@ -0,0 +1,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;
+};