MCPcopy Create free account
hub / github.com/KangLin/RabbitRemoteControl / slotFullScreenRequested

Method slotFullScreenRequested

Plugins/WebBrowser/FrmWebView.cpp:530–541  ·  view source on GitHub ↗

Test example: https://www.webmfiles.org/demo-files/

Source from the content-addressed store, hash-verified

528
529// Test example: https://www.webmfiles.org/demo-files/
530void CFrmWebView::slotFullScreenRequested(QWebEngineFullScreenRequest request)
531{
532 qDebug(log) << "slotFullScreenRequested";
533 if (request.toggleOn()) {
534 request.accept();
535 this->showFullScreen();
536 } else {
537 request.accept();
538 this->showNormal();
539 }
540 m_pBrowser->slotFullScreen(request.toggleOn());
541}
542
543//! [registerProtocolHandlerRequested]
544void CFrmWebView::handleRegisterProtocolHandlerRequested(

Callers

nothing calls this directly

Calls 2

slotFullScreenMethod · 0.80
acceptMethod · 0.45

Tested by

no test coverage detected