Latest refactorings resulted in possible different orders
for the tree model as well as for the frameworks inside the
project wide settings.
Fix this by sorting explicitly and iterating over the list.
Change-Id: I9b673770b03732820f0ea4f902f3586abd07d51a
Reviewed-by: hjk <hjk@qt.io>
The condition that's checked now triggered when playing around
with changing the JS expression that creating the default build
directory name.
Change-Id: I221be8cefb6918c10c383c23ee7cde73d3683e40
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
At plugin initialization and along with the creation of a Qt for MCUs
Kit (which currently happens when the user presses "Apply"), these .qch
files get registered:
<Qul_DIR>/docs/quickultralite.qch
<Qul_DIR>/docs/quickultralitecmake.qch
In order not to duplicate the code for retrieving package paths (e.g.
the one for "QtForMCUsSdk") from the settings, some refactoring was
done.
As a result McuSupportOptions::qulDirFromSettings() has been introduced.
It will be also used in further changes.
Task-number: UL-1685
Change-Id: I82e638e129120cdadcf2f4812f467fce34b32ec9
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
With only four items the hash is not really needed.
Change-Id: Ifc858bc6517e4e0ff46b515a74568742897ddb11
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Only follow links under cursor if control was already activated when
pressing the mouse button. This amends
11eea3aae0 which just checks if control is
pressed after releasing the mouse button.
Change-Id: I90d23dd3e5ff63aac7812fad889ad9fb7c052b56
Fixes: QTCREATORBUG-23745
Reviewed-by: Alexis Murzeau <amubtdx@gmail.com>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
We must report back to the codeassist under all circumstances
Change-Id: Ic9519c80fb7c6b7e54419cb6fef610e3d73d23bd
Fixes: QTCREATORBUG-23708
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This ensures the showCentralWidget() call in restorePersistentSettings()
has something to operate on.
Change-Id: I52e676517cad4e7c3c0e7ca80b8756f937c805a0
Fixes: QTCREATORBUG-23755
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
QMessageBox creates dialogs that are not resizable, so extend our own
message box implementation with that feature and use it for the Plugin
install wizard.
Change-Id: I0e8a2d525894f8c2897b1e4d8ab546a856030c57
Reviewed-by: David Schulz <david.schulz@qt.io>
This adds the code to draw connections from and to FlowDecision
and FlowWildcard.
Change-Id: I8f465ac70b92b26ca32eaeb45590e18e7db13693
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This flag indicates that the connections are ignoring the FlowActions
and connect the FlowItems directly.
Change-Id: I84587700e406d03ed9e30c224d93f46d2367034f
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Those items are used to represent wildcards and decisions in flows.
Change-Id: I14e55591c01aeb4105f4d0757a0ea2d00392358a
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This adds support for new auxillary property "joinConnection".
Change-Id: Ibe54bb27e2a2aef219552f60bbdc929ea244b11f
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Add support for
* FlowView.FlowWildcard
* FlowView.FlowDecision
Change-Id: Ib928c37202cb150a8c64c04b0118660ae3296865
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
We should try to find a definition based on the file path first, before
falling back to the MIME type, since MIME types are not extensible. So,
if we find a definition for a MIME type, there could be others, more
suited ones based on the file path.
Fixes: QTCREATORBUG-7906
Change-Id: I9b35efb26d287dd4c975a8944fca9a310c417394
Reviewed-by: David Schulz <david.schulz@qt.io>
When vanilla LLVM/Clang is used the #warning statement
causes actually an error on MSVC.
Change-Id: Id3f36efc1b21d48e52a9c44036b99a5b4d9a0d5c
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Only shortcut sequences that start with a key without modifier do not
work in the editors. If the sequence starts with a shortcut with a
modifier, the following onces can be anything.
Examples are the default split related shortcuts, for example Ctrl+E,2
for split top/bottom.
Change-Id: I05d30926a0fee8815f85558ce1b9a6e2f79dc545
Reviewed-by: David Schulz <david.schulz@qt.io>
If the AuxiliaryData is already set then we should not override it.
When the document is not changed AuxiliaryData is not written to QML.
Therefore the AuxiliaryData might be outdated.
Change-Id: Ife01e119ceb31c5f5ba88f8dae590e95ee6d1508
Reviewed-by: Aleksei German <aleksei.german@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Task-number: QDS-1030
Change-Id: Ie3d1a244a137822848d75b14527a54d451eb0279
Reviewed-by: Aleksei German <aleksei.german@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Add a buildConfiguration method that returns the saved
BuildConfiguration or the active BuildConfiguration if none is
set.
Change-Id: I8af25aa1037f59a0091900bac7eb84fed9e5fbb0
Reviewed-by: hjk <hjk@qt.io>
No reason to do this check all over the application code.
Change-Id: I99f00a115f919bc4c83beb98463d95b2f322644d
Reviewed-by: Aleksei German <aleksei.german@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
We allow such items in the item library now.
Examples are materials, 3dObjects and animations.
Change-Id: I5e5b614c9797e489db8f62e8f287e1dbfe91fc99
Reviewed-by: Aleksei German <aleksei.german@qt.io>
Reviewed-by: Knud Dollereder <knud.dollereder@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
These conditions can happen.
Change-Id: I52e0740ecd0c134d559a0100448622126cabbf0e
Reviewed-by: Knud Dollereder <knud.dollereder@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>