PrismLauncher/launcher/ui/widgets/FocusLineEdit.h

15 lines
286 B
C
Raw Normal View History

#include <QLineEdit>
class FocusLineEdit : public QLineEdit {
2018-07-15 13:51:05 +01:00
Q_OBJECT
public:
FocusLineEdit(QWidget* parent);
virtual ~FocusLineEdit() {}
protected:
void focusInEvent(QFocusEvent* e);
void mousePressEvent(QMouseEvent* me);
2018-07-15 13:51:05 +01:00
bool _selectOnMousePress;
};