11 static void editWidgetInContextMenu(
12 auto& self, QGraphicsScene* scene, QGraphicsItem* obj,
double v)
14 self.m_value = self.unmap(v);
17 if constexpr(
requires { self.m_noValueChangeOnMove; })
19 if(!self.m_noValueChangeOnMove)
33 QTimer::singleShot(0, &self, [scene, obj] {
34 scene->removeItem(obj);