mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 18:09:59 +03:00
14 lines
286 B
C++
14 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;
|
|
};
|