NOISSUE continue reshuffling the codebase
This commit is contained in:
17
launcher/ui/widgets/FocusLineEdit.h
Normal file
17
launcher/ui/widgets/FocusLineEdit.h
Normal file
@ -0,0 +1,17 @@
|
||||
#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;
|
||||
};
|
Reference in New Issue
Block a user