Jerky movement of custom QGraphicsItem in qt5
Unsolved
General and Desktop
-
I have custom QGraphicsItem class, I used QGraphicsItem::ItemIsMovable flag, but I have problem, items not moved smootly, https://imagebin.ca/v/3MnXYx0WIVZU
here is header and cpp files of class
https://pastebin.com/i7HzyMFC
https://pastebin.com/8TbnbTNG. -
@Tigran84 said in Jerky movement of custom QGraphicsItem in qt5:
ItemIsMovable
Hi, it seems you implemented drag move yourself?
Try this sample.
http://doc.qt.io/qt-5/qtwidgets-graphicsview-diagramscene-example.html
if you are after move by drag mouse.
The frame work can drag move it by itself.