MCPcopy Create free account
hub / github.com/YACReader/yacreader / toFullScreen

Method toFullScreen

YACReader/main_window_viewer.cpp:1199–1210  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1197}
1198
1199void MainWindowViewer::toFullScreen()
1200{
1201 fromMaximized = this->isMaximized();
1202
1203 hideToolBars();
1204 viewer->hide();
1205 viewer->fullscreen = true; // TODO, change by the right use of windowState();
1206 setWindowState(Qt::WindowFullScreen);
1207 viewer->show();
1208 if (viewer->magnifyingGlassIsVisible())
1209 viewer->showMagnifyingGlass();
1210}
1211
1212void MainWindowViewer::toNormal()
1213{

Callers

nothing calls this directly

Calls 4

hideMethod · 0.80
showMagnifyingGlassMethod · 0.80
showMethod · 0.45

Tested by

no test coverage detected