| 627 | |
| 628 | QList<QDockWidget*> docks = findChildren<QDockWidget*>(); |
| 629 | foreach (QDockWidget* dock, docks) { |
| 630 | if (dock->windowTitle().contains(TXT_MEM_DOCK)) { |
| 631 | if (dock->isVisible()) { |
| 632 | QList<QPushButton*> buttons = dock->findChildren<QPushButton*>(); |
| 633 | QList<QToolButton*> tools = dock->findChildren<QToolButton*>(); |
| 634 | QList<HexWidget*> editChildren = dock->findChildren<HexWidget*>(); |
| 635 | QList<QSpinBox*> spinChildren = dock->findChildren<QSpinBox*>(); |
| 636 | editChildren.first()->setEnabled(state); |
| 637 | spinChildren.first()->setEnabled(state); |
| 638 | foreach (QPushButton *button, buttons) { |
| 639 | button->setEnabled(state); |
| 640 | } |
| 641 | foreach (QToolButton *tool, tools) { |
| 642 | tool->setEnabled(state); |
| 643 | } |
| 644 | } |
| 645 | } |
| 646 | } |
| 647 | |
| 648 | debugBasicGuiState(state); |
| 649 | } |
nothing calls this directly
no outgoing calls
no test coverage detected