Commit Graph

7857 Commits

Author SHA1 Message Date
hjk
c485b24011 Debugger: Save a few cycles in the QPointer dumper
Task-number: QTCREATORBUG-22896
Change-Id: If91e2b8a0869052ae07eb4c9f0df015874a5f992
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2019-09-12 15:27:42 +00:00
Christian Stenger
90189ec3d1 AutoTest: Wizard: Soften condition for gtest repository
Make the need for the googletest repository optional. The user
may have gtest installed inside the system instead.

Change-Id: I4959878fa893d6b8ed53fd612934d7cd4504a6b7
Reviewed-by: David Schulz <david.schulz@qt.io>
2019-09-12 08:50:36 +00:00
Eike Ziller
8df0653bf8 Merge remote-tracking branch 'origin/4.10'
Conflicts:
	cmake/QtCreatorIDEBranding.cmake
	qbs/modules/qtc/qtc.qbs
	qtcreator_ide_branding.pri
	src/plugins/projectexplorer/gcctoolchain.cpp
	src/plugins/qmldesigner/components/stateseditor/stateseditormodel.cpp

Change-Id: Iffdf48e782a734107ea170ebb3812e997cea0e7b
2019-09-12 09:08:04 +02:00
David Schulz
d72632acd6 Debugger: add dumper for std::initializer_list
Change-Id: I223182cecf1f04dbc9908dc993a8800c1633c48b
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2019-09-09 11:35:24 +00:00
Thomas Hartmann
9ca9a7e4a6 QmlDesigner: Add missing functionality to QtObjectPane
It should be also possible to change types for non items.

Change-Id: Ia44a8b4fda97c5fb25e513c6b3c3eed15abb1c1d
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-09-05 15:03:17 +00:00
Thomas Hartmann
898bdf12c0 QmlDesigner: Fix issue in loader resizing
Change-Id: Ie37b11672fdc6a1f29e2077ff4989a2bdd89c130
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
2019-09-05 15:00:47 +00:00
Thomas Hartmann
a88fc5fa38 QmlDesigner: Add loader resize logic to QtObjectPane
Change-Id: I2eb82e075203f82aa90edfe2eb44abc026d45adc
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
2019-09-05 15:00:36 +00:00
Eike Ziller
4b1987ba1f Merge remote-tracking branch 'origin/4.10'
Change-Id: Ida1659af5c9c72b67b01645c88aea4ea60e09b7f
2019-09-05 09:53:33 +02:00
Henning Gruendl
428d8f0307 QmlDesigner: PropertyEditor cleanup
* Adapt SpinBox ranges and decimals
 * Add missing qsTr() to labels

Change-Id: If85999a22778b6f61e30f7437905354884086596
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-09-03 09:12:29 +00:00
Henning Gruendl
489c9b2e58 QmlDesigner: Fix RealSpinBox Slider issue
Change-Id: Ib5da6c699a94ba42b4e7cbb9913a9caaa570a731
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-09-03 09:01:50 +00:00
Henning Gruendl
9af2563a69 QmlDesigner: Fix SpinBox DragHandler issue
Fixes an issue of the RealSpinBox DragHandler where the value
compression timer, which is responsible to trigger a write to the
backend, wasn't triggered anymore, because the SpinBox had no focus
after ending the drag operation.

Change-Id: Ibdf02856c96b997db20c3019438f9645fa853e75
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-09-02 07:36:36 +00:00
Thomas Hartmann
6f774ff10e QmlDesigner: Open color dialog from property editor
Task-number: QDS-601
Change-Id: I8ab2b286213174c19b330b1db4c27efd7af8792c
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2019-08-30 15:01:20 +00:00
Eike Ziller
0f8aa10df1 CMake build: Add missing script
Change-Id: Id22c29368adec84854a2d9d67fee36417e59e43b
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
2019-08-30 11:27:42 +00:00
Christian Kandeler
8b4344f2a2 ProjectExplorer: When running in the terminal on macOS, make it close
... after the application has finished and the user pressed the return
key as requested.

Fixes: QTCREATORBUG-15138
Change-Id: Id5b9fce553eb96b10aa76ccbd87fb66f02218110
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2019-08-30 08:55:38 +00:00
Tim Jenssen
8463ade7e0 Merge remote-tracking branch 'origin/4.10'
Change-Id: I82fe9d3d37081cfca2c3408984279ed944ffe807
2019-08-29 10:06:26 +02:00
Eike Ziller
6c9f75ff4a Transform Qt Quick 2 Extension Plugin wizard to JSON
Change-Id: I0e59219adeb5b3aa08a99da7c0bb657d793ba2e1
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2019-08-28 16:38:23 +00:00
Henning Gruendl
217f0c0305 QmlDesigner: Fix SpinBoxIndicator ghost input
* Fix SpinBoxIndicator not properly setting the pressedAndHeld flag
 * Rename sync function

Task-number: QDS-885
Change-Id: I9b8aae051fc6c8b802bb6ab90d63faa0d985f962
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-08-28 13:32:47 +00:00
Henning Gruendl
1d319876c8 QmlDesigner: Fix editable ComboBox focus issue
This patch fixes an issue were a temporary value wasn't properly
written to the backend, when another item was selected in the form
view.

 * Add a dirty flag to track user modifications
 * Utilize onEditingFinished and onTextEdited from internal TextInput
 * Add full qualification to a few property and function usages

Change-Id: I9afcc17018a03549504b8d38b83fac221145794e
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-08-27 08:11:11 +00:00
Henning Gruendl
e5bfbbd1fc QmlDesigner: Fix SpinBox focus issue
This patch fixes an issue were a temporary value wasn't properly
written to the backend, when another item was selected in the form
view.

 * Add a dirty flag to track user modifications
 * Utilize onEditingFinished and onTextEdited from internal TextInput
 * Add full qualification to a few property and function usages

Change-Id: Ib595d32bbc7f4caf92fbef5829aead50958fd830
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-08-27 08:10:35 +00:00
Eike Ziller
38feea7e25 Merge remote-tracking branch 'origin/4.10'
Change-Id: Idfe86eb91c7a9a16f15d528a2a03beecca1cb208
2019-08-27 09:47:14 +02:00
Dmitry Nuzhdin
309e345818 Debugger: Fix mapping std::set in Locals window via gdb
Currently QtCreator incorrectly shows content of a std::set.
For example set {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}
is shown as {0, 1, 2, 1, 2, 1, 2, 1, 2}.

Change-Id: Idaff66451827657ef129aa3d27895c43938e6fdc
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: hjk <hjk@qt.io>
2019-08-26 16:11:23 +00:00
Thomas Hartmann
8751d0c7d9 QmlDesigner: Resize Loader
Task-number: QDS-745
Change-Id: Idf126f5ed00cce74921a320d9bf17ef620ccd511
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-08-26 14:30:50 +00:00
Eike Ziller
89f3b32104 Merge remote-tracking branch 'origin/4.10'
Change-Id: I0d4655b195d0615719d5d391aa69e682f8c6f78f
2019-08-26 09:45:01 +02:00
Henning Gruendl
b4d8e67e0d QmlDesigner: Fix UrlChooser reset behavior
* Cleanup ColorLogic (imports and source)
 * Shifting a value from Constants.js to Values.qml
 * Add a property alias on AbstractButton to allow changing the font
   family

Change-Id: I51542f69f8f2190030a97164167d71d277147391
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-08-23 14:30:16 +00:00
Henning Gruendl
9f7fe2fb82 QmlDesigner: Add AbstractButton wrapper
Add AbstractButton wrapper to HelperWidgets this enables tooltips
on Buttons again.

Change-Id: If82bfcf3097f9e09d5cc19e4363b2428ad0ca872
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-08-23 13:37:03 +00:00
Henning Gruendl
995f09d6dc QmlDesigner: Set reasonable padding range
Change-Id: I84b9e0e2286aaf1574a7a8b68689540e0ca54bc5
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-08-23 13:36:47 +00:00
Henning Gruendl
4ff0ee4ab1 QmlDesigner: Swap unicode of alignment icons
Change-Id: I1d40f2c25843d90c20569c349c586ad7393b2255
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-08-23 13:36:35 +00:00
Henning Gruendl
e817b95b8a QmlDesigner: Remove redundant backend value call
Change-Id: I9e0701da02a694d83ab4ce5ed391da96d41c2edf
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-08-23 13:35:23 +00:00
Henning Gruendl
fd160f7523 QmlDesigner: Add missing qsTr() to AnchorRow label
Change-Id: I8c5c164c5d66548d6e574360bc38991ccdc750fd
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-08-23 13:34:09 +00:00
hjk
04eb17d57e Debugger: Display 'string' instread of 'NimStringDesc' for Nim strings
Change-Id: I2ecf09eb0b3d01c22b670a8dc642cf07eee2cede
Reviewed-by: Filippo Cucchetto <filippocucchetto@gmail.com>
Reviewed-by: hjk <hjk@qt.io>
2019-08-23 08:39:58 +00:00
Henning Gruendl
4cd3b10069 QmlDesigner: Layout and source cleanup
* Cleanup positioner specifics, mostly by adding ExpandingSpacer
 * Fix GridViewSpecifics SpinBox Label distance
 * Remove some semicolons
 * Add missing label (true/false) to CheckBoxes
 * Fix a few indentions

Change-Id: I2b86dde58ddfc1aa78ed3e11c41b0f4eedfc412b
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2019-08-23 08:06:56 +00:00
Henning Gruendl
49cde7aca0 QmlDesigner: Cleanup FlickableSection
* Add true/false label to CheckBoxes
 * Move and add missing tooltip
 * Remove redundancy by wrapping ExpandingSpacer from StudioControls

Change-Id: I6ec5d534ea9d71bda54a9f16359479d02d057511
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2019-08-23 08:06:46 +00:00
Eike Ziller
30143478f3 Merge remote-tracking branch 'origin/4.10'
Conflicts:
	src/libs/utils/consoleprocess_win.cpp

Change-Id: Ibdc265eed2f7080726e11ff6f2931c8559943af2
2019-08-22 09:53:37 +02:00
Aleksei German
c51da3805d QmlDesigner Fix for GradientDialog selected item
Change-Id: Ie7f7a7ad79e3e9bcb796f0fedc3b7d5d9cd8b023
Reviewed-by: Brook Cronin <brook.cronin@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-08-19 12:36:34 +00:00
Aleksei German
309021a73f QmlDesigner New Binding Editor
Change-Id: I75597a575cf4c6b8c0795d9f83a245539efb9ed8
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-08-19 12:35:24 +00:00
Sergey Belyashov
093d8100b7 Update Russian translation
Change-Id: I064a68aed8963e9706f36c861e92b36ac0831096
Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
2019-08-19 11:30:57 +00:00
Henning Gruendl
8f9fa82880 QmlDesigner: Fix HelperWidgets ComboBox
Task-number: QDS-926
Change-Id: I77eafbf8c66b8a384dc8786726c74c89acad58ad
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-08-16 11:33:53 +00:00
Aleksei German
79576601db QmlDesigner Fix for Gradient Presets
Change-Id: I1d3d2f61f978c6bfb52ad4ea42f2c6756a2a0483
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-08-16 11:32:18 +00:00
Eike Ziller
8201d49ea0 Merge remote-tracking branch 'origin/4.10'
Change-Id: I4d24269ef040c45e2143dfa86d1be3f7e8008521
2019-08-15 08:57:27 +02:00
Henning Gruendl
f136415e8c QmlDesigner: Update GradientPropertySpinBox
Fixes the referenced bug by replacing the SpinBox used in the
GradientPropertySpinBox with a RealSpinBox.

Task-number: QDS-914
Change-Id: Iaef165d622b14575713b090c0cc8a0bbac78cabb
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-08-14 10:46:43 +00:00
Thomas Hartmann
85cebb3cba QmlDesigner: Block all mouse events in GradiantDialogPopup
Task-number: QDS-914
Change-Id: I08f9038caa947141ab202e2e5f3b00256abe8a21
Reviewed-by: Brook Cronin <brook.cronin@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
2019-08-14 09:58:38 +00:00
Henning Gruendl
fc86de5e5a QmlDesigner: Fix editable ComboBox
Change-Id: Ibf449a3dc34ffeedd70e46bffcb0670049bfb4fc
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-08-13 16:17:10 +00:00
Eike Ziller
a81c1aab2c Merge remote-tracking branch 'origin/4.10'
Change-Id: I273a1e8f5f9e54756befbc398c2c2754534ff128
2019-08-09 09:43:16 +02:00
Christian Kandeler
2feb3e5585 Qt wizards: Include translation file, if requested
Provide all wizards for Qt-based projects with the ability to set up a
skeleton .ts file and add it to the generated project.

Task-number: QTCREATORBUG-7453
Change-Id: I4dfb34c0101062edd0209173f83737e69063e27a
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2019-08-08 08:56:38 +00:00
Tim Jenssen
c9b91e7e6b QmlDesigner: reduce enumeration to header only
It is used in some other external qmldesigner plugin and
these are built against current dev packages, which
are not contain this cpp file.
Different solution would be to add:
  r"^share/qtcreator/qml/qmlpuppet/types/enumeration.cpp$",
to scripts/createDevPackage.py which feels not that clean.


Change-Id: Ia1fb5c02f457d98474218689ebf6483706265dde
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-08-07 14:48:04 +00:00
Henning Gruendl
6ab4d69440 QmlDesigner: Fix TextField context menu closing
Change-Id: I596e5cee2e3c058b1fe5b0f0f1f976a60784d88b
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-08-07 13:58:37 +00:00
Eike Ziller
2521023627 Merge remote-tracking branch 'origin/4.10'
Conflicts:
	cmake/QtCreatorIDEBranding.cmake
	qbs/modules/qtc/qtc.qbs
	qtcreator_ide_branding.pri

Change-Id: I7d9ecd6d8518699d848ac72a62e5c35c2cc2751f
2019-08-07 08:09:45 +02:00
Thomas Hartmann
185bdcaad8 QmlDesigner: Remove radius for consistency
Change-Id: I7868265706fff25a32700870841b512d3f3f8a44
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-08-06 13:32:39 +00:00
Thomas Hartmann
be3c34221c QmlDesigner: Hide action indicator background
This is now a global option in the constants.

Change-Id: I29c5a7bc78ca1256f4d4cb3ff3319498143d34be
Reviewed-by: Brook Cronin <brook.cronin@qt.io>
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-08-06 13:29:47 +00:00
Thomas Hartmann
fceb229652 QmlDesigner: Move labels to left in FontSection
Change-Id: Id8bc92dcb8342c99e5c458cca0fe026b7ae61164
Reviewed-by: Brook Cronin <brook.cronin@qt.io>
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-08-06 13:25:41 +00:00