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

Method getIsNavigationBarEnable

ElaWidgetTools/ElaWindow.cpp:358–361  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

356 {
357 return;
358 }
359#if QT_VERSION >= QT_VERSION_CHECK(5, 14, 0)
360 auto geometry = screen()->availableGeometry();
361#else
362 auto geometry = qApp->screenAt(this->geometry().center())->geometry();
363#endif
364 setGeometry((geometry.left() + geometry.right() - width()) / 2, (geometry.top() + geometry.bottom() - height()) / 2, width(), height());

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected