MCPcopy Create free account
hub / github.com/cpvrlab/ImagePlay / on_accept

Method on_accept

ImagePlay/src/ConnectionDialog.cpp:137–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135}
136
137void ConnectionDialog::on_accept()
138{
139 int indexFrom = _groupFrom->checkedId();
140 int indexTo = _groupTo->checkedId();
141
142 IPProcessEdge* newEdge = new IPProcessEdge(_from, _to, indexFrom, indexTo);
143
144 _mainWindow->addEdge(newEdge);
145
146 accept();
147}
148
149void ConnectionDialog::on_cancel()
150{

Callers

nothing calls this directly

Calls 1

addEdgeMethod · 0.45

Tested by

no test coverage detected