blob: f2607e0fc1b4023a2a98de60b3cb3201d48632fa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
/*
* Copyright (c) 2023, Cameron Youell <cameronyouell@gmail.com>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <QLineEdit>
class LocationEdit final : public QLineEdit {
Q_OBJECT
public:
explicit LocationEdit(QWidget*);
private:
virtual void focusInEvent(QFocusEvent* event) override;
virtual void focusOutEvent(QFocusEvent* event) override;
void highlight_location();
};
|