We want to drag and drop something into the Webview EWO. But there is no Drag and Drop event on the EWO.
1 of the possibilities is to set the EWO "Transparent for Mouse" and placing a rectangle behind it. Not really an option as we have to click around in the EWO.
I found this code in the Help, but I have no idea where to implement it:
/******
Drop Event
To use drag and drop for your EWO the drop event handling can be added to your EWO implementation. To add the event handling to your EWO the EWO itself (not the QWidget used inside of the EWO) must be extended with following command inside of the EWO constructor:
Code: Select all
setProperty("-droppedEvent", QLatin1String("main(string information, int dragType)"));This interface is used for the drop script inside of the GEDI (as part of the property editor).
/******
Does anyone know where to place this code?
Regards,
GW