| 1032 | |
| 1033 | |
| 1034 | void UBBoardController::zoomRestore() |
| 1035 | { |
| 1036 | QTransform tr; |
| 1037 | |
| 1038 | tr.scale(mSystemScaleFactor, mSystemScaleFactor); |
| 1039 | mControlView->setTransform(tr); |
| 1040 | |
| 1041 | centerRestore(); |
| 1042 | |
| 1043 | emit zoomChanged(1.0); |
| 1044 | |
| 1045 | emit controlViewportChanged(); |
| 1046 | mActiveScene->setBackgroundZoomFactor(mControlView->transform().m11()); |
| 1047 | } |
| 1048 | |
| 1049 | |
| 1050 | void UBBoardController::centerRestore() |
no test coverage detected