| 1307 | } |
| 1308 | |
| 1309 | void WorkspaceWidget::switchWidget(const QString &id) |
| 1310 | { |
| 1311 | if (!d->registeredWidget.contains(id)) |
| 1312 | return; |
| 1313 | |
| 1314 | d->stackWidget->setCurrentWidget(d->registeredWidget[id]); |
| 1315 | } |
| 1316 | |
| 1317 | void WorkspaceWidget::switchDefaultWidget() |
| 1318 | { |
no test coverage detected