MCPcopy Create free account
hub / github.com/BatchDrake/SigDigger / SourceWidget

Method SourceWidget

Default/Source/SourceWidget.cpp:138–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136}
137
138SourceWidget::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
158SourceWidget::~SourceWidget()
159{

Callers

nothing calls this directly

Calls 3

connectAllMethod · 0.95
setUnitsMethod · 0.80
assertConfigMethod · 0.80

Tested by

no test coverage detected