Commit Graph

5638 Commits

Author SHA1 Message Date
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
Thomas Hartmann
1b1d5b953a QmlDesigner: Add slider button to alpha spin box
Change-Id: I20deab5d884aa93a1bb541dab8f00c63fbf30954
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
Reviewed-by: Brook Cronin <brook.cronin@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-08-06 13:24:56 +00:00
Thomas Hartmann
8fb289f54b QmlDesigner: Add tooltips to item library
Task-number: QDS-342
Change-Id: I75530d5a05111ed66129f87e3fb716715b564001
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:24:32 +00:00
Henning Gruendl
f10adce9c8 QmlDesigner: Change CheckBox label position
Change-Id: I491f32ff97ed540def95ea30ebdaa729b5d68c4f
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-08-06 13:21:22 +00:00
hjk
5b33660a57 Debugger: Allow spaces in arguments with LLDB
Change-Id: Iebc6f7975e9a306805911ed18eb4689074abd891
Task-number: QTCREATORBUG-22811
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2019-08-06 08:07:25 +00:00
Eike Ziller
4608e84d9c Merge remote-tracking branch 'origin/4.10'
Change-Id: I633cb7dce95e107d0e0c62dc49a7ebacad0fbbe5
2019-08-05 08:45:11 +02:00
Christian Stenger
32ce4d5071 Lldb: Fix event handling for newer Xcode and faster machines
If the system or the running inferior produces output while
fetching data the output did interfere with the state handling
of the debugger engine which in turn lead to a complete
inconsistent state of the debugger where the states of the
debugger bridge and the debugger engine (QC internal) assumed
complete different states.
Circumvent by explicitly ignoring the state for inferior output
on stdout or stderr.

Change-Id: I81aa0bacd41de4266a9278c66fed908dd72c9d44
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2019-08-02 12:29:35 +00:00
hjk
2e14df7561 Some clang-tidy -use-modernize-nullptr
Change-Id: I1bed5e85a5b7948d08502a72a10f80baa075c204
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-08-01 13:20:26 +00:00
Eike Ziller
e5543eaebf Merge remote-tracking branch 'origin/4.10'
Change-Id: Id9cab641788f93cda9a81da9f156614b91d87b2a
2019-08-01 11:58:56 +02:00
Thomas Hartmann
c677703543 QmlDesigner: Explcitly set drag range for geometry properties
The default drag range is based on the minimum and maximum,
but sicne those are huge we overide the default.

Change-Id: Ibad785b475adfd92a78e6c5ff21fed2af21d637a
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-08-01 07:14:45 +00:00
hjk
ae66f63390 Debugger: Disable QObject connection and signal display
Besides the announced change to QObject guts in a5a859e72 there has been
at least 6e0b5dadc and possibly more, so give up here.

Change-Id: I84201cef9f2a7515f082f4c3310bdc96f7a4216d
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2019-07-31 12:18:02 +00:00
Thomas Hartmann
0f3c8a3c7b QmlDesigner: Fix custom qml2puppet build
The build of a custom qml2puppet was failing, because
of utils/algorithm.h missing.
We should minimize Qt Creator dependencies in the puppet.

Change-Id: Iba8dd1a3979dbeeb1bfa860b50ba586bea20c7a7
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2019-07-31 10:38:28 +00:00
hjk
be67ee75c5 Debugger: Fix QStandardItem dumper for Qt >= 5.9
Change-Id: Ib0dab191705982cf92d9599b8e627b41f0e187cc
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2019-07-31 08:10:21 +00:00
hjk
f4f86078a5 QmlPuppet: Code cosmetics
Fix various warnings

Change-Id: I50e0bac1eade188e2aafdc38f7507138732822d0
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2019-07-31 08:03:18 +00:00
hjk
b2daf07573 Debugger: Fix QFileDumper
Some QRingBuffer member got removed in 8f92baf5c9.

Change-Id: Ie0066db3b61bff25751a4886cb4b584cc4db49bf
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2019-07-31 07:28:02 +00:00
Eike Ziller
7de82409fc Merge remote-tracking branch 'origin/4.10'
Change-Id: I7a7bc552e09de1fbee98402c97e3a35f0e2c952a
2019-07-31 08:27:20 +02:00
Henning Gruendl
6c3be76c8d QmlDesigner: Update origin control
OriginControl replaces ExtendedFunctionButton with a combination of
ExtentendedFunctionLogic and a standalone ActionIndicator. Also changes
width and height to current style guide.

Change-Id: Idcad01505b1a61964a9a11c3b71c948c6d2a8d7b
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-07-30 09:35:18 +00:00
Henning Gruendl
6135726f4a QmlDesigner: Fix standalone ActionIndicator hover
Change-Id: I55dbcdffcd755ea16e3dcfb17683c27f3e77e49f
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-07-30 09:34:00 +00:00
Henning Gruendl
0e159760e5 QmlDesigner: Fix context menu looks
Change-Id: I6d8a87354456ced6420b62f6a8bfa73a81ce6228
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-07-30 09:32:11 +00:00
Henning Gruendl
ef95a19a5f QmlDesigner: Update GradientDialogPopup Controls 2
* Add background radius property to AbstractButton
 * Use AbstractButton instead of Controls 1 Button for
   GradientDialogPopup
 * Remove a few unnecessary imports

Change-Id: I02e0c5f198bd701d144effc5a574fc247182ffb4
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-07-30 09:31:39 +00:00