×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Aug 2010
    Posts
    26

    UI question scrolling QT webview

    I have a parent QMainWindow class and inside it I have a QWebview . I want the user to be able to navigate through the page displayed in the webview. I tried calling ui->webview->setfocus(); but that does not scroll the page when I use the navigation keys. Do I have to manually capture all relevant keyboard events and handle the scrolling myself?

  2. #2
    Nokia Developer Champion
    Join Date
    Feb 2008
    Location
    Ahmedabad, Gujarat, India
    Posts
    3,852

    Re: UI question scrolling QT webview

    hello aasoftware

    from my experience you just need to focus the QWebView component and then the key handling will be done automatically for sure.

    Regards

  3. #3
    Registered User
    Join Date
    Aug 2010
    Posts
    26

    Re: UI question scrolling QT webview

    there are 2 fields on the page one for username and then one for password. If I type characters they input correctly in the username field,(which means qwebview does have focus) however I cannot use the navigation keys to move to the password field.

Similar Threads

  1. scrolling ui
    By fagiano in forum Symbian User Interface
    Replies: 1
    Last Post: 2007-06-21, 06:29
  2. Scrolling text in with a custom UI.
    By Subotai4Winds in forum Symbian
    Replies: 1
    Last Post: 2005-02-04, 05:02

Posting Permissions

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