2 #include <QGraphicsItem>
3 #include <QGraphicsScene>
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);
Base toolkit upon which the software is built.
Definition: Application.cpp:90
Definition: DefaultControlImpl.hpp:10