1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 12:57:35 +00:00

Ladybird: Add LocationEdit Highlighting

This commit is contained in:
Cameron Youell 2023-01-23 14:11:01 +11:00 committed by Andrew Kaster
parent b97f9f5809
commit 3bd96f29d2
2 changed files with 76 additions and 6 deletions

View file

@ -10,10 +10,14 @@
#include <QLineEdit>
class Tab;
class LocationEdit final : public QLineEdit {
Q_OBJECT
public:
explicit LocationEdit(Tab*);
explicit LocationEdit(QWidget*);
private:
virtual void focusInEvent(QFocusEvent* event) override;
virtual void focusOutEvent(QFocusEvent* event) override;
void highlight_location();
};