The classes are currently in examples, but we need them in other places
as well
Task-number: QDS-8664
Change-Id: I9121a92d44bf5e2575a75a15eeaa4443a74b0a26
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
The previous direct use of a GenericDirectUploadService outside of
deploy steps is unique in the code base and prevents collapsing the
otherwise parallel AbstractRemoteLinuxDeployService and
AbstractRemoteLinuxDeployStep hierarchies into one.
Change-Id: Ic31445f28768440b16902b51b22782102133cfca
Reviewed-by: hjk <hjk@qt.io>
Despite SpatialAudio being a submodule of QtQuick3D, it is actually
implemented in qtmultimedia repository. The designer specifics for
QtMultimedia types are implemented in creator repository, so same was
done for SpatialAudio types.
Fixes: QDS-8530
Change-Id: I5a06125fa0b6910c17ca9838a35ff9c01a723056
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
* QmlEditorMenu is handled in Manhattan style.
* Icons are available for cascading menu items in macOS.
* Shortkeys hints are handled and right aligned in the menu.
* The style is customized QmlEditorMenu.
Task-number: QDS-8720
Change-Id: Iff5ebae0dce70dade5b48a1abe4232e70d6953d6
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Extract runner process partially into own class. For now only
the primary runners. Secondary runners will follow and later
more parts of the SquishTools will be moved over for better
encapsulation and easier enhancement.
Change-Id: I5db18cb8b27531a50f4284e42baa257755b7df58
Reviewed-by: David Schulz <david.schulz@qt.io>
Removes some unnecessary contains() by using the QSet directly.
Fetch all required paths at once instead of calling generatedQrc(...)
multiple times.
Change-Id: I0a6f65d11d92a4ec4f6655a87e30df6a5c4d6545
Reviewed-by: hjk <hjk@qt.io>
Types can be prefixed with QtQuick. or <cpp>.
Task-number: QDS-8947
Change-Id: If2b1423d6a08a9e083f6abeeca62be690ce20d3e
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
In the "New Project" dialog box, if the "Style" section is filtered (to
showing e.g. only "Light" or only "Dark" themes) then the project being
created was configured with the wrong style. The problem was that the
index of the style was not "translated" from the filtered list to
normal list. This should have caused problems when saving the preset as
well, if the "Styles" section was filtered (to white/dark).
Task-number: QDS-8874
Change-Id: I9422dad3083f9bac3355bd65e1a71332d093271d
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
... again, use the editors themselves, which are singletons.
Change-Id: I8ec7bce58414a23169831956c00bbdd73c6bfec3
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
To make them accessible also if the QmakePluginManager is not loaded.
The translatable strings are kept under "QmakePluginManager" for now.
Change-Id: I208ed7d3c8a003c930bd00501c7f64968b64681a
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This allows to show a menu for the preview zoom from QML.
Change-Id: If42ee78e7d3208cb8e8313a77e0d24a3f5409a47
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
Those members are not used.
Change-Id: I3ff7b88be3084928ec5a2f26763530261337ac45
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
The context menu can hide the toolbar and we do not want this.
Change-Id: I74274458f09af1a4d38b5f3f395dcc3ece5befa0
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
We have to keep track of the index independetly from the widget
and emit emitZoomLevelChanged().
Change-Id: I646fcb1eee10fe502a642b3be75f47888ff814ee
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
Previously FileUtils::copyRecursively did create the target folder,
FilePath::copyRecursively now does the same.
If either src or target are .qrc paths, select the fallback copy
routine, as tar cannot read or write to a .qrc folder
see: 7cb74e325f for report about
failing test in testProject_multipleBuildConfigs
Change-Id: I52bb9ad8f018f359f598e5bc8b18ab31c901496f
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Make more members const for clarity.
Change-Id: Ie2f5451fc578a88b473231348465d40aece6a634
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: hjk <hjk@qt.io>
If Xcode is present, we want its toolchain in the default kit, rather
than a generic compiler from /usr/bin.
Change-Id: If5d1dc02b6abcfff580162a19f07706d58681b7e
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Fix click outside of TopLevelComboBox closing the popup.
Change-Id: I936e667a2a6f51e29b17933a6819c80f48c734de
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This should be a temporary solution. Read settings
at two different code locations is error prone.
Idea is to introduce a general QmlDesignerUtilsLib which can handle that.
Change-Id: Ic670d2c63f134ba8f1b1455d000b7c2f372b1d61
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Marco Bubke <marco.bubke@qt.io>