| 272 | } |
| 273 | |
| 274 | void ElaWindowPrivate::_resetWindowLayout(bool isAnimation) |
| 275 | { |
| 276 | if (isAnimation) |
| 277 | { |
| 278 | while (_centerLayout->count() > 0) |
| 279 | { |
| 280 | _centerLayout->takeAt(0); |
| 281 | } |
| 282 | } |
| 283 | else |
| 284 | { |
| 285 | if (_centerLayout->count() == 0) |
| 286 | { |
| 287 | _navigationBar->setIsTransparent(true); |
| 288 | _navigationBar->setDisplayMode(ElaNavigationType::Minimal, false); |
| 289 | _centerLayout->addWidget(_navigationBar); |
| 290 | _centerLayout->addWidget(_navigationCenterStackedWidget); |
| 291 | } |
| 292 | } |
| 293 | } |
| 294 | |
| 295 | void ElaWindowPrivate::_doNavigationDisplayModeChange() |
| 296 | { |
nothing calls this directly
no test coverage detected