mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 20:47:45 +00:00
Ladybird: Add LocationEdit Highlighting
This commit is contained in:
parent
b97f9f5809
commit
3bd96f29d2
2 changed files with 76 additions and 6 deletions
|
@ -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();
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue