| 352 | |
| 353 | |
| 354 | void UBApplicationController::showBoard() |
| 355 | { |
| 356 | mMainWindow->webToolBar->hide(); |
| 357 | mMainWindow->documentToolBar->hide(); |
| 358 | mMainWindow->boardToolBar->show(); |
| 359 | |
| 360 | if (mMainMode == Document) |
| 361 | { |
| 362 | // int selectedSceneIndex = UBApplication::documentController->getSelectedItemIndex(); |
| 363 | // if (selectedSceneIndex != -1) |
| 364 | // { |
| 365 | // UBApplication::boardController->setActiveDocumentScene(UBApplication::documentController->selectedDocument(), selectedSceneIndex); |
| 366 | // } |
| 367 | } |
| 368 | |
| 369 | mMainMode = Board; |
| 370 | |
| 371 | adaptToolBar(); |
| 372 | |
| 373 | mirroringEnabled(false); |
| 374 | |
| 375 | mMainWindow->switchToBoardWidget(); |
| 376 | |
| 377 | if (UBApplication::boardController) |
| 378 | UBApplication::boardController->show(); |
| 379 | |
| 380 | mIsShowingDesktop = false; |
| 381 | UBPlatformUtils::hideMenuBarAndDock(); |
| 382 | UBDrawingController::drawingController()->setInDesktopMode(false); |
| 383 | |
| 384 | mUninoteController->hideWindow(); |
| 385 | |
| 386 | UBPlatformUtils::showFullScreen(mMainWindow); |
| 387 | |
| 388 | emit mainModeChanged(Board); |
| 389 | |
| 390 | UBApplication::boardController->freezeW3CWidgets(false); |
| 391 | } |
| 392 | |
| 393 | |
| 394 | void UBApplicationController::showInternet() |
nothing calls this directly
no test coverage detected