back soft

مطالب مرتبط با «after custom» (2 مطلب) در back soft | نویسنده: استخدام کار

Crash after QGraphicsScene::removeItem() with custom item class

Vote count: 0 I am populating a QGraphicsScene with instances of a custom item class (inherting QGraphicsPathItem). At some point during runtime, I try to remove an item (plus its children) from the scene by calling: delete pItem; This automatically calls QGraphicsScene::removeItem(), however it also leads to a crash in the class QGraphicsSceneFindItemBspTreeVisitor during the next repaint. asked 24 secs agoPhilip Allgaier 1 Answer Vote count: 0 TL;DR: The solution is to ensure that QGraphicsItem::prepareGeometryChange() gets called before the item's removal from the scene. The problem is that during the item removal from the scene, the scene inteal index was not properly updated, resulting ...

ادامه مطلب

Call WL.Client.invokeProcedure after custom DirectUpdate

Vote count: 0 I have a similar problem than MobileFirst Direct update customization using adapter But I'm not using the Adapter to modify the DirectUpdate, I'm trying to make a record about the state of the DirectUpdate when it finish, but seems that the call to the adapter not works. There is any restriction to call WL.Client.invokeProcedure on main.js after the DirectUpdate finish? asked 7 mins agoDaniel Contreras Aladro Let's block ads! بخوانید...

ادامه مطلب

موضوعات مرتبط

Crash after QGraphicsScene | after QGraphicsScene removeItem | QGraphicsScene removeItem with | removeItem with custom | with custom item | custom item class | Crash after | after QGraphicsScene | QGraphicsScene removeItem | removeItem with