The delayed deletion of InfoBar items can cause short lived but visible
duplication of InfoBar entries. This change hides the obsoloete items
immediately to prevent that effect.
Fixes: QTCREATORBUG-29877
Change-Id: I6ed428185849f22f8d87f68cf1a5fac610e9dddf
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Since it is now possible to load some plugins during runtime,
registering MIME types during runtime is valid.
Change-Id: I08aba2c40934f7b8de85172a46e8a123bd7b4ef0
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
Not worth the file pair.
Also modernize MacroManager a bit.
Change-Id: I88f6add3147390e3900beebacc4a3f5255eac7ea
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
We block reflection, therefore the model has to be
explicitly reset. Blocking reflection also in propertiesRemoved.
Change-Id: I0de1172c0b066fa71494c7b07331fa19f7fa502c
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
This needs not be stored somewhere but does its work latest
at destruction automatically.
Change-Id: If929f5a5ccc15b085f110d8d9db8f72ff2a5fac5
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: hjk <hjk@qt.io>
Add a button that can be used to collapse a dock widget's contents
temporarily, as an alternative to removing and re-adding it.
To achieve that, remove the inner widget of the dock widget and store it
in an inner pointer. Just setting the inner widget invisible/visible
does not work, because the title widget of a dock widget with invisible
inner widget becomes 0 for some reason. We also need to add a dummy
widget with a maximum height, to make the dock widget resize and not be
resizable afterwards.
Do not allow collapsing if the dock is the only one in the area, in a
horizontal layout, floating, or tabbed.
Change-Id: Ibc1acb59d58069f08184e65c4814642acb0028ee
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
We don't really use any of the additional functionality.
Change-Id: I5fd7b7c9ce5dac457179f1fe8dcfbf3d3395cc93
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Use styled bar and set size to the "single row tool bar" size, which
makes it fit better with the rest of the layout/UI.
For example there is no "black-white-black" bars in the analyzer views
with timelines like QML Profiler, or in the Compiler Explorer. Also the
top bar(s) are nicely aligned e.g. in the default debugger layout when
the debugger is running.
Also switch to custom buttons.
Change-Id: I52f95e3fbb32718b131fde39d75a20105fb0304a
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
Still it's not perfect, as it seems the order is like:
"Qt Quick", "Środowisko", "System kontroli wersji",
while the proper one should be:
"Qt Quick", "System kontroli wersji", "Środowisko",
but that's still better than before, when
"Środowisko" was after the letter "Z".
Change-Id: Ib1642f54ed57f798a614f1f3a2d805fb1fdaf1bc
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Users tend to select QtMCUs kits when opening a QtMCUs project in Design
Studio this leads to a crash on some of them because of incompatible or
broken kit configurations (but not QtMCUs desktop kits)
This patch will prevent the crash by preventing the use of QtMCUs kit
and issues a warning about it.
Fixes: QDS-10143
Change-Id: I54acd7b3f1439492bc37979028a1c2d4548da4cf
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
... and add the necessary Action::setMenuRole()
Change-Id: I2bb309ae115c1e015ff848e0712327360ead23cd
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Also effects are now can be dragged in the form editor
Task-number: QDS-10500
Change-Id: I5a701b8077231bcbb299c0c4f1cbf2f5173a14dd
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
- Fix add definition for templated function in templated
class
- Fix "inline" placement for templated function
Fixes: QTCREATORBUG-29408
Change-Id: I15f7793c9ae1e49d8338c1120135ddd1afbca4ca
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This reverts commit 05e7308c08.
Currently kit cloning crashes, and the trivial fix loses re-foucssing
on the newly cloned kit.
Change-Id: Id34d4430f97ab5825d5203096fbd1551464f80cb
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Add QML Window based popover to StudioControls
* Add color editor to StudioControls
* Move color editor modules to StudioControls
* Move IconIndicator to StudioControls
* Move ToolTipArea to StudioControls
* Add color backend to qmldesignerbase to allow control value binding
* Use popover in connections editor
* Add window manager to send focus changes to QML Windows
* Update ColorEditor UX
* Remove HelperWindow workaround for GradientPresetList (Qt 5 vs 6)
* Fix eye dropper for QWindow
Task-number: QDS-10926
Change-Id: Ia87b30543affde88faaef2ebdf120cb5d348c935
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
In some cases the data needs to be forwarded to the command's action.
Change-Id: I3ae066cbac393d78808d697beb3df29cbdee3315
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Using the indenter yields unepected results in certain contexts.
Fixes: QTCREATORBUG-29786
Change-Id: Id15eff841d2aa54e7fff65c6bf728516e03f9fc6
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
The other debuggers do not cause the view to jump to the current frame
when adding a watch. Make the Qml debugger also not do this.
This is done in a slightly hacky way by preventing the gotoLocation of
the next handleFrame call to be executed. Ideally, the logic to
retrieve the value of locals should be separated from the logic to jump
to a specific frame. Right now the jump is implicit when updating the
locals.
Fixes: QTCREATORBUG-29329
Change-Id: I4b8f5c99ae41c92c3394f86da481303d4765f897
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
In normal interactive mode, users likely want fuzzy look-up, e.g. to a
non-matching overload if no exact match is present.
Fixes: QTCREATORBUG-29814
Change-Id: I55ca32c001e619d374cc015a7dd2f1564ed2a2c9
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: David Schulz <david.schulz@qt.io>