Commit Graph

7857 Commits

Author SHA1 Message Date
Pranta Dastider
ec625a3750 QmlDesigner: Update Tooltips for GRID VIEW Section
This patch update tooltip text for GRID VIEW fields
in Property editor.

Fixes: QDS-9062
Change-Id: I27d42af166a44480a44c0db0c28d51a64a625e12
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-13 13:56:59 +00:00
Pranta Dastider
8947404074 QmlDesigner: Update Tooltips for GRID Section
This patch update tooltip text for GRID section fields
in Property editor.

Fixes: QDS-9067
Change-Id: I0e41d4c668cc141aceeb8565665be012edb9c984
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-13 13:56:57 +00:00
Brook Cronin
9e3490c1ba QmlDesigner: Add toolbar to Asset Library
* Align delegate thumbnail properly
* Make selection rectangle completely visible
* Remove tree view indentation rectangle
* Use predefined font sizes
* Code cleanup

Change-Id: Id2ffd0d4a70a3922c3ddcdddd1e88352ce90dba6
Reviewed-by: Brook Cronin <brook.cronin@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-02-13 13:26:34 +00:00
Brook Cronin
28bb9d7d72 QmlDesigner: Add toolbar to content library
Change-Id: I28045fdd0346ad08d9636c25c3942a3facaf00fe
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
2023-02-13 10:50:18 +00:00
Brook Cronin
ae521b5394 QmlDesigner: fix blocked color for toolbar icons
Change-Id: I44a3f66f57b92cefbe14c8014dd7e85a1af707f6
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
2023-02-13 09:36:37 +00:00
Alessandro Portale
9f2f2f3390 Translations: Change translation context prefix from "::" to "QtC::"
lupdate would be confused by translation contexts starting with ::

Change-Id: Ie95e73436fd3cafc80a8e89f908efadc747e644c
Reviewed-by: hjk <hjk@qt.io>
2023-02-10 16:27:55 +00:00
Alessandro Portale
14280acfd9 Translations: Merge orphaned contexts
Following orphaned contexts are merged into ::Debugger

  QtDumperHelper
  Analyzer

Following orphaned contexts are merged into ::Git

  Gerrit::Internal::GerritDialog
  Gerrit::Internal::GerritPushDialog

Following orphaned contexts are merged into ::QmlJSTools

  QmlJSTools::QmlJSToolsSettings

Following orphaned contexts are merged into ::Android

  QWidget

Change-Id: I5263104b96520e2b7701366962d6f63b9b595f68
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-02-10 16:27:26 +00:00
Alessandro Portale
ba34f00e1e ModelEditor: Tr::tr()
Following orphaned contexts are merged into ::ModelEditor

  ModelEditor::Internal::ActionHandler
  ModelEditor::Internal::ElementTasks
  ModelEditor::Internal::ExtPropertiesMView
  ModelEditor::Internal::FileWizardFactory
  ModelEditor::Internal::ModelDocument
  ModelEditor::Internal::ModelEditor
  ModelEditor::Internal::ModelsManager
  ModelEditor::Internal::PxNodeController
  Modeling

Change-Id: Ib602b91af7a4b8d8f886e587e6988338b1e841e8
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-02-10 16:27:03 +00:00
Alessandro Portale
3c6b8b08df ModelingLib: Tr::tr()
Following orphaned contexts are merged into ::qmt

  qmt::ClassItem
  qmt::DiagramController
  qmt::DiagramSceneController
  qmt::DocumentController
  qmt::Exception
  qmt::FileCreationException
  qmt::FileNotFoundException
  qmt::FileReadError
  qmt::FileWriteError
  qmt::IllegalXmlFile
  qmt::ModelController
  qmt::ModelTreeView
  qmt::NullPointerException
  qmt::ObjectItem
  qmt::ProjectController
  qmt::PropertiesView::MView
  qmt::TreeModel
  qmt::UnknownFileVersion
  qmt::V

Change-Id: Iaf98c2bfc654452d44f6bed155be6ddfe7556b19
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-02-10 16:26:57 +00:00
Alessandro Portale
fe91151f7c Valgrind: Tr::tr()
Change-Id: I4156aa23755ad28ca6fbc3ff5ce6d5b6a6d7fc95
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-02-10 16:26:51 +00:00
Pranta Dastider
caa3c23e99 QmlDesigner: Update Tooltips for LIST VIEW Section
This patch update tooltip text for LIST VIEW fields
in Property editor.

Fixes: QDS-9063
Change-Id: Iae81ba218cfc4c07e6a0023bd6a8dcc7cc35caa2
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Brook Cronin <brook.cronin@qt.io>
Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-02-10 15:58:17 +00:00
Christian Stenger
ab4516c85c Pdb: Make another builtins usage implicit
Amends f6afedeea6.

Change-Id: Idc0ffb9f0c24515475334a847382fc84c5c03e2e
Reviewed-by: hjk <hjk@qt.io>
2023-02-10 15:31:03 +00:00
Pranta Dastider
e9b1491a17 QmlDesigner: Update Tooltips for CheckBox Section
This patch update tooltip text for CheckBox section field
in Property editor.

Fixes: QDS-9070
Change-Id: Ife011ea0279af4db2d9e7fdfb882e98bdcee3269
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-10 15:14:48 +00:00
Pranta Dastider
f6eeb150a1 QmlDesigner: Update Tooltips for Busy Indicator Section
This patch update tooltip text for Busy Indicator section field
in Property editor.

Fixes: QDS-9069
Change-Id: Ia542605acdfedcff191befb81b80fdf2a86d7343
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io>
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
2023-02-10 15:14:41 +00:00
Brook Cronin
b06f3679c2 QMlDesigner: Add toolbar to component view
Change-Id: Ief79152813e6afec70208633b38bce20254e7105
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2023-02-10 15:12:57 +00:00
Alessandro Portale
2b46d1943c QmlPreview: Tr::tr()
Change-Id: Ie80134c114da277ab16e4305c57ae35e37adafb2
Reviewed-by: hjk <hjk@qt.io>
2023-02-10 15:11:22 +00:00
Pranta Dastider
26c3fe0428 QmlDesigner: Update Tooltips for DelayButton Section
This patch update tooltip text for DelayButton section field
in Property editor.

Fixes: QDS-9071
Change-Id: Iade7261f3552b77542807939804a98f2becbdb07
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-02-10 15:07:34 +00:00
Pranta Dastider
5a180618e2 QmlDesigner: Update Tooltips for ROW Section
This patch update tooltip text for ROW section fields
in Property editor.

Fixes: QDS-9068
Change-Id: Id77faf6745cf03860a24d8c612b6c5ef37a0850d
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-10 15:07:28 +00:00
Pranta Dastider
62753043d5 QmlDesigner: Update Tooltips for PATH VIEW Section
This patch update tooltip text for PATH VIEW fields
in Property editor.

Fixes: QDS-9064
Change-Id: Iad52494dfbbdc3554131d24ab679a3c21f96737a
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-10 15:07:22 +00:00
Pranta Dastider
95b8fa39d2 QmlDesigner: Update Tooltips for COLUMN Section
This patch update tooltip text for COLUMN fields
in Property editor.

Fixes: QDS-9065
Change-Id: Iabd573d727cb983970fe50415b912da0e219db84
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-02-10 15:07:15 +00:00
Brook Cronin
9799e9588a QmlDesigner: Add toolbar to material browser
Change-Id: I7be59839c8260b6b66127ca2e0708f5a804ee94f
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2023-02-10 15:04:36 +00:00
Alessandro Portale
4f55dbdd38 CompilationDatabaseProjectManager: Tr::tr()
Change-Id: I5a4b05ce3eab90cfe05c297fa3971f94270ec474
Reviewed-by: hjk <hjk@qt.io>
2023-02-10 15:03:32 +00:00
Miikka Heikkinen
8237236b1b QmlDesigner: Treat enter key as doubleclick in material browser
Open and/or focus material or texture editor on enter key press on
material browser.

Fixes: QDS-9106
Change-Id: I55bd6143c3285f2fbcfa093063e84747b96590c9
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2023-02-10 14:11:15 +00:00
Miikka Heikkinen
ce69374170 QmlDesigner: Fix keyboard navigation in material browser
Keyboard navigation now accounts for collapsed sections and
items hidden with search filter. Also, navigation is suppressed
while search box has focus.

Fixes: QDS-9108
Change-Id: I9fb555803cd72fb3550d5e30e20c62a40f845ef3
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2023-02-10 13:43:22 +00:00
Brook Cronin
fd139a4fa1 QmlDesigner: Fix small style mistakes
Change-Id: I9a75a99276e7f0d2883d45461adf6084c5781663
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-02-10 12:59:22 +00:00
Brook Cronin
590e0de9c5 QmlDesigner: Apply new toolbars to material and texture editors
Change-Id: I0dc0f894f70abc94a4670afd35871595030f7fed
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2023-02-10 12:40:15 +00:00
Christian Stenger
f6afedeea6 Debugger: Do not crash when using a builtin as value
Explicitly use str(), type() and similar from builtins
to avoid confusing the the debugger when these builtin
functions are overwritten by the script which is going
to get debugged.

Fixes: QTCREATORBUG-28733
Change-Id: I6b7bd1d7474972d0533d12a1bc45bb59db7f39b5
Reviewed-by: hjk <hjk@qt.io>
2023-02-10 12:35:26 +00:00
Thomas Hartmann
db3ff0c207 QmlDesigner: Allow settings and swtiching kits in edit mode
If kits are broken, then users can end up in the edit mode.
We should allow changing kits and settings here.

Change-Id: Ic6410942c3b0c1d9e7c04989efab57d7690c0694
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
2023-02-10 11:42:52 +00:00
Brook Cronin
b35d02f0d9 QmlDesigner: Minor style adjustments
Change-Id: Ieafb8c16aed985847ed1dd66a8ace05c955601d6
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
2023-02-10 08:47:14 +00:00
Brook Cronin
c2af166e2a QmlDesigner: fix state controls highlight and selection
Change-Id: I4101c6cd2d9028579bdae3710f36e6a3e254b53d
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
2023-02-10 08:46:38 +00:00
Ali Kianian
1a30062c8a QmlDesigner: Fix escape action for creating new asset items dialog
* Pressing Esc on "New Folder" dialog closes the dialog.
* Pressing Esc on "New Effect" dialog closes the dialog.

Task-number: QDS-8782
Change-Id: Ie9ddc68681716789c678f581a6770931971a3278
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2023-02-09 19:06:06 +00:00
Brook Cronin
7c18c7b23b QmlDesigner: Update styles for searchable toolbars
Change-Id: I42eefd91424be8485da1207ea0211cd079ea8593
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
2023-02-09 16:53:25 +00:00
Henning Gruendl
de73d121ba QmlDesigner: Make top tool bar responsive
Change-Id: I986f65f7584a96512293e918b2b53de95998d0ee
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-02-09 16:50:08 +00:00
Henning Gruendl
b1c3627b49 QmlDesigner: Use ListView in TopLevelComboBox
Change-Id: Id6075213455248bbb0317ac7664faa1f24b85476
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-02-09 16:41:02 +00:00
Thomas Hartmann
4d67db6cfe QmlDesigner: Fix for toolbar
Task-number: QDS-9042, QDS-9040, QDS-9034, QDS-8956
Change-Id: I0639bbfdaa7475a277cbb247c7d85bf5b078a5aa
Reviewed-by: Pranta Ghosh Dastider <pranta.dastider@qt.io>
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
2023-02-09 15:27:25 +00:00
Alessandro Portale
7cb309a2db Coco: Tr::tr()
Change-Id: I130fbc62eb839548a7667aace8287be3e6ef6254
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-02-08 14:22:54 +00:00
Alessandro Portale
dbf017c11e Marketplace: Tr::tr()
Change-Id: Idbba28fd3057d634b5c5fb56f405c33d13d35332
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-02-08 13:12:26 +00:00
Alessandro Portale
74bf8fd5f7 GitLab: Tr::tr()
Change-Id: I1f51fbada9d18b6e6e2dae90801de472b3e086d7
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-02-08 13:12:18 +00:00
Fabian Kosmale
49561eaeb8 qtquickapplication wizard: Adapt to CMake API change
During API review, it was decided (and implemented) that REQUIRES is the
better/more descriptive keyword than MIN_VERSION.

Change Creator's wizard accordingly.

Change-Id: I831cdc956204b1e379c3815104698d3f881abf6c
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2023-02-08 11:58:22 +00:00
Alessandro Portale
389b9503d7 ClangFormat: Tr::tr()
Change-Id: Iabbe39bfdd3ae24d65610a00d792e16591a1b6ee
Reviewed-by: hjk <hjk@qt.io>
2023-02-08 11:09:12 +00:00
Brook Cronin
8127f9d2d5 QmlDesigner: Add medium size 3d primatives to icon font
Change-Id: Ia421e47a3b98e2d83a1bdb0b529f22ec93dc4dce
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-02-07 15:52:26 +00:00
Mahmoud Badri
23c6698b15 QmlDesigner: Add "Show in explorer" option to assets context menu
Fixes: QDS-9061
Change-Id: Id91336819f6836a98c8fd34562c0f8672c11a288
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2023-02-07 15:37:31 +00:00
Thomas Hartmann
830ea50334 QmlDesigner: Add basic install command to application template
Task-number: QDS-9047
Change-Id: I6bf0c3cf68148eeef3b8debd942180e05fd2d1a5
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2023-02-07 15:35:08 +00:00
Pranta Dastider
21649188ca QmlDesigner: Fix the user feedback dialog
This patch changes the user feedback dialog box.
It update messages.

Fixes: QDS-8870
Change-Id: I16b98f1cec1c7cd2c84172bb39d2ede2d4f966e2
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io>
2023-02-07 14:12:04 +00:00
Mahmoud Badri
435dfda150 QmlDesigner: Fix assets view wrong scrolling after drag-n-drop
Change-Id: I3904beb63441d1cf9a0d577fc6c96bbecc8e2ebf
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2023-02-07 13:34:49 +00:00
Mahmoud Badri
6291ee4e79 QmlDesigner: Fix Components lib wrong scrolling after drag-n-drop
Change-Id: Ibd3f3c155496443eac0accf468280a15cad51351
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2023-02-07 12:52:38 +00:00
Thomas Hartmann
e151db2796 QmlDesigner: Bump QDS version in template
Change-Id: I5f50c3ab85f5439ae7c43bf0149ce1cfa0a1ab39
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-02-07 12:18:55 +00:00
Mahmoud Badri
ce1092ea50 QmlDesigner: Fix content library autoscrolls after drag-n-drop
Fixes: QDS-8711
Change-Id: I1ca399928a299d4917814bf651a8291b981f0f32
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2023-02-07 11:56:26 +00:00
Henning Gruendl
cffd91e012 QmlDesigner: Cleanup status and tool bar
Change-Id: Idccd79ff34591e6beb7f79f3c16285bf7bacbb40
Reviewed-by: Brook Cronin <brook.cronin@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-02-07 10:31:19 +00:00
Mahmoud Badri
cae28d82d3 QmlDesigner: Fix material browser wrong scrolling after drag-n-drop
The actual bug is somewhere deep in the Qml ScrollBar's implementation.
The workaround is to disable the scrollbar while dragging is on.

Fixes: QDS-7849
Change-Id: I9bedd8a8f0947c0e3d1a01e6d6e9962e9826d460
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2023-02-07 09:40:06 +00:00