1
WebEngineViewのコンテンツをQMLで無効にするにはどうすればよいですか?WebEngineView:コンテンツの選択を無効にする
WebEngineView {
id: webEngineView
width: 600 * contentZoomFactor
height: parent.height
anchors.horizontalCenter: parent.horizontalCenter
zoomFactor: contentZoomFactor
onContextMenuRequested: {
request.accepted = true;
}
}
mouseAreaを使用してwebenginview上に透明な四角形を作成してマウスイベントを処理することができます – SourabhKus
コンテンツの選択のみを無効にしたい場合は、URLのクリックなどのその他の機能を有効にします – mroot