- 06 Feb, 2015 - 1 commit
-
-
Adam Kallai authored
The mapping of var signal parameters to QJSValue was reverted in qtdeclarative, commit 605777e6cf557dbaf2835c63562bf3fe1620ee45. Change the FilePickerController::accepted() slot parameter type from QJSValue to QVariant in UIDelegate. Task-number: QTBUG-44307 Change-Id: I373b37b6eb4c32e91fd92701ecad685eab9cb804 Reviewed-by:
Andras Becsi <andras.becsi@theqtcompany.com> Reviewed-by:
Michael Brüning <michael.bruning@theqtcompany.com>
-
- 20 Jan, 2015 - 1 commit
-
-
Michael Brüning authored
The prompt dialog inherits ApplicationWindow, which emits the signal "closing" when the window gets closed by pressing the X button. Change-Id: I23e5cf6f8e81251869d765d7fd2864257f3c0b89 Task-number: QTBUG-43902 Reviewed-by:
Andras Becsi <andras.becsi@theqtcompany.com>
-
- 06 Jan, 2015 - 3 commits
-
-
Robin Burchell authored
This doesn't seem to be too much sense, and according to the QQmlContext documentation, may not work as expected: "This is only valid for components created directly from QML." Change-Id: I49db5dad49288d196e8519b1a60dcf2192147672 Reviewed-by:
Pierre Rossi <pierre.rossi@theqtcompany.com>
-
Robin Burchell authored
If the dialog controller has asked to show a dialog, then if we cannot show a dialog, we should reject its request. Not doing this results in the WebView becoming frozen for input if the load fails, seemingly. Change-Id: I7dddd5357c712f896499cdebb142e60b5e80b4f2 Reviewed-by:
Pierre Rossi <pierre.rossi@theqtcompany.com>
-
Robin Burchell authored
This setting is useful when developing a new UI set, and one may not initially know about the suppression of errors, which is a painful problem to run into. Furthermore, make sure to delete the failed component so that subsequent attempted use of it doesn't succeed if UI_DELEGATES_DEBUG isn't enabled. Change-Id: I3d2abc19fb4a007d06795d2e8149ae78d7c9c020 Reviewed-by:
Pierre Rossi <pierre.rossi@theqtcompany.com>
-
- 07 Oct, 2014 - 1 commit
-
-
Kai Koehne authored
It's faster to use QLatin1String in places where we don't actually need a QString object (like for comparison, or when creating a string with QStringBuilder). Change-Id: I9b8e28040dc2b79a767e15015b85822d06141bbe Reviewed-by:
Zeno Albisser <zeno.albisser@digia.com>
-
- 10 Sep, 2014 - 1 commit
-
-
Adam Kallai authored
The filesSelected QML signal is connected to FilePickerController::accepted slot but the type of the parameters were different. Change-Id: I36a33857b557797fc18699144c4d558d0e454cf8 Reviewed-by:
Michael Bruning <michael.bruning@digia.com> Reviewed-by:
Andras Becsi <andras.becsi@digia.com>
-
- 21 Aug, 2014 - 1 commit
-
-
Zeno Albisser authored
Change-Id: Idbe0eafb51d77cc00e3a93179b81770724d5bfaa Reviewed-by:
Jocelyn Turcotte <jocelyn.turcotte@digia.com> Reviewed-by:
Tuukka Turunen <tuukka.turunen@digia.com> Reviewed-by:
Pierre Rossi <pierre.rossi@gmail.com>
-
- 01 Aug, 2014 - 1 commit
-
-
Jocelyn Turcotte authored
Duplicate the small implementation of that function, which uses QMetaObject public API together with the semi-public fact that the meta class info named DefaultProperty needs to be fetched. Change-Id: I37413bd28a0b0ead55853e4e3db5864dfc39966b Reviewed-by:
Michael Bruning <michael.bruning@digia.com>
-
- 24 Jul, 2014 - 1 commit
-
-
Adam Kallai authored
Change-Id: Iffb04ff0c61e7a5e0c42ca224b1b04d0a62c66f8 Reviewed-by:
Andras Becsi <andras.becsi@digia.com>
-
- 26 Jun, 2014 - 1 commit
-
-
Michael Brüning authored
Use QUrl::fromLocalFile to load components from the installation Qml directory. Using just the absolute file path wasn't a problem on Linux, but did not work on Windows. Other Qt modules are also using QUrl::fromLocalFile to do this. Change-Id: I689c516dc63a6c966435eedb94441d7c9246dd25 Reviewed-by:
Andras Becsi <andras.becsi@digia.com>
-
- 20 May, 2014 - 1 commit
-
-
Pierre Rossi authored
Lookup the correct UIDelegates import path once lazily, and reuse this information. If there is none, then we don't expect any UI delegation to work, but it should not crash. Change-Id: I73be7273d83b8d89b74641dc550341cf2b7eb602 Reviewed-by:
Zeno Albisser <zeno.albisser@digia.com>
-
- 29 Apr, 2014 - 1 commit
-
-
Pierre Rossi authored
We could use this to prompt the user for various feature permissions that we are not ready to expose in our API. Change-Id: If6e6a16aca4142b0564121dfc7677b7c4996f742 Reviewed-by:
Zeno Albisser <zeno.albisser@digia.com>
-
- 14 Mar, 2014 - 1 commit
-
-
Pierre Rossi authored
Use a raw pointer instead of QScopedPointer for the UI components. Since the components are always parented to the view and deleted through the QObject cleanup mechanism, it was not correct to use QScopedPointer in the first place. Change-Id: I0c8fd9526e898439c52c6a6f538a66f8a1185ef9 Reviewed-by:
Jocelyn Turcotte <jocelyn.turcotte@digia.com>
-
- 11 Feb, 2014 - 1 commit
-
-
Zoltan Arvai authored
MSVC thinks the firs part of that string is wide while the second part is narrow and it won't allow to concetanete them directly. Adding literal for wide string before ".qml" on Windows will resolve it. Change-Id: I934fed6fe9e9401461a8165a524e8110cec3c3fa Reviewed-by:
Jocelyn Turcotte <jocelyn.turcotte@digia.com>
-
- 15 Jan, 2014 - 3 commits
-
-
Pierre Rossi authored
Change-Id: I6195c49f1647c78b16d9d47770ab37ba998a61a5 Reviewed-by:
Jocelyn Turcotte <jocelyn.turcotte@digia.com>
-
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:
Jocelyn Turcotte <jocelyn.turcotte@digia.com>
-
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:
Jocelyn Turcotte <jocelyn.turcotte@digia.com>
-