Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt WebKit
  4. Webkit event Listener

Webkit event Listener

Scheduled Pinned Locked Moved Unsolved Qt WebKit
4 Posts 2 Posters 1.0k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W Offline
    W Offline
    Wowalive
    wrote on last edited by
    #1

    Hi,

    is it possible to add some event listener to a qt webkit ?

    For example I want to do something certain when window.close() is called.

    QtWebEngine has an onWindowCloseRequested-Listener for that. Is there something similar possible for Webkit?

    Thanks in advance,
    wowalive

    K 1 Reply Last reply
    0
    • W Wowalive

      Hi,

      is it possible to add some event listener to a qt webkit ?

      For example I want to do something certain when window.close() is called.

      QtWebEngine has an onWindowCloseRequested-Listener for that. Is there something similar possible for Webkit?

      Thanks in advance,
      wowalive

      K Offline
      K Offline
      Konstantin Tokarev
      wrote on last edited by
      #2

      @Wowalive You are looking for QWebPage::​windowCloseRequested() signal

      W 1 Reply Last reply
      1
      • K Konstantin Tokarev

        @Wowalive You are looking for QWebPage::​windowCloseRequested() signal

        W Offline
        W Offline
        Wowalive
        wrote on last edited by
        #3

        @Konstantin-Tokarev Thanks looks good. But how can I make it available in qml?

        K 1 Reply Last reply
        0
        • W Wowalive

          @Konstantin-Tokarev Thanks looks good. But how can I make it available in qml?

          K Offline
          K Offline
          Konstantin Tokarev
          wrote on last edited by
          #4

          @Wowalive This is not possible at the moment

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved