| 1197 | } |
| 1198 | |
| 1199 | void 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 | |
| 1212 | void MainWindowViewer::toNormal() |
| 1213 | { |
nothing calls this directly
no test coverage detected