Project

General

Profile

Feature #1002

Updated by Soren Stoutner over 1 year ago

<pre><code class="cpp"> 
 // Allow keyboard navigation. 
 webEngineSettingsPointer->setAttribute(QWebEngineSettings::SpatialNavigationEnabled, true); 
 </code></pre> 


 It allows navigating between fields with the keyboard (like using the up arrows to navigate between fields on this page).    However, that might not always be the desired behavior as it can get in the way of navigating withing a field. 

 https://doc.qt.io/qt-6/qwebenginesettings.html#WebAttribute-enum 

 http://bokand.github.io/spatnav/spat-nav-on-the-web.html

Back