| 136 | } |
| 137 | |
| 138 | SourceWidget::SourceWidget( |
| 139 | SourceWidgetFactory *factory, |
| 140 | UIMediator *mediator, |
| 141 | QWidget *parent) : |
| 142 | ToolWidget(factory, mediator, parent), |
| 143 | ui(new Ui::SourcePanel) |
| 144 | { |
| 145 | ui->setupUi(this); |
| 146 | |
| 147 | this->saverUI = new DataSaverUI(this); |
| 148 | this->ui->dataSaverGrid->addWidget(this->saverUI); |
| 149 | this->ui->throttleSpin->setUnits("sps"); |
| 150 | this->ui->throttleSpin->setMinimum(0); |
| 151 | |
| 152 | this->assertConfig(); |
| 153 | this->connectAll(); |
| 154 | |
| 155 | this->setProperty("collapsed", this->panelConfig->collapsed); |
| 156 | } |
| 157 | |
| 158 | SourceWidget::~SourceWidget() |
| 159 | { |
nothing calls this directly
no test coverage detected