8 const std::set<uint32_t>& validSegmentIDs, uint32_t segmentID) :
9 groupID(segmentID), validSegmentIDs(validSegmentIDs)
11 connect(
this, SIGNAL(editingFinished()),
this, SLOT(onEditingFinished()));
24 void UserGroupingLineEdit::onEditingFinished()
27 std::vector<uint32_t> segments;
29 std::stringstream textStream(text().toStdString());
32 while (textStream >>
id)
34 if (validSegmentIDs.find(
id) != validSegmentIDs.end())
36 segments.push_back(
id);