Enable or disable all widgets except the status bar widget.
| 1204 | |
| 1205 | // Enable or disable all widgets except the status bar widget. |
| 1206 | void KDiff3App::mainWindowEnable(bool bEnable) |
| 1207 | { |
| 1208 | if(QMainWindow* pWindow = dynamic_cast<QMainWindow*>(window())) |
| 1209 | { |
| 1210 | QWidget* pStatusBarWidget = pWindow->statusBar(); |
| 1211 | pWindow->setEnabled(bEnable); |
| 1212 | pStatusBarWidget->setEnabled(true); |
| 1213 | } |
| 1214 | } |
| 1215 | |
| 1216 | void KDiff3App::postRecalcWordWrap() |
| 1217 | { |