obs-aitum-multistream/stream-key-input.hpp

20 lines
318 B
C++
Raw Normal View History

2024-07-31 22:58:25 +02:00
#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;
};