| 152 | } |
| 153 | |
| 154 | void 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 | |
| 166 | void LineEdit::focusOutEvent(QFocusEvent *e) |
| 167 | { |
nothing calls this directly
no outgoing calls
no test coverage detected