MCPcopy Create free account
hub / github.com/Liniyous/ElaWidgetTools / resizeEvent

Method resizeEvent

ElaWidgetTools/ElaProgressBar.cpp:76–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74void 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}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected