| 1210 | } |
| 1211 | |
| 1212 | void 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 | |
| 1230 | void MainWindowViewer::toggleToolBars() |
| 1231 | { |
nothing calls this directly
no test coverage detected