| 74 | void ElaProgressBar::resizeEvent(QResizeEvent* event) |
| 75 | { |
| 76 | Q_D(ElaProgressBar); |
| 77 | if (orientation() == Qt::Horizontal) |
| 78 | { |
| 79 | d->_busyAnimation->setEndValue(this->width()); |
| 80 | } |
| 81 | else |
| 82 | { |
| 83 | d->_busyAnimation->setEndValue(this->height()); |
| 84 | } |
| 85 | QProgressBar::resizeEvent(event); |
| 86 | } |
nothing calls this directly
no outgoing calls
no test coverage detected