Commit Graph

67787 Commits

Author SHA1 Message Date
Thomas Hartmann
f43a48aee8 QmlDesigner: Implement operations for FlowEditor
Change-Id: I9bb1ee00981085e26b6b0a17aad94e1b30dc2f71
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2020-01-29 16:44:33 +00:00
hjk
9d216d89e5 Bazaar: Remove some dead code
Change-Id: I0598ff3b867246fd73bbb5d118ce85d70d4762fc
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2020-01-29 16:41:49 +00:00
Robert Loehning
837631a65a Squish: Remove pointless progressBarWait()
No progress bar will be shown there. This is only causing warnings.

Change-Id: I909f0395d24a3aaf6499fba81ca3af1da33c208f
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2020-01-29 15:17:13 +00:00
Thomas Hartmann
c0c4ada18e QmlDesigner: Use virtual synchronizeOtherProperty()
Change-Id: I749c179857121e13857f8a059ede61b4a2e701bc
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2020-01-29 15:10:45 +00:00
Thomas Hartmann
857ba5062a QmlDesigner: Use virtual functions from FormEditor item in tools
This allows to mutate the tools behavior in subclasses of FormEditorItem.

Change-Id: I3ff89a662b291dd1a4644d8bfc627741bbc43eaa
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2020-01-29 14:55:27 +00:00
Thomas Hartmann
38112bbc8e QmlDesigner: Refactor FormEditorItem
For the FlowEditor we need to subclass from FormEditor item
and to be able to mutate the behavior.
This patch introduces the required methods and
adds virtual to existing methods.
Some members become protected.

Change-Id: I8f49de9a93b91fa70d3d8e9ca4200f12f0aaf7d7
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2020-01-29 14:53:26 +00:00
Thomas Hartmann
868e3133c0 QmlDesigner: Add flow mode to ItemLibrary
If in flow mode we only show FlowItems.

Change-Id: I7d41155eac8bc180c7ac1d0092b35d7fc3f9be91
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2020-01-29 14:49:05 +00:00
Thomas Hartmann
bff9d65729 QmlDesigner: Allow Transitions in FormEditor
Transitions are not valid QmlItemNodes.

Change-Id: I8e6c517bf071b8c869e82a6911bc72331fab3830
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2020-01-29 14:48:10 +00:00
Leena Miettinen
5ee95ad636 Doc: Update information about Qt Quick 3D Model types
The primitive types are now available as components in
Library > Qt Quick 3D.

Fixes: QDS-1544
Change-Id: I472280bab4bd219eff14b8fd30546941a7ac6a95
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2020-01-29 14:42:30 +00:00
Thomas Hartmann
8f614d04a4 QmlDesigner: Add support for auxiliary data in property editor
This patch exposed certain auxiliary data to the property editor.
Currently the list is hard coded.

Change-Id: I599ace622f061ffd6063950fc143ff22c963e775
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2020-01-29 14:37:25 +00:00
Thomas Hartmann
e9a26ae420 QmlDesigner: Change width of place holder stripes
Change-Id: I504d14251731cdf5e136d1540b3dc393a3055087
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2020-01-29 14:37:08 +00:00
Robert Loehning
72def2c625 Squish: Wait for project parsing after creating projects
There is a new progress bar titled "Updating Locator Caches". The
unspecific progressBarWait() will continue after that disappeared.
Project parsing did not even start then.

Change-Id: Iaa6b7c63ea5669aefa3f34329d8d6e4958ae4eab
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2020-01-29 14:31:28 +00:00
Thomas Hartmann
1fdad12657 QmlDesigner: Implement adaptor classes for FlowEditor
This patch implements a few helper classes for the FlowEditor.
These classes model the semantics of the FlowEditor items.

Change-Id: Ie8935e142da043df212cbcc38670e960c740a58e
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2020-01-29 14:21:08 +00:00
Thomas Hartmann
815d76b6c4 QmlDesigner: Add rootNode() to SelectionContext
Change-Id: I7b0e1c313b89084d84fc75f74a4fd071dde29f06
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2020-01-29 14:16:08 +00:00
Thomas Hartmann
c5ceca41a9 QmlDesigner: Fix potential crash
Change-Id: I008e83644ee83557aeb32752ba3d67cc86d64cca
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2020-01-29 14:15:53 +00:00
Thomas Hartmann
df58e1583e QmlDesigner: Add isFlowTransition
Change-Id: I0277de2588cbc3a256d68a788ba2e04107e3bddf
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2020-01-29 14:15:40 +00:00
Thomas Hartmann
66a029c07d QmlDesigner: Add helper functions to QmlObjectNode
Change-Id: I0d24e313ca6c68c84a18f9ca0515a25396c8a678
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2020-01-29 14:00:40 +00:00
hjk
4ef57eeaed QmlJsEditor: Use now-standard pattern for settings page setup
Change-Id: I6de2ef5df605a103c99c5304590d8b8b2cf3ee3e
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2020-01-29 12:47:10 +00:00
David Schulz
c9d10c0d04 LanguageClient: clear the cache also for already opened files
Change-Id: I1dc962673d317ef28c8925dc965389116468f664
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2020-01-29 12:44:04 +00:00
David Schulz
59318b2789 TextEditor: Add toolbar widgets only after a valid toolbar action
We can't just add widgets after the first action of the toolbar.
The first action might not have a widget and will assert for that reason
in Qt.

Change-Id: Ib69c7d6d91bd56f25023aaebf961fef15cdcf008
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2020-01-29 12:43:54 +00:00
Leena Miettinen
18514a5585 Doc: Fix links in the Extending Qt Creator Manual
- Hide links to sections that have not been written yet
- Fix some links to information that was moved
- Use HTTPS in links to Qt Creator Manual topics

Fixes: QTCREATORBUG-23529
Change-Id: Idd162c04fe6992bbecd2acd4a7ec388e49f29b84
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2020-01-29 12:40:39 +00:00
hjk
6ad79a8c44 Vcs: Use QPointer for VcsBasePlugin::m_versionControl
Ownership of the object is currently being move out of the class.
Make it safe to delete here nevertheless during the transition phase.

Change-Id: I54b832bd1b149e63e0b77f17dc9932a1314cf1e3
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2020-01-29 09:06:43 +00:00
hjk
ae70750beb TextEditor: (Re-)Add virtual ICodeStylePreferencesFactory destructor
Got lost in e0c76647.

Change-Id: I56632199ee6904dd3830d123d1e30f9e950d11f6
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2020-01-29 08:44:14 +00:00
hjk
731a3f24da Cvs: Remove CvsPluginPrivate::cvsVersionControl
Base implementation is good enough.

Change-Id: I9c608f5636a8b9d34375f9c8d690f9c90120c880
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2020-01-29 08:25:55 +00:00
hjk
95623ae011 Core: Apply new settings page pattern to Tool settings page
Since the code "belonging" to the widget was split across two
classes, but isn't now, a bit of moving was necessary.

Use the opportunity to remove now-unneeded undirections to the
model and ui members.

Change-Id: I25bb96de05c67d9116f28ae342d4aebd3c4419e6
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2020-01-29 08:25:31 +00:00
Alessandro Portale
439bd2f090 ProjectExplorer: Delete unused image
Change-Id: I8065ce945c8c54e072676d5840c092bc5e410c3d
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2020-01-29 08:15:51 +00:00
Ville Voutilainen
c4113381ee Android: make manifest editor icon buttons more self-evident
Task-number: QTCREATORBUG-23283
Change-Id: I727a0c808c2ce5a50b696889ac973692a03422be
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2020-01-29 08:01:45 +00:00
hjk
0d1e03791a Core: Work around more deprecations
Change-Id: Ib25134cb823ed14ce82a69aac6f03849b02862fa
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2020-01-29 07:57:48 +00:00
hjk
597445ff06 Qmake: Handle QFlags deprecation
Change-Id: I2565ce0b1b10d4cb663dc6ad2721b717ce48c17d
Reviewed-by: David Schulz <david.schulz@qt.io>
2020-01-29 07:46:56 +00:00
hjk
10537d8469 Subversion: Compile fix
Amends c2fdaeae20

Change-Id: Icf36d99c230decdf7ecfe6467e38459172d56194
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2020-01-29 07:16:17 +00:00
hjk
ea23628c1c Bazaar: Move plugin pimpl into .cpp
Change-Id: If355d4dc34febcda7da24d85370f3ab607f5cd82
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2020-01-29 06:31:02 +00:00
hjk
2c865a771c TextEditor: De-noise ICodeStylePreferences setup a bit
Change-Id: I6c3fcbb6ef17c7ca5771326b1444f057cc150e3d
Reviewed-by: David Schulz <david.schulz@qt.io>
2020-01-29 06:30:48 +00:00
hjk
e0c76647ce TextEditor: De-QObject-ify ICodeStylePreferences factories
Change-Id: I20fc5323c4192391ec6ac514a1b583ccb87b4796
Reviewed-by: David Schulz <david.schulz@qt.io>
2020-01-29 06:30:37 +00:00
hjk
c2fdaeae20 Subversion: Remove some indirections
Change-Id: Idce3ac98184c39835ddb2ffcea01e770654a6a65
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2020-01-29 06:30:21 +00:00
Christian Stenger
99ef26579a Welcome: Fix regression of displaying Projects by default
Latest refactorings made the Welcome page display by default
the list of projects instead of the examples page.
This patch amends 938068d1e8.

Change-Id: Ie91f16e4fc7e891a34476d23c3e1b370fd7a7d68
Reviewed-by: David Schulz <david.schulz@qt.io>
2020-01-29 06:12:44 +00:00
Christian Stenger
9a1135776d Squish: Adapt to changed build menu entries
Change-Id: I0b9ceb8024e42960a2b915ed5e59ae5d33fa4207
Reviewed-by: Robert Loehning <robert.loehning@qt.io>
2020-01-29 06:12:29 +00:00
Christian Stenger
3fe9975664 Squish: Adapt to changed UI
Change-Id: Ieff38dca10a0e65b743404d0563e87ad9abb0994
Reviewed-by: Robert Loehning <robert.loehning@qt.io>
2020-01-28 19:14:51 +00:00
Alessandro Portale
08c606b882 Python: Add PySide 5.14 to the QtQuick application wizard
Change-Id: I03e93aa8bb72b48e93c196e56656e7f7321e33fe
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
2020-01-28 18:48:48 +00:00
Alessandro Portale
8011158a48 ResoureEditor: Use themed color for deleted file in ResourceModel
Better legible, especially with dark themes.

Change-Id: Id266a5b31436dbdaf0ac6b1ff6941f7341207438
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2020-01-28 18:48:31 +00:00
Alessandro Portale
4d213bf5e0 CMake: Fix DesignerComponent detection for MSCV/debug
Change-Id: Ia5e7a26891f062d040dcfd9a395c5e1b4cbaf321
Hack: Also search for "d" versions of the library.
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2020-01-28 15:20:21 +00:00
Cristian Adam
48de5294c7 CMake Build: set a 5s timeout per test
At the moment MinGW build is running for 5 hours because a test
hangs.

The test suite should finish the 2700 tests in 120 seconds.

Change-Id: I71e2e740f916bb304c91a6a3054ae097b4076543
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2020-01-28 14:18:27 +00:00
Cristian Adam
e6e0b0ca3b CMake Build: add perfparser
Change-Id: Ib16548befefbb827f2752300f9e67da3cf91570c
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2020-01-28 14:18:19 +00:00
Cristian Adam
4da23c7491 CMake Build: More detailed warning message for cdbext
Debug build of Qt Creator requires Debug Python libraries.
Python installer doesn't have them selected by default.

Change-Id: I2c2b03fb0af7a8da11541e0dcf088d3509e37fa4
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2020-01-28 14:17:48 +00:00
Christian Stenger
0168a42b72 Squish: Fix tst_debug_empty_main
Change-Id: I5c484a46cf795feee17c200416c4cd303c189774
Reviewed-by: Robert Loehning <robert.loehning@qt.io>
2020-01-28 12:58:37 +00:00
Tim Jenssen
db01563fda ProjectExplorer: make sure there is no nullptr buildConfiguration
This caused a crash in QtDesinStudio calling the preview in buildmanager.cpp:

  for (const BuildConfiguration * const bc
    : buildConfigsForSelection(target, configSelection)) {
        bsl = isBuild ? bc->buildSteps() : bc->cleanSteps(); //bc was nullptr here

Change-Id: I67d165adb1b81c1b68fbc6fb38b67d4d2887eed1
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2020-01-28 11:41:53 +00:00
Leena Miettinen
5c13c7ae7b Doc: Add information about how pivot offset is visualized
Fixes: QDS-1543
Change-Id: I79b00c3e5b3c23f91bf6c6b8b670d53f7870e3a0
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2020-01-28 09:12:37 +00:00
hjk
218b6ac491 Perf: Move closer to now-standard option page setup
The aspect widgets need to serve two purposes (global settings,
and in run configurations), but that's still possible with
an IOptionPageWidget base, the in-project use simply never
triggers the apply().

Change-Id: I1344a37b6dba558b950904378443682b5a068214
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2020-01-28 08:50:59 +00:00
hjk
56febd062c TextEditor: Fix warning about using nullptr to initialize flags
Change-Id: I1c219954423cfc935966e6cc8b57f3962627ab0c
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2020-01-28 08:17:35 +00:00
Christian Stenger
652a6da4b3 Baremetal: Fix missing semicolon on Win
Change-Id: I6a2195c680411242a90e86d5be0c2e956ac807c1
Reviewed-by: hjk <hjk@qt.io>
2020-01-28 07:01:52 +00:00
Christian Kandeler
c4254722df RemoteLinux: Let user override deployment data
That is, instead of what is specified in the project files of the
respective build system, let the user manually set the data in the
deploy configuration.
This is intended as a last resort for use in project managers that are
not able to deduce any deployment information from the project.

Fixes: QTCREATORBUG-21854
Change-Id: I2fefb89a4aa846e52aeca69749ca03534f4f0a67
Reviewed-by: hjk <hjk@qt.io>
2020-01-27 17:32:16 +00:00