============================================================================
| 206 | |
| 207 | //============================================================================ |
| 208 | void CElidingLabel::setText(const QString &text) |
| 209 | { |
| 210 | d->Text = text; |
| 211 | if (d->isModeElideNone()) |
| 212 | { |
| 213 | Super::setText(text); |
| 214 | } |
| 215 | else |
| 216 | { |
| 217 | internal::setToolTip(this, text); |
| 218 | d->elideText(this->size().width()); |
| 219 | } |
| 220 | } |
| 221 | |
| 222 | |
| 223 | //============================================================================ |
no test coverage detected