PrismLauncher/launcher/ui/widgets/FocusLineEdit.h
Sefa Eyeoglu 1d468ac35a
chore: reformat
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2023-08-02 18:35:35 +02:00

15 lines
286 B
C++

#include <QLineEdit>
class FocusLineEdit : public QLineEdit {
Q_OBJECT
public:
FocusLineEdit(QWidget* parent);
virtual ~FocusLineEdit() {}
protected:
void focusInEvent(QFocusEvent* e);
void mousePressEvent(QMouseEvent* me);
bool _selectOnMousePress;
};