-----------------------------------------------------------------------------
| 23 | |
| 24 | //----------------------------------------------------------------------------- |
| 25 | DepthMapFilterOptions::DepthMapFilterOptions( |
| 26 | const QString& settingsGroup, QWidget* parent, Qt::WindowFlags flags) |
| 27 | : QWidget(parent, flags), d_ptr(new DepthMapFilterOptionsPrivate) |
| 28 | { |
| 29 | QTE_D(); |
| 30 | |
| 31 | d->UI.setupUi(this); |
| 32 | |
| 33 | connect(d->UI.weightMinimum, |
| 34 | QOverload<double>::of(&QDoubleSpinBox::valueChanged), |
| 35 | this, &DepthMapFilterOptions::updateWeightMinimum); |
| 36 | connect(d->UI.weightMaximum, |
| 37 | QOverload<double>::of(&QDoubleSpinBox::valueChanged), |
| 38 | this, &DepthMapFilterOptions::updateWeightMaximum); |
| 39 | connect(d->UI.uncertaintyMinimum, |
| 40 | QOverload<double>::of(&QDoubleSpinBox::valueChanged), |
| 41 | this, &DepthMapFilterOptions::updateUncertaintyMinimum); |
| 42 | connect(d->UI.uncertaintyMaximum, |
| 43 | QOverload<double>::of(&QDoubleSpinBox::valueChanged), |
| 44 | this, &DepthMapFilterOptions::updateUncertaintyMaximum); |
| 45 | |
| 46 | connect(d->UI.buttonBox->button(QDialogButtonBox::Apply), |
| 47 | &QAbstractButton::clicked, |
| 48 | this, &DepthMapFilterOptions::filtersChanged); |
| 49 | connect(d->UI.buttonBox->button(QDialogButtonBox::Reset), |
| 50 | &QAbstractButton::clicked, |
| 51 | this, &DepthMapFilterOptions::resetFilters); |
| 52 | } |
| 53 | |
| 54 | //----------------------------------------------------------------------------- |
| 55 | DepthMapFilterOptions::~DepthMapFilterOptions() |
nothing calls this directly
no outgoing calls
no test coverage detected