MCPcopy Create free account
hub / github.com/OpenShot/libopenshot / SetQWidget

Method SetQWidget

src/QtPlayer.cpp:220–223  ·  view source on GitHub ↗

Set the QWidget pointer to display the video on (as a LONG pointer id)

Source from the content-addressed store, hash-verified

218
219 // Set the QWidget pointer to display the video on (as a LONG pointer id)
220 void QtPlayer::SetQWidget(int64_t qwidget_address) {
221 // Update override QWidget address on the video renderer
222 p->renderer->OverrideWidget(qwidget_address);
223 }
224
225 // Get the Renderer pointer address (for Python to cast back into a QObject)
226 int64_t QtPlayer::GetRendererQObject() {

Callers

nothing calls this directly

Calls 1

OverrideWidgetMethod · 0.80

Tested by

no test coverage detected