MCPcopy Create free account
hub / github.com/SeaEpoch/MouseClick / focusInEvent

Method focusInEvent

src/modules/hotkeylineedit.cpp:58–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56}
57
58void HotkeyLineEdit::focusInEvent(QFocusEvent* event)
59{
60 // 清空之前的内容
61 cleanHotKey();
62 // 设置焦点时监听键盘事件
63 grabKeyboard();
64 QLineEdit::focusInEvent(event);
65}
66
67void HotkeyLineEdit::focusOutEvent(QFocusEvent* event)
68{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected