mirror of
https://github.com/Aitum/obs-aitum-multistream.git
synced 2024-11-24 11:22:37 +01:00
20 lines
318 B
C++
20 lines
318 B
C++
|
#pragma once
|
||
|
|
||
|
#include <QLineEdit>
|
||
|
|
||
|
class StreamKeyInput : public QLineEdit
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
explicit StreamKeyInput(QWidget *parent = nullptr);
|
||
|
|
||
|
signals:
|
||
|
void focusGained();
|
||
|
void focusLost();
|
||
|
|
||
|
protected:
|
||
|
void focusInEvent(QFocusEvent *event) override;
|
||
|
void focusOutEvent(QFocusEvent *event) override;
|
||
|
};
|