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

Method showEvent

ElaWidgetTools/ElaContentDialog.cpp:167–176  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

165{
166 Q_D(ElaContentDialog);
167 d->_doCloseAnimation(false);
168}
169
170void ElaContentDialog::showEvent(QShowEvent* event)
171{
172 Q_D(ElaContentDialog);
173 d->_maskWidget->setVisible(true);
174 d->_maskWidget->raise();
175 d->_maskWidget->setFixedSize(parentWidget()->size());
176 d->_maskWidget->doMaskAnimation(90);
177 d->_moveToCenter();
178 QDialog::showEvent(event);
179}

Callers

nothing calls this directly

Calls 3

setFixedSizeMethod · 0.80
doMaskAnimationMethod · 0.80
_moveToCenterMethod · 0.80

Tested by

no test coverage detected