MCPcopy Create free account
hub / github.com/Kitware/TeleSculptor / DepthMapOptions

Method DepthMapOptions

gui/DepthMapOptions.cxx:40–63  ·  view source on GitHub ↗

-----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

38
39//-----------------------------------------------------------------------------
40DepthMapOptions::DepthMapOptions(QString const& settingsGroup,
41 QWidget* parent, Qt::WindowFlags flags)
42 : QWidget(parent, flags), d_ptr(new DepthMapOptionsPrivate)
43{
44 QTE_D();
45
46 // Set up UI
47 d->UI.setupUi(this);
48
49 d->filterOptions = new DepthMapFilterOptions(settingsGroup, this);
50 d->setPopup(d->UI.filterMenu, d->filterOptions);
51 d->UI.filterMenu->setEnabled(false);
52
53 // Connect signals/slots
54 connect(d->UI.points, &QAbstractButton::toggled,
55 this, &DepthMapOptions::displayModeChanged);
56 connect(d->UI.surfaces, &QAbstractButton::toggled,
57 this, &DepthMapOptions::displayModeChanged);
58
59 connect(d->UI.filter, &QAbstractButton::toggled,
60 this, QOverload<bool>::of(&DepthMapOptions::thresholdsChanged));
61 connect(d->filterOptions, &DepthMapFilterOptions::filtersChanged,
62 this, QOverload<>::of(&DepthMapOptions::thresholdsChanged));
63}
64
65//-----------------------------------------------------------------------------
66DepthMapOptions::~DepthMapOptions()

Callers

nothing calls this directly

Calls 1

setPopupMethod · 0.45

Tested by

no test coverage detected