This code is not added for OpenLP but for Powerpoint etc to allow Powerpoint to render a screen and then the preview to be updated.
This will be relevant to all items with this capability ItemCapabilities.ProvidesOwnDisplay so needs to be handled with care.
For Songs , Images etc there is a loop in the maindisplay code which waits for QWebKit to say it has finished painting the screen. This is a QT triggered event with a 0.1 sec timer to allow the machine to not get loop tied up.
This code is not added for OpenLP but for Powerpoint etc to allow Powerpoint to render a screen and then the preview to be updated. s.ProvidesOwnDi splay so needs to be handled with care.
This will be relevant to all items with this capability ItemCapabilitie
For Songs , Images etc there is a loop in the maindisplay code which waits for QWebKit to say it has finished painting the screen. This is a QT triggered event with a 0.1 sec timer to allow the machine to not get loop tied up.