Commit Graph

80529 Commits

Author SHA1 Message Date
Alessandro Portale
c0234c0be5 ImageViewer: Merge orphaned .ts context into "::ImageViewer"
Following orphaned context is merged into ::ImageViewer

  Imageviewer

Change-Id: I0acb9c9d172210bc955c200603ae86877500a652
Reviewed-by: hjk <hjk@qt.io>
2023-02-06 22:42:50 +00:00
Alessandro Portale
5dfa6c003a Help: Merge orphaned .ts contexts into "::Help"
Following orphaned contexts are merged into ::Help

  ContentWindow
  DocSettingsPage
  GeneralSettingsPage
  IndexWindow
  TopicChooser

Change-Id: Ibe1ed8f5c3f96bd8ef910c08223c3dba5eac6a6b
Reviewed-by: hjk <hjk@qt.io>
2023-02-06 22:42:44 +00:00
Alessandro Portale
5246c59686 Debugger: Merge orphaned .ts contexts into "::Debugger"
Following orphaned contexts are merged into ::Debugger

  AnalyzerManager
  AttachCoreDialog
  BreakCondition
  BreakHandler
  Debuggger::Internal::ModulesHandler
  GdbOptionsPage
  InputPane
  QmlEngine
  StartExternalDialog
  StartRemoteDialog
  StartRemoteEngineDialog

Change-Id: Iea0dc5e7cb1fd26042330f1988dbbd7f465528c7
Reviewed-by: hjk <hjk@qt.io>
2023-02-06 22:42:37 +00:00
Alessandro Portale
7cfbe9475e CVS: Merge orgphaned .ts context into "::CVS"
Following orphaned context is merged into ::CVS

  Cvs

Change-Id: I9a67e3bfcb23b79d1b22f8e6efb07317fa55b896
Reviewed-by: hjk <hjk@qt.io>
2023-02-06 22:42:30 +00:00
Alessandro Portale
98706a558f CppEditor: Merge orphaned .ts contexts into "::CppEditor"
Following orphaned contexts are merged into ::CppEditor

  CheckUndefinedSymbols
  QuickFixFactory

Change-Id: Ib3d736bd5653032eb7e65a757d9fb3db6b516e7b
Reviewed-by: hjk <hjk@qt.io>
2023-02-06 22:42:23 +00:00
Alessandro Portale
110c4135a6 Core: Merge orphaned .ts contexts into "::Core"
Following orphaned contexts are merged into ::Core

  CommandMappings
  EditorManager
  ExampleDelegate
  ExternalTool
  Find::FindPlugin
  Find::IFindFilter
  Find::Internal::FindDialog
  Find::Internal::FindPlugin
  Find::Internal::FindToolBar
  Find::Internal::FindWidget
  Find::Internal::SearchResultWidget
  Find::SearchResultWindow
  MimeTypeMagicDialog
  MimeTypeSettingsPage
  OpenWithDialog
  PluginDialog
  SaveItemsDialog
  ShortcutSettings

Change-Id: I8c318bf116b28b7ab29271fdcce7fc85e58207d1
Reviewed-by: hjk <hjk@qt.io>
2023-02-06 22:42:18 +00:00
Alessandro Portale
135eab2237 CodePaster: Merge orphaned .ts contexts into "::CodePaster"
Following orphaned contexts are merged into ::CodePaster

  PasteBinComSettingsWidget
  PasteBinDotComProtocol
  PasteBinDotComSettings
  PasteView

Change-Id: Ia8d41d034f7d1c8260c0ed39d0f2bffb4b480287
Reviewed-by: hjk <hjk@qt.io>
2023-02-06 22:42:11 +00:00
Alessandro Portale
c10a937719 ClangCodeModel: Merge orphaned .ts contexts into "::ClangCodeModel"
Following orphaned contexts are merged into ::ClangCodeModel

  ClangDiagnosticConfig
  ClangUtils

Change-Id: I6a8ba32af01e22f4238bfec4f07e8d14af265a4a
Reviewed-by: hjk <hjk@qt.io>
2023-02-06 22:41:13 +00:00
Alessandro Portale
732dee43ff CMakePM: Merge orphaned .ts contexts into "::CMakeProjectManager"
Following orphaned contexts are merged into ::CMakeProjectManager

  CMakeBuildConfigurationFactory
  CMakeFilesProjectNode
  CMakeTargetNode

Change-Id: I25d2c97f8316eafdf28261373031feec6b3913d0
Reviewed-by: hjk <hjk@qt.io>
2023-02-06 22:41:08 +00:00
Alessandro Portale
f7c268c23d AutoTest: Merge orphaned .ts contexts into "::Autotest"
Following orphaned contexts are merged into ::Autotest

  AutoTest
  BoostTestFramework
  BoostTestTreeItem
  CTestTool
  CatchFramework
  CatchTestFramework
  CatchTreeItem
  GTestFramework
  GTestTreeItem
  QtTestFramework
  QtTestTreeItem
  QuickTestFramework
  QuickTestTreeItem
  RunConfigSelector
  TestTreeItem

Change-Id: Icf5b31a08f76a76ed7c91eba670d1a5a25974906
Reviewed-by: hjk <hjk@qt.io>
2023-02-06 22:41:02 +00:00
Thomas Hartmann
e7803a20d7 QmlDesigner: Properly initialize member
m_qmlPuppetPath was not initialized

Change-Id: I80f4b17888373db64f40790d9e80d8fd30ae805e
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2023-02-06 17:12:31 +00:00
Jarek Kobus
930312546d ClangFormatPlugin: Don't leak ClangFormatStyleFactory
Detected by memory analyzer.
Remove unneeded includes.

Change-Id: I270b8a6f1d98fc25297b1f69e899551399437cf0
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2023-02-06 14:52:58 +00:00
Henning Gruendl
79586bc1a4 QmlDesigner: Add flag to non creator themes
Add missing QDSTheme flag to non creator theme to avoid soft assert
while parsing the theme file.

Change-Id: I105d6b91046ea97bda212e506c8358890f2cee12
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2023-02-06 14:03:10 +00:00
Miikka Heikkinen
e534c3224d QmlDesigner: Fix Qt version check in Assets view
The order of arguments in modelIndex call is only swapped for Qt 6.4.

Fixes: QDS-9044
Change-Id: I826ef8136d4669796645e8bbeed5ff53bb77275e
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2023-02-06 13:51:23 +00:00
Jarek Kobus
10295fc0fa PublicKeyDeploymentDialog: Reuse new StringUtils methods
Change-Id: I7f207a158b8a22ab94327d6c43b4c898b31cf646
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-02-06 11:52:25 +00:00
Pranta Dastider
6016ef8bd8 QmlDesigner: Update Tooltips for Rectangle Section
This patch update tooltip text for Rectangle fields
in Property editor.

Fixes: QDS-9002
Change-Id: I23a9456bb7f4555b42d6a0b6fb5ea8f2d7ddb2cb
Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-02-06 11:48:37 +00:00
Pranta Dastider
e68807bd0b QmlDesigner: Update Tooltips for TextInput Section
This patch update tooltip text for TextInput fields
in Property editor.

Fixes: QDS-9003
Change-Id: I9a1b4a63895222d6fb87016b53c9a4d4cbba4541
Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-02-06 11:46:16 +00:00
Thomas Hartmann
27dc19aeb3 QmlDesigner: Implement kit changing in status bar
Task-number: QDS-8975
Change-Id: Ie28585b76697f785bea2d5bb3360a6949c9c55d8
Reviewed-by: Brook Cronin <brook.cronin@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-02-06 11:19:47 +00:00
Leena Miettinen
738819ec71 Doc: Replace "provide" with something simpler
This follows the ComplexWords rule in vale.

Change-Id: I99d8e5dc3ee4736a254064b6ef00166419fccee8
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
2023-02-06 11:09:29 +00:00
Jarek Kobus
33badfa660 PathChooser: Don't leak menu
Found by memory analyzer.

Amends b3f82887a3

Change-Id: I580ab0873f5c3556445a87d9fc2c806eeb48c57e
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2023-02-06 10:51:44 +00:00
Jarek Kobus
a423caba13 ClangFormatBaseIndenter: Initialize llvmFileSystemAdapter
Otherwise memory analyzer reports use of uninitialized value.

Amends eeeb5f0aad

Change-Id: Ic0cb0a40062a82caef73987109e8970fc57f93b6
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-02-06 10:25:51 +00:00
Pranta Dastider
f6b2e3ce29 QmlDesigner: Update Tooltips for Inset Section
This patch update tooltip text for Inset fields
in Property editor.

Fixes: QDS-8999
Change-Id: I58b996f8d4779683054b9bc2598b8b49a516994f
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-02-06 10:06:45 +00:00
Pranta Dastider
411d5087ee QmlDesigner: Update Tooltips for Mouse Area Section
This patch update tooltip text for Mouse Area Section fields
in Property editor.

Fixes: QDS-9000
Change-Id: Ia48517504646e0fb16ed256e3b4bee722c03ef48
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-02-06 10:05:37 +00:00
Pranta Dastider
614dd40507 QmlDesigner: Update Tooltips for FlickableGeometry Section
This patch update tooltip text for FlickableGeometry fields
in Property editor.

Fixes: QDS-8931
Change-Id: I0e31f56a664b0bd2f20dacbb461fc4af3b59f2d8
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-02-06 10:04:20 +00:00
Eike Ziller
dc5d416937 Merge remote-tracking branch 'origin/10.0'
Change-Id: I40658d2a1166733c508a348d6df8034f2df1be0a
2023-02-06 10:39:08 +01:00
Eike Ziller
d278135497 Merge remote-tracking branch 'origin/9.0' into 10.0
Change-Id: I8d73198561f6ff7877d580681ca2a0018b7dc3b1
2023-02-06 10:14:18 +01:00
Miikka Heikkinen
0c0e7f1fe1 QmlDesigner: Insert added dynamic properties to correct position
Dynamic properties were sorted on initial open, but newly added
properties were just appended.

Fixes: QDS-9019
Change-Id: I20a47e3f3554274c794ee2cdea8b8c925c1c57fd
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-02-06 09:05:09 +00:00
Jarek Kobus
23309b5977 TestCodeParser: Reuse TaskTree
Change-Id: Idf42f2c732151d32d70db9d2344bb18664119857
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-02-06 06:53:24 +00:00
Christian Stenger
82d2f02c3f DiffEditor: Fix compile
Amends bf64af6f52.

Change-Id: I68cae9b6444156c9d4be3f54d09c3abd415fae91
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2023-02-06 05:51:25 +00:00
Christian Stenger
37a86061d8 CMakePM: Adapt to change in FilePath
Silences some soft asserts.

Change-Id: I4e39b66983552d85650062a3e8748e91936e8174
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2023-02-06 05:25:54 +00:00
Thomas Hartmann
7d421833d7 QmlDesigner: Add trace points for top toolbar
Change-Id: I0a8c2f1497ac5e6d1c299b524ad80e1932ef2143
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-02-05 18:50:56 +00:00
Jarek Kobus
77616b8086 DiffUtils: Get rid of PatchFormattingFlags
Get rid of PatchFormattingFlags argument inside
DiffUtils::makePatch(), as there is the only caller of this
method. Internally, behave like the GitFormat flag was passed.

As all callers to sideFileName() were always passing
AddLevel (GitFormat flag contained AddLevel), the flag is
not needed anymore.

Change-Id: I1993cfd7212f5f60a5bdb2c9e1e4317c3ecd91d7
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2023-02-05 17:17:09 +00:00
Jarek Kobus
d829d9ff33 StringUtils: Add trimFront(), trimBack() and trim() methods
Change-Id: I900c30111c79bee548c4861b082d7b035a5dc43d
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2023-02-05 17:17:00 +00:00
Brook Cronin
a82991acf9 QmlDesigner: Apply theming to Crumble Bread
Change-Id: Ia81c3a3c224dcea531d3d90d1e0ef787e1d62179
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-02-03 19:26:02 +00:00
Ali Kianian
b9efddce4f QmlDesigner: Fix the hover state for the icon of "Toggle Group"
- The icon of "Toggle Group" is replaced by an iconFont.
- The icon of "Reset View" is replaced by the same iconFont.

Task-number: QDS-8970
Change-Id: Id1c15b1733a2366da3769d6be7b89d9cb01b7807
Reviewed-by: Brook Cronin <brook.cronin@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-02-03 18:46:33 +00:00
Henning Gruendl
4e8e18f103 QmlDesigner: Fix form editor margins
Change-Id: I3ab1966885f43b1aafb835f44f743119ce7baf02
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-02-03 18:41:54 +00:00
Ali Kianian
e5a930d2ca QmlDesigner: Apply the icon for imported models in the 3D context menu
Task-number: QDS-8970
Change-Id: I7078aaf12cecf19e5ddfcd77266b9d750889d933
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-02-03 16:27:44 +00:00
Ali Kianian
76a221633b QmlDesigner: Make separators of the context menu collapsible
A default icon makes separators particular. So the default icon has
been removed for SeparatorDesignerAction.

Task-number: QDS-8987
Change-Id: Icdaf67e9432e6767642b5a1491881e3305a57c0f
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-02-03 16:27:06 +00:00
Ali Kianian
8b08306330 QmlDesigner: Apply new design for 3D Context Menu
- 3D Context is a QmlEditorMenu
- Icons are visible for 3D context menu
- New icons are added

Task-number: QDS-8970
Change-Id: Iee8dee59bec2c27bc667a1bdb69c64d88841ad36
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Brook Cronin <brook.cronin@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2023-02-03 16:26:30 +00:00
Jarek Kobus
ebcd8bcd51 DiffEditor: Simplify DiffEditorDocument::plainText()
Change-Id: If7c1ab43f099bbbc573ba354668c56fee0eb55a5
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2023-02-03 15:31:58 +00:00
Jarek Kobus
bf64af6f52 DiffUtils: Simplify file name formatting
Change-Id: I11857af58fe50dae7449a763663a8a3ba123d239
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-02-03 15:31:47 +00:00
Jarek Kobus
202b696677 DiffEditor: Fix a crash when "No difference"
It may happen that async task associated with diffing one pair
of files may not report any value. This happens when both
file contents are the same. In this case taking a result from
async task on a successful done will lead to crash.

Add AsyncTask::isResultAvailable() method. Use it in client code
just in case, where needed.

Fix DiffFilesController, so that no result is allowed for all
running tasks (i.e. make the main group optional).
Collect list of optional results instead of direct results.
The empty optional on the list means the result wasn't delivered
by async task and it's skipped.

Fixes: QTCREATORBUG-28750
Change-Id: I4ca678a187fad619bae470da3e806e8c8da61127
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2023-02-03 15:31:25 +00:00
Leena Miettinen
ce0f48e0f9 Doc: Replace "contain" with "have" to simplify language
This follows the ComplexWords rule in vale.

Change-Id: Ie5dbb7ac1eff1546dcfbe2bf5da6cc3ed18b7a20
Reviewed-by: Andreas Eliasson <andreas.eliasson@qt.io>
2023-02-03 15:06:17 +00:00
Christian Stenger
dd3f5d3a6a SquishTests: Fix designer test
Children inside the object inspector are sorted
lexicographically nowadays.

Change-Id: I2f704e3a3cca526246babb2b12d48fe359eb6e6b
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
2023-02-03 14:26:25 +00:00
Christian Kandeler
e771560ec7 ClangCodeModel: Do not traverse the AST in the semantic highlighter
... with clangd >= 17. We do not need to look at AST nodes anymore;
everything comes from the server.

Change-Id: I46eb91f26515e31b752020edbc32f1b23c1d79c7
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: David Schulz <david.schulz@qt.io>
2023-02-03 14:07:56 +00:00
Henning Gruendl
f76c009a89 QmlDesigner: Fix ComboBox popup offset
Change-Id: I44fff85f231695250e530daf2e6474055d4acf3d
Reviewed-by: Brook Cronin <brook.cronin@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-02-03 14:00:45 +00:00
Alessandro Portale
801709f72e ProjectExplorer: Show recent projects with native paths
The paths in the "Recent Projects" menu, in the recent projects list on
the welcome screen and those in the sessions list on the welcome screen
were shown with non-natice directory separators on Windows.

This fixes it for project FilePaths with osType() == OsTypeWindows

Change-Id: I26afd56a82e32992f04bb3f2f1e2c1e767208ce5
Reviewed-by: David Schulz <david.schulz@qt.io>
2023-02-03 13:41:53 +00:00
Thomas Hartmann
65710ae2f8 QmlDesigner: Do not set transient window on Windows
This crashes in complicated ways.

Task-number: QDS-9031
Change-Id: I7d70c6f58152918db2e6038b40435133e814e453
Reviewed-by: Burak Hancerli <burak.hancerli@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-02-03 13:18:51 +00:00
Brook Cronin
27f431bc6e QmlDesigner: Apply style to toolbars
Change-Id: I9e25b999f2c0830e28bd36db9efda3246f9bd324
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-02-03 12:14:46 +00:00
Brook Cronin
a53af31b6c QmlDesigner: Apply style to studio controls
Change-Id: I7881b614e6687dbaec2bbeab9851000ad492ba1a
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-02-03 12:14:39 +00:00