Results 1 to 3 of 3

Thread: How can i pass click event to a qwebElement within QwebView.

  1. #1
    Join Date
    Apr 2011
    Location
    Gurgaon
    Posts
    32
    Thanks
    6
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default How can i pass click event to a qwebElement within QwebView.

    Hi ,
    I have 2 radio buttons in a web page.
    I want the 1st radio button automatically clicked when the QwebView is loaded first.
    Please suggest me how can I do this?

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,618
    Thanks
    13
    Thanked 1,592 Times in 1,520 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: How can i pass click event to a qwebElement within QwebView.

    I suggest you find a good HTML tutorial and adjust your HTML so the radio button is selected.

  3. #3
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,419
    Thanks
    37
    Thanked 1,545 Times in 1,495 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: How can i pass click event to a qwebElement within QwebView.

    QWebFrame has a loadFinished() signal.

    Use the DOM access or JavaScript evalution to do you bidding.

    Cheers,
    _

Similar Threads

  1. QWebView and right click reload
    By sky in forum Newbie
    Replies: 8
    Last Post: 14th September 2016, 10:07
  2. Replies: 3
    Last Post: 9th September 2014, 22:55
  3. Howto select/show a QWebElement in QWebview
    By nightghost in forum Qt Programming
    Replies: 1
    Last Post: 2nd September 2010, 12:51
  4. Pass event (QWheelEvent) to a specific widget
    By stefanadelbert in forum Qt Programming
    Replies: 0
    Last Post: 12th April 2010, 02:15
  5. pass mouse event information to another widget
    By Rooster in forum Qt Programming
    Replies: 5
    Last Post: 12th July 2008, 04:23

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.