MCPcopy Create free account
hub / github.com/davy7125/polyphone / focusOutEvent

Method focusOutEvent

sources/context/interface/editkey.cpp:70–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68}
69
70void EditKey::focusOutEvent(QFocusEvent * event)
71{
72 Q_UNUSED(event)
73 if (!this->text().contains("...") && this->text() != "")
74 ContextManager::configuration()->setValue(ConfManager::SECTION_KEYBOARD,
75 "key_" + QString::number(_octave) + "_" + QString::number(_key),
76 this->text());
77 updateText();
78}
79
80void EditKey::processKeyEvent(QKeyEvent * event)
81{

Callers

nothing calls this directly

Calls 2

containsMethod · 0.80
setValueMethod · 0.45

Tested by

no test coverage detected