1. 23 Jan, 2014 - 5 commits
  2. 17 Jan, 2014 - 1 commit
  3. 15 Jan, 2014 - 7 commits
    • Pierre Rossi's avatar
      Qt Quick File Picker · db2c0781
      Pierre Rossi authored
      
      Change-Id: I6195c49f1647c78b16d9d47770ab37ba998a61a5
      Reviewed-by: default avatarJocelyn Turcotte <jocelyn.turcotte@digia.com>
      db2c0781
    • Pierre Rossi's avatar
      JS dialogs in QtQuick · 6f5850dd
      Pierre Rossi authored
      
      Refactor JavaScriptDialogManagerQt to support a Qt Quick dialogs
      friendly approach.
      Qt Quick dialogs are still missing a prompt, so we use a "handmade"
      one. This should be solved before 5.3 though.
      
      Change-Id: I965df66837b2e81d6e4618a8da1167a37661c26e
      Reviewed-by: default avatarJocelyn Turcotte <jocelyn.turcotte@digia.com>
      6f5850dd
    • Pierre Rossi's avatar
      Pave the way for our UI delegation strategy. · e4688691
      Pierre Rossi authored
      
      Starting with the context Menus for QtQuick.
      Add default UI delegates as a subproject. We allow ourselves to use
      Qt Quick Controls there for in order to get a nice "out of the box"
      experience for things like context menus, dialogs, etc while leaving
      the door open for system embedders to override this.
      
      Opting out of the deployment of these QML files is still very primitive
      but can be done by passing WEBENGINE_CONFIG+=no_ui_delegates at qmake
      time.
      
      Customization of context menus could be done via a qml component, which
      is probably best kept in experimental for now while we address its
      shortcomings.
      
      Change-Id: I0705b20d5ddd3bb010f9371b65a181c6b02a03e1
      Reviewed-by: default avatarJocelyn Turcotte <jocelyn.turcotte@digia.com>
      e4688691
    • Pierre Rossi's avatar
      [Widgets] wire the file pickers · c34b7218
      Pierre Rossi authored
      
      Introduce a new version of chooseFiles in QWebEnginePage.
      The existing API in WebKit1 seemed a bit dusty in any case (multiple
      only supported via extensions).
      
      Changes are:
        * oldFile becomes oldFiles, so that we could at a later stage expose
          the already selected files in the "multiple" case.
        * a type is introduced, for now limited to multiple selection, but
          over time, we might consider additions such as directory upload.
      
      Change-Id: I14cfea64ce95e892a0a1877c8cb914c5a421409f
      Reviewed-by: default avatarJocelyn Turcotte <jocelyn.turcotte@digia.com>
      c34b7218
    • Simon Hausmann's avatar
      Fix installation of most examples · 0b611c39
      Simon Hausmann authored
      
      * Make sure the example source code is installed
      * Make sure the installation path is consistent with the path within the module, to ensure
        that the sources end up next to the compiled binary.
      * Skip the widgets nano browser from the installation, as it's a developer tool.
      
      Change-Id: I35b421e12f8e6ddd3f2045e318b21543ff929cd8
      Reviewed-by: default avatarJocelyn Turcotte <jocelyn.turcotte@digia.com>
      0b611c39
    • Simon Hausmann's avatar
      Fix placement of webengine process · d91a4b5f
      Simon Hausmann authored
      
      In developer (non-prefix) builds, the binary goes to $$MODULE_BASE_OUTDIR/libexec,
      which is practically qtbase/libexec. In prefix builds it'll be linked to $module_toplevel/libexec
      and installed into $prefix/libexec.
      
      Change-Id: Ia42519f3113976e707fbda9e09dbf7ef6e235924
      Reviewed-by: default avatarJocelyn Turcotte <jocelyn.turcotte@digia.com>
      d91a4b5f
    • Adam Kallai's avatar
      Implement QQuickWebEngineLoadRequest class · e2382d30
      Adam Kallai authored
      
      It contains information about a requested load of a web page.
      
      Change-Id: Ie45706adb51ee5bce98e7af01252d9a8389db57d
      Reviewed-by: default avatarPierre Rossi <pierre.rossi@gmail.com>
      Reviewed-by: default avatarAndras Becsi <andras.becsi@digia.com>
      e2382d30
  4. 14 Jan, 2014 - 5 commits
  5. 13 Jan, 2014 - 8 commits
  6. 11 Jan, 2014 - 3 commits
  7. 10 Jan, 2014 - 5 commits
  8. 08 Jan, 2014 - 1 commit
  9. 23 Dec, 2013 - 2 commits
    • Zeno Albisser's avatar
      quicknanobrowser: reset progress bar when reaching 100% · bac17d00
      Zeno Albisser authored
      
      Change-Id: I146df83948017b5ad72e40d16a8cc7105691c309
      Reviewed-by: default avatarJocelyn Turcotte <jocelyn.turcotte@digia.com>
      bac17d00
    • Jocelyn Turcotte's avatar
      createWindow QML API for QQuickWebEngineView · 7d39fa4a
      Jocelyn Turcotte authored
      
      This implements adoptNewWindow for QQuickWebEngineView.
      The API is only intended to be used through QML to avoid delegating
      the QQuickWebEngineViewHandle ownership through a signal parameter.
      
      Another limitation of the implementation is currently to fail the
      handle adoption unless it is done synchronously within the
      adoptNewWindow call. To support this we would need to delay the call
      to WebContentsAdapter::initialize which will leave the adapter
      without a client when returning to the event loop and would require
      putting null checks everywhere it is used.
      So I would prefer to keep the API limited and avoid potential crashes.
      If we want to support asynchronous Loader elements or QML files
      fetched from the network in the future, the API should be able to
      scale to the task once we've adjusted the implementation.
      
      This also adds basic tabs support in the quicknanobrowser example.
      The url property is now set imperatively to avoid overwriting the
      adopted WebContentsAdapter's loading URL.
      
      Change-Id: Iba5c5dc3ffa21045f356be131ca15c01b9aee7c8
      Reviewed-by: default avatarPierre Rossi <pierre.rossi@gmail.com>
      Reviewed-by: default avatarZeno Albisser <zeno.albisser@digia.com>
      7d39fa4a
  10. 20 Dec, 2013 - 3 commits