PrismLauncher/launcher/ui/widgets/FocusLineEdit.h

18 lines
289 B
C
Raw Normal View History

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