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

Method getCurrentStackIndex

ElaWidgetTools/ElaWindow.cpp:268–272  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

266{
267 Q_D(const ElaWindow);
268 return d->_navigationBar->getNavigationBarWidth();
269}
270
271void ElaWindow::setCurrentStackIndex(int currentStackIndex)
272{
273 Q_D(ElaWindow);
274 if (currentStackIndex >= d->_centerStackedWidget->getContainerStackedWidget()->count() || currentStackIndex < 0 || currentStackIndex == d->_centerStackedWidget->getLastTargetIndex())
275 {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected