| 164 | } |
| 165 | |
| 166 | void LineEdit::focusOutEvent(QFocusEvent *e) |
| 167 | { |
| 168 | QLineEdit::focusOutEvent(e); |
| 169 | if (this->text().trimmed() == "") { |
| 170 | blockSignals(true); |
| 171 | setText(defaultText); |
| 172 | blockSignals(false); |
| 173 | setStyleSheet(inactiveColor); |
| 174 | } |
| 175 | // this->setCursor(Qt::PointingHandCursor); |
| 176 | |
| 177 | } |
| 178 | |
| 179 | |
| 180 | // Check if any value is set |
nothing calls this directly
no outgoing calls
no test coverage detected