mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-04-30 22:54:38 +02:00
15 lines
286 B
C++
15 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;
|
|
};
|