+ const int drag_distance = qAbs(current_offset.convert_to<double>() -
+ mouse_down_offset_.convert_to<double>()) / view_.scale();
+
+ if (drag_distance > QApplication::startDragDistance()) {
+ view_.show_cursors(true);
+ view_.set_cursors(mouse_down_offset_, current_offset);
+ } else
+ view_.show_cursors(false);
+
+ } else {
+ if (!item_dragging_) {
+ if ((event->pos() - mouse_down_point_).manhattanLength() <
+ QApplication::startDragDistance())
+ return;