MultiMC5/launcher/ui/widgets/FocusLineEdit.h
2021-11-22 03:55:16 +01:00

18 lines
289 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;
};