×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Regular Contributor
    Join Date
    Sep 2010
    Posts
    65

    QWebView + Key Navigation + Non-touch Symbian phones

    Hello All,

    We have a Qt application being developed for S60 5th ed, 3rd ed and S^3 phones, the problem is in the customized browser that we have for non-touch phones.

    Here goes the problem - There's a default cursor using which I can click on links n other editable areas, I've removed it and tried enabling the link activation through navigation keys (up, down, right n left arrows keys) using setNavigationMode(), setFocusPolicy() etc., so that the next clickable link is highlighted, but doesn't happen so, there's no effect of these statements at all.

    Its a pain to use cursor for everything: moving the scroll bars, clicking on a link that's a meter away from this cursor &...
    I went through few similar threads here, but couldn't find any clear solution. What have I missed to add in the code?

  2. #2
    Regular Contributor
    Join Date
    Sep 2008
    Posts
    286

    Re: QWebView + Key Navigation + Non-touch Symbian phones

    Webkit contains code for spatial navigation but this isn't enabled by default in QtWebkit. Look for QWebsettings SpatialNavigationEnabled.
    Haven't tried it in action but I'd assume you least need to map the keys to be used for navigation and get rid of that cursor.
    QtWebkit 2.1 contains bug fixes to the navigation so I'm not sure in what condition it is in Qt 4.6.3.
    edit:
    Yeah you need to implement the keys or wait for QtWebkit2.1 http://bugreports.qt.nokia.com/browse/QTWEBKIT-271

  3. #3
    Regular Contributor
    Join Date
    Sep 2010
    Posts
    65

    Re: QWebView + Key Navigation + Non-touch Symbian phones

    Oh thats cool, finally there's some conclusion to this query.. Will implement the keys till I catch hold of QtWebkit2.1.
    Thanks jakoskin, you are always there for the rescue

  4. #4
    Registered User
    Join Date
    Oct 2010
    Posts
    1

    Re: QWebView + Key Navigation + Non-touch Symbian phones

    Hi!

    could you give me some clues about how to achieve this? I am trying to make my app work in e71 but the only thing I can make in the web view is scrolling.

    I have tried to add a cursor but it doesn't show anything with the next line:

    Code:
     webView->setCursor (Qt::ArrowCursor);
    Am I missing something? Thank you very much!

Similar Threads

  1. Usability issue TextBox for Symbian 5th edition touch phones
    By supran2811 in forum Mobile Java General
    Replies: 0
    Last Post: 2010-12-02, 04:45
  2. Touch Screen device - navigation field
    By njk in forum Mobile Java General
    Replies: 5
    Last Post: 2010-02-14, 12:56
  3. help get rid of the navigation key in touch application - Nokia 5800
    By phrithvi in forum Symbian User Interface
    Replies: 2
    Last Post: 2009-04-02, 08:08
  4. Replies: 1
    Last Post: 2009-04-02, 07:50

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×