obs-aitum-multistream/stream-key-input.hpp
2024-07-31 21:58:25 +01:00

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;
};