Commit Graph

61529 Commits

Author SHA1 Message Date
Christian Stenger
a08a5499e9 Squish: Fix expected ui elements and page order
The wizard had been transformed to use the
JsonWizard nowadays.
Order of wizard pages has slightly changed to be
consistent with the rest of the wizards.

Change-Id: I841349d3b20dbc03a56a3dc4d15f717d0d21acdb
Reviewed-by: Robert Loehning <robert.loehning@qt.io>
2019-11-15 15:48:33 +00:00
Leena Miettinen
65cfdf5699 Doc: Hide links to content excluded from Qt Design Studio Manual
The links lead to strange places or generate QDoc warnings
when building the Qt Design Studio Manual.

Change-Id: Ic8311b54f9d49a8d56572c2f049b84cbe3933812
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2019-11-15 15:06:39 +00:00
Leena Miettinen
3b57edf272 Doc: Move Using External Tools away from the creator-only folder
...so that it can be included in the Qt Design Studio Manual.

Change-Id: I2ce16d1162211e0f8fdd506fe53067ea3116cff6
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2019-11-15 15:03:25 +00:00
David Schulz
b2e1499782 Python: Use native separator in user visible path
Change-Id: I7ef46a2cae7744162a6f9da92a4736d74a029705
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2019-11-15 14:05:50 +00:00
David Schulz
40612bceee Python: Fix python run configuration
Add the WorkingDirectoryAspect to prevent running the
main script in an unpredictable location.

Change-Id: I1be206261b7983e933b53ccd57c93089154d8417
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
2019-11-15 14:05:38 +00:00
Robert Loehning
775c78eca8 Squish: Stabilize selectBuildConfig(...)
Change-Id: Iba111e8cbbe652dd488b4dc91c58b92f53eccba3
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2019-11-15 12:46:13 +00:00
Christian Stenger
61fa3e8704 Wizards: Fix Qt Quick2 Extension wizard
Show kits selection page already while configuring
the project via wizard instead of falling back
to the target selection after the project had been
opened.
Regression with 6c9f75ff4a.

Change-Id: I9bf70f306dde3a570ab4ca3e4380040d6c6e4e23
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2019-11-15 12:00:10 +00:00
Alessandro Portale
a2355841f5 McuSupport: Rename internal types
"PackageOptions" -> "McuPackage"
"BoardOptions" -> "McuTarget"
"qul" -> "qtForMCUs"

Change-Id: I209cc82c7516fbf6a960b26c440159dbab02a4db
Reviewed-by: hjk <hjk@qt.io>
2019-11-15 08:07:37 +00:00
Tobias Hunger
cca33e2e26 CMake: Do not make the CMake tool invalid on timeout
Do no mark the CMake tool as invalid when it times out when fetching
auto-completion information. This happens the first time a CMakeLists.txt
file is edited in Creator.

Also increase the timeout so that there is less of a chance
to trigger have the information retrival time out -- which breaks
auto-completion of cmake variables, etc. in the CMakeLists.txt editor.

Closes: QTCREATORBUG-18530
Change-Id: I914377a6ece90c6f78ea5eb007da8fbe07785563
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2019-11-14 16:17:12 +00:00
Alessandro Portale
631efb8611 McuSupport: Use the official product name "Qt for MCUs" a bit more
... for the Kit names and the SDK path label

Change-Id: Idb87b20c944760e599df5edb4b1eafc7d28bde92
Reviewed-by: hjk <hjk@qt.io>
2019-11-14 11:30:22 +00:00
Alessandro Portale
4973af165e McuSupport: Unify and clean-up strings that end up in the settings
Change-Id: I65c10f6865f8f2a4670c5bc9a8c7269488dd937e
Reviewed-by: Aurindam Jana <aurindam.jana@qt.io>
2019-11-14 11:29:56 +00:00
Nikolai Kosjar
05ef46efdb BinEditor: Fix a dead store
Change-Id: I44d8a60037f02f4467ea085e4ad0d366c6c7aa86
Reviewed-by: hjk <hjk@qt.io>
2019-11-14 07:29:07 +00:00
Alessandro Portale
0d35690682 McuSupport: Assign "QtMCU Qt Desktop" kit the QtMCU icon
It is in fact more a QtMCU kit than a (Desktop) Qt kit.

Change-Id: If55699c13f76f75b8326074f9d7c1989f571dd7c
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2019-11-13 22:43:57 +00:00
Alessandro Portale
a035635f1f McuSupport: Add compilers to CMake configuration
To get rid of the warning triangle on the kit icon, CMAKE_CXX_COMPILER
and CMAKE_C_COMPILER get defined.

Change-Id: I40ee47e4059e8986557609048f465972985e3d5b
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2019-11-13 22:40:18 +00:00
Alessandro Portale
7f8576d49f McuSupport: Improve kit creation UX
Create a kit only for the currently selected target.
Kits are listed as auto-detected. Extisting, auto-detected kits with
same name get replaced with new ones.

Less text in the UI.

Change-Id: I89f952cc6ff694dc5c2750ebf9a7698d7839ec3a
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2019-11-13 22:09:21 +00:00
Henning Gruendl
a48497d663 QmlDesigner: Fix filename spelling in qrc
Change-Id: I90fb27156d51ad5160b57ea476017a17dc757043
Reviewed-by: Robert Loehning <robert.loehning@qt.io>
2019-11-13 10:50:49 +00:00
Aleksei German
5bb0298f69 QmlDesigner Add Binding Editor support to States
Change-Id: I3ccce5e2bfbbfa0dfba1e438d527fa18348005b5
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-11-13 10:24:54 +00:00
Henning Gruendl
d9981135c1 QmlDesigner: PropertyEditor TextSection cleanup
Change-Id: I042f38303aad016d939a39c7a638d330fca2ba58
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-11-13 10:14:42 +00:00
Mahmoud Badri
8722836b44 Implement EditView3D's toolbar
Move and scale shortcuts are temporarily set to (M) and (T) instead of
(W) and (R) to avoid interference with the WASD RF controller

Task-number: QDS-1201
Change-Id: Ia7ebb6c0d39880be6b87b12d0a4a1d16638fd141
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-11-13 10:12:33 +00:00
Alessandro Portale
1d1dde0f9b McuSupport: Avoid mix of dir separator styles for CMake parameter
Qt Creator's CMake plugin would otherwise (since recently) open that
"sync" dialog if a configuration path contains back slashes.

Change-Id: I2e333604e22158bdb61c2ca8eb65911295383b52
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2019-11-12 18:27:54 +00:00
Alessandro Portale
9641de2007 McuSupport: Distinguish "Evaluation" and "Engineering" roles
"Evaluation" and "Engineering" kits need to be set up differently.

Change-Id: I649fed9cbdff248c5cbc69e65a095ced1f25326e
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2019-11-12 18:14:46 +00:00
Alessandro Portale
ce83b2a93c McuSupport: Unify, simplify and improve kit name creation
Change-Id: I27ffa3d89226eedc8396c37249e124f846a630d3
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2019-11-12 17:51:05 +00:00
Thomas Hartmann
89732c361e QmlDesigner: Fix assert
We allow Window, Popup, Dialog etc. for root nodes.

Change-Id: I776c88ab8d276d48f275d842349796c8445259ad
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-11-12 17:06:51 +00:00
Thomas Hartmann
577c01ce00 QmlDesigner: Split property notifier
Change-Id: Ib8da8171ff740492ebfd81bd496a2eb7d9061926
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-11-12 14:30:46 +00:00
Tim Jenssen
0be200e44e improve code
Change-Id: I06c7274c39f7e369d4cd9bed0c1ef77e4bc08b35
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2019-11-12 12:22:15 +00:00
Christian Stenger
8866153c2a Squish: Fix test for welcome page
Amends cf3772ca77.

Change-Id: I3b98f4493db130f062982a5a8b39e334d5b6b49f
Reviewed-by: Robert Loehning <robert.loehning@qt.io>
2019-11-12 11:22:40 +00:00
Christian Stenger
cfd419cc0c Squish: Adapt to changed ui
Change-Id: Icf371af4de7aadbcab5cdf53a8095b26a7150aba
Reviewed-by: Robert Loehning <robert.loehning@qt.io>
2019-11-12 11:22:31 +00:00
Thomas Hartmann
725432be04 QmlDesigner: Always show timeline settings panel mapping table
An empty table is confusing. Once a state is added we
enforce an id for the root node.

Task-number: QDS-1218
Change-Id: Ifc2c0317dfbed2c8d8b9dd540079e6879fe4f2a9
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2019-11-12 10:38:01 +00:00
Mahmoud Badri
5df7ad94ec Implement DnD 3D objects from the item library to the EditView3D
Proof of concept drag and drop implementation. Basic functionality
working but needs polish.

Task-number: QDS-1132
Change-Id: Ie3b9e80de9a414c4955d6e38daf338045bc1e614
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-11-12 10:00:34 +00:00
Andre Hartmann
1d357f6b33 TextEditor: Make TextEditorLinkLabel elideable
And use that in the Include and Type Hierarchy
panels to allow resizing the panels smaller.

Fixes: QTCREATORBUG-23197
Change-Id: Ia4b39e610c7a4be4df564dc69573f4748d7634a5
Reviewed-by: David Schulz <david.schulz@qt.io>
2019-11-12 09:00:16 +00:00
Thomas Hartmann
22429728f1 QmlDesigner: Add 'float' support to curve editor
Change-Id: I7daf26a565b24c48b247021f0a21024524e479bc
Reviewed-by: Knud Dollereder <knud.dollereder@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-11-11 15:07:33 +00:00
Christian Stenger
952f4d82e5 McuSupport: Add .gitignore handling to wizard
Change-Id: I8ae5570c3011b25b00ff432627d7b76daa0f361b
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2019-11-11 11:48:09 +00:00
Thomas Hartmann
c6115771f9 QmlDesigner: Add createQmlVisualNode()
Change-Id: I7e1a739a58b740c2b5fc171e66ce7b6950bb1a26
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2019-11-11 10:35:47 +00:00
Christian Kandeler
d10ce822ca Run configurations: Let env widget reflect changes to lib search path
This broke in some refactoring.

Fixes: QTCREATORBUG-23165
Change-Id: Icb98234d83c6cb45a68562b88ee11fc9453bf6b3
Reviewed-by: hjk <hjk@qt.io>
2019-11-11 09:52:08 +00:00
hjk
62636b270d Qml2Puppet: Compile fix
Add missing #include. Amends db7087225d.

Change-Id: I8d9147fb788ee47b37dac9f347a6828250eec1e0
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2019-11-11 09:43:33 +00:00
Miikka Heikkinen
db7087225d QmlDesigner: Implement camera frustum visualization for edit 3D
Task-number: QDS-1208
Change-Id: I3241fcdc68d01666a2536df32f170cd898cbd7af
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-11-11 08:44:16 +00:00
Eike Ziller
f4d6609d91 Help/litehtml: Correcly escape search expression
Searching for anything with e.g. '(' in it would fail.

Change-Id: Ifdba978855a425f50b2fc80d01841a7d4c33dd11
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2019-11-11 07:34:45 +00:00
Thomas Hartmann
bfafbfc232 QmlDesigner: Add convenience functions
Those helpers make it easy to filter by types.

Change-Id: I36cedba043a1c89c68b98ef03a309ec0d8e67475
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
2019-11-08 15:36:47 +00:00
Thomas Hartmann
9af46e5114 QmlDesigner: Allow setting 3D position in QmlVisualNode
We use the implicit constructor of QmlVisualNode::Position
to overload the position parameter.

As a result createQmlObjectNode() can be called with QPoint or
QVector3D.

Change-Id: I15b57810c0604c22172fa3a9ea7040e6977eaa00
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-11-08 15:36:11 +00:00
Henning Gruendl
25fec203bc QmlDesigner: Forward ComboBox TextInput
Change-Id: I22b0992808b2a39de1baa45452351099b7d78ba0
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-11-08 14:43:26 +00:00
Henning Gruendl
53b95862ad QmlDesigner: Fix coding style
Change-Id: I597f906627ac690cb1e066c394f11ecaeced90d9
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-11-08 14:43:15 +00:00
Eike Ziller
f9c03f23c4 macOS: Fix opening and running in terminal with zsh
We need to read different startup files for zsh.

Task-number: QTCREATORBUG-21712
Change-Id: Id10b185e3957b44423e847114adc1b3085a8089d
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2019-11-08 14:40:30 +00:00
Thomas Hartmann
f51f2a90c6 QmlDesigner: Use QmlVisualNode for parent node
Change-Id: I06f5fbf3adeec24999798f57a5e2b835c3465b99
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-11-08 13:13:26 +00:00
Thomas Hartmann
3837c07711 QmlDesigner: Move createQmlObjectNode to QmlVisualNode
Change-Id: I6de1f84b54b0ee2489002c6d6e572c826de761ef
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-11-08 12:58:31 +00:00
Miikka Heikkinen
e2a4d82713 QmlDesigner: Fix 3D edit view light
The default point light is very dim as it has quadratic fade.
Explicitly set fades to zero to make sure edit light is always bright.

Change-Id: I67e3ba0905c2d907d660320c1510556fb3ea5de3
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2019-11-08 12:55:19 +00:00
Miikka Heikkinen
54a3620339 QmlDesigner: Remove workaround for buggy DisableCulling
QTBUG-79768 has been fixed, so the workaround can be removed.

Change-Id: I649f295cacb8b1b87def58087cd60c7f62dc47c1
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2019-11-08 12:55:03 +00:00
Miikka Heikkinen
862b7fa35c QmlDesigner: Add planar move and scale handles to gizmos
Change-Id: Icae60ec35fc84d731243a005e97b174fa9a94815
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2019-11-08 12:54:06 +00:00
Miikka Heikkinen
c67965fb29 QmlDesigner: Add ScaleGizmo to 3D edit view
ScaleGizmo allows scaling in the direction of local or global axes,
as well as uniform scaling. Any scale component cannot be made
negative with ScaleGizmo.

Change-Id: I9b98d9593e07ded340178b07b73fa1b72421ba20
Fixes: QDS-1195
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2019-11-08 12:53:21 +00:00
Sergey Belyashov
96f3cef06a Fix lack of Q_OBJECT macro lupdate warning
Change-Id: Ida21090229aca6b900d80d4a1be1fa63e40e946f
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2019-11-08 11:56:11 +00:00
Christian Stenger
890e62931c Python: Fix linking for mingw build
Change-Id: Id3a0718e49b4054aa65ef17b3c9ac889cbaf549f
Reviewed-by: David Schulz <david.schulz@qt.io>
2019-11-08 07:49:35 +00:00