MCPcopy Create free account
hub / github.com/baumgarr/nixnote2 / focusInEvent

Method focusInEvent

gui/lineedit.cpp:154–164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152}
153
154void LineEdit::focusInEvent(QFocusEvent *e)
155{
156 QLineEdit::focusInEvent(e);
157 if (this->text() == defaultText) {
158 blockSignals(true);
159 setText("");
160 blockSignals(false);
161 }
162 setStyleSheet(activeColor);
163// this->setCursor(Qt::ArrowCursor);
164}
165
166void LineEdit::focusOutEvent(QFocusEvent *e)
167{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected