The min-width does not play nicely in all cases.
Change-Id: Ic60d602aee02ea7e924ebed9b43d753665028c3a
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
Qt::SplashScreen prevents the widget from getting any keyboard focus.
Using TextEdit for neutral styling.
Change-Id: I56b9a3ac10d68aebdef4064fed4dd2e31bf82b8e
Reviewed-by: Brook Cronin <brook.cronin@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Do not rebuild the complete list of editors every time anything changes.
Handle the incremental update via the DocumentModel::model() signals
(while ignoring the "<no document>" item at the top).
Fix a bug that DocumentModel sent a dataChanged signal from
disambiguateDisplayNames for an index before the corresponding
rowsInserted signal was sent (by endInsertRows).
Change-Id: If9c02fef94e9c744b859db7a07c8464c4e06a73b
Reviewed-by: Artem Sokolovskii <artem.sokolovskii@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Also refactored Asset class a bit to optimize cases where multiple type
checks are done against same asset by resolving type at constructor
instead of on demand. Pretty much all cases where Asset instance
is needed also require resolving the type, so this makes sense.
Refactored the remaining cases to not create Asset instance
unnecessarily.
Fixes: QDS-9128
Change-Id: If9d518c9dcfcc70962e5d4e9881889c6ac243c97
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
The dmg size for QtDesignStudio can be much bigger
then the default size which is enough for QtCreator.
Change-Id: I2a7cbe01ca05fc32bb3b6b5a82c1670f9703ae50
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Using QtConcurrent API.
Adapt asynctask tests according to new API.
The old API in going to be removed, soon.
Change-Id: I3cf163e9492526f0b49bd162c27e6c55a98ace7a
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
We already had some bugs because warnings were ignored. So we generate
errors now for the qml desinger plugins.
Task-number: QDS-9135
Change-Id: I9276a1b5cdbec554bc33c0c6ed3706817518f39c
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* Add padding on the left to account for close button.
* Set minimum size of 80px for tab
* Use different colors for hover
Change-Id: I87dd98aa939c85278bd2312de50117f1f32fb274
Reviewed-by: Brook Cronin <brook.cronin@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
If an already opened project is opened again we swtich to design
mode instead of edit mode and showing an error message.
Task-number: QDS-9183
Change-Id: I291e32a9824103a8f14f4fd618cc9211408ff2da
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This patch update tooltip text for Scroll View section fields
in Property editor.
Fixes: QDS-9177
Change-Id: I40a0581852fb0bff5f1a5f76d32a757f313eddd3
Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
At this point the textures_bundle is still required, but only because
of the icons of the textures. Also, some changes should be done for the
visuals of the downloading.
Also, did a fix in FileDownloader: In case the URL given does not look
to be an image file, we should cancel the download instead of treating
it as a zip archive--it can be that eg we were redirected to a sign-in
page and we don't want to download the content of the page and save it
as a zip file.
Task-number: QDS-8664
Change-Id: Iec40e540c116030288df76e1922eab56ba323d1e
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
...for different types of annotations individually in the annotation
tooltip popup.
Update the screenshot.
Task-number: QTCREATORBUG-28721
Change-Id: Ic2f010e370109a5ea35aef5d9c8da5b74927f4ef
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
When git blame returns no output, silently avoid creating
annotations instead flooding soft asserts.
This situation can easily happen when navigating to a
header file that is not under version control.
Fixes: QTCREATORBUG-28768
Change-Id: I8d2f443dec98575221995a9016bd2f8442c682cf
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Amends commit d63bfa4a29, and recovers the
actions that were introduced in 15b176e30c
(relates to QTCREATORBUG-18799).
I keep being confused by these Yes/No myself :)
Change-Id: I0429ef9c25231b96bd595a1bfb6808b621db54e5
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: André Hartmann <aha_1980@gmx.de>
When DockWidgetTab or DockWidget is focused, typically user actually
wants to focus the content widget, so we now do that.
Focusing content widget is done asynchronously to avoid complications
from doing another setFocus in middle of setFocus handling.
Fixes: QDS-9104
Change-Id: I569639c2f36f0721aafcdcab3498c875e98993a9
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This makes it easy to share the QQmlEngine between different
QQuickWidgets.
All StudioQuickWidgets share the same engine.
Change-Id: I2b370a45a14fdc143e161e2aca62b45aa0d91da9
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
NodeMetaInfo is always valid since last refactoring.
Task-number: QDS-9188
Change-Id: Idc7e7de9031485b12a0764e0aca3f89d482cdd72
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Also refactors ensuring visibility of selected item as the old way
broke when searching.
Fixes: QDS-9109
Change-Id: I87e45ff04a32e4de0adb7029cdfa47b058fa0f61
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>