| 59 | } |
| 60 | |
| 61 | void ConfigWidget::setTool(const CustomBuildSystemTool& tool) |
| 62 | { |
| 63 | bool b = ui->enableAction->blockSignals( true ); |
| 64 | ui->enableAction->setChecked( tool.enabled ); |
| 65 | ui->enableAction->blockSignals( b ); |
| 66 | |
| 67 | ui->actionArguments->setText( tool.arguments ); |
| 68 | ui->actionArguments->setEnabled( tool.enabled ); |
| 69 | ui->actionExecutable->setUrl( tool.executable ); |
| 70 | ui->actionExecutable->setEnabled( tool.enabled ); |
| 71 | ui->actionEnvironment->setCurrentProfile( tool.envGrp ); |
| 72 | ui->actionEnvironment->setEnabled( tool.enabled ); |
| 73 | ui->execLabel->setEnabled( tool.enabled ); |
| 74 | ui->argLabel->setEnabled( tool.enabled ); |
| 75 | ui->envLabel->setEnabled( tool.enabled ); |
| 76 | } |
| 77 | |
| 78 | void ConfigWidget::changeAction( int idx ) |
| 79 | { |
nothing calls this directly
no test coverage detected