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

Method toNormal

YACReader/main_window_viewer.cpp:1212–1228  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1210}
1211
1212void MainWindowViewer::toNormal()
1213{
1214 // show all
1215 viewer->hide();
1216 viewer->fullscreen = false; // TODO, change by the right use of windowState();
1217 // viewer->hideMagnifyingGlass();
1218 if (fromMaximized)
1219 showMaximized();
1220 else
1221 showNormal();
1222
1223 if (Configuration::getConfiguration().getShowToolbars())
1224 showToolBars();
1225 viewer->show();
1226 if (viewer->magnifyingGlassIsVisible())
1227 viewer->showMagnifyingGlass();
1228}
1229
1230void MainWindowViewer::toggleToolBars()
1231{

Callers

nothing calls this directly

Calls 5

hideMethod · 0.80
getShowToolbarsMethod · 0.80
showMagnifyingGlassMethod · 0.80
showMethod · 0.45

Tested by

no test coverage detected