summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* QmlDesigner Removed some debug outputv4.11.0-rc1Aleksei German2019-11-271-1/+0
| | | | | Change-Id: Iaa03c5783cc76b94364eda184d439024c35c4102 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner Binding Editor UX improvementAleksei German2019-11-274-4/+38
| | | | | | | | Binding Editor now shows which property type it expects. Binding Editor now works with alias and unknown types. Change-Id: I23d0bed3db5126de5107cf2f1f6b46485b89e1ea Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Fix RealSpinBoxInputHenning Gruendl2019-11-271-0/+1
| | | | | | | | | | Fixes RealSpinBoxInput scroll behavior. Without this change the RealSpinBox would block the ScrollView from getting mouse wheel events, which means whenever the mouse is hovering over a RealSpinBox the ScrollView can't be scrolled via the mouse wheel. Change-Id: I4533e36700fc2652a9c246a0e30613c71258edaf Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* ClangTools: Add "go to project settings" toolbar buttonNikolai Kosjar2019-11-2711-1/+77
| | | | | | | | | | | | | | | With the introduction of the "Analyze Current File" action the widget to configure the diagnostic config was moved to the project panel (Project mode > Project Settings > Clang Tools). As not too many users are aware of the project settings there and navigating there involves more user interation now (mode switch, looking for the "Clang Tools" item), add a toolbar button as a shortcut. Change-Id: I4c864045ef41ff501d925d3175ce604def213f29 Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* ClangTools: Fix showing diagnostics from clang-tidy on WindowsNikolai Kosjar2019-11-271-1/+1
| | | | | | | | | | When reading file paths from clang-tidy's YAML files, ensure to clean/normalize the file paths. Otherwise, no diagnostics will be shown as they are not accepted by the is-file-part-of-project filter. Change-Id: Iacff9ab5611072ca0b19788f6861f73c244258cc Reviewed-by: Cristian Adam <cristian.adam@qt.io> Reviewed-by: David Schulz <david.schulz@qt.io>
* ClangTools: Fix converting old settings on WindowsNikolai Kosjar2019-11-271-1/+1
| | | | | | | | | | | | | | | | | | As the settings keys are case-insensitive on Windows, the condition s->value(oldDiagnosticConfigIdKey).isNull() in ClangToolsSettings::readSettings always evaluated to true, leaving inconsistent settings around (new and old). As a result, the QTC_ASSERT parallelRuns >= 1 was triggered in ClangToolRunWorker::start() and nothing was analyzed. Fix by using a truly different settings key after conversion. Change-Id: I467f7d71298f240812a56dfcf7d6ca81728dee32 Reviewed-by: Cristian Adam <cristian.adam@qt.io> Reviewed-by: David Schulz <david.schulz@qt.io>
* Update Qbs submoduleRichard Weickelt2019-11-261-0/+0
| | | | | Change-Id: Ia0e9effcb6332db340c724a2f849156a4d6d6118 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Enable Antialiasing for the curve-editorKnud Dollereder2019-11-262-0/+2
| | | | | | | | Add missing include Task-number: QDS-1227 Change-Id: I8a7160b1a85152a721fd1b24b6dcbb541dc192c2 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* Implement 3D edit view top controls UIMahmoud Badri2019-11-2617-35/+122
| | | | | | | | | | | | | Implement global/local, projection type, and default light controls UI. Also small tweaks: - Fixed ortho. camera near clipping - Grid color darkened a bit - Selection rect color changed to yellow Task-number: QDS-1250 Change-Id: I03cf2023ee1b8a6a0768e4dbf7d6fee621a25ce2 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Fix editable ComboBox popup selectionHenning Gruendl2019-11-261-1/+18
| | | | | | | | | | This patch introduces a new state called 'popup' to disable text editing while the popup is opened and enables text editing whenever the popup is closed. Task-number: QDS-1262 Change-Id: I74ad4723d2cfe81447e94c37e9ba1f0913790d97 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Offset move/scale gizmo label in screen spaceMiikka Heikkinen2019-11-261-2/+1
| | | | | | | | | Offsetting in scene space resulted in label being inconsistent distance away from the object, depending on zoom and angle. Change-Id: Ief555de664c042bb1a5c93af0ee7e5a1c3e7ce0a Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io> Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
* QmlDesigner: Block selection of hidden objectsMiikka Heikkinen2019-11-263-12/+51
| | | | | | | | | If eyeball is turned off for object, it shouldn't be pickable in 3D edit view. Change-Id: Ib9308aaaecc822f448591f249bd96ffb5d0c9c48 Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* Qt Designer: Fix some clang warningsFriedemann Kleint2019-11-2514-52/+41
| | | | | | | | | | | | | | | - Use using instead of typedef - User member initialization - Use nullptr - Do not use else after return - Delete pointers unconditionally - Fix some integer conversion warnings - Use auto for new/casts to avoid type name repetition - Use = default for trivial destructors Task-number: QTCREATORBUG-23248 Change-Id: I0a7465d3aa200b5c862bec82636d2d22ddf8297b Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
* QmlDesigner: Add UX approved gradient background to 3D edit viewMiikka Heikkinen2019-11-251-17/+34
| | | | | | | Change-Id: I18b976324f57cf559a43d9ff239796cf25b3cb2f Fixes: QDS-1202 Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* Change log for 4.11 RCEike Ziller2019-11-251-0/+7
| | | | | Change-Id: I564242e9205bd107e1e213b814141caf97395464 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Documentation: Fix Ninja referenceCristian Adam2019-11-251-1/+1
| | | | | Change-Id: I95967b62b46ebe08ac837c490c54f5f3fc24d443 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
* QmlDesigner Binding Editor structure reworkAleksei German2019-11-259-482/+637
| | | | | | | | Separated Binding Editor into 3 files. Cleaned up includes. Change-Id: I84d06148b09cfc0df7db0f5a3a99e0f92997b586 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* Doc: Update info about building with CMakeLeena Miettinen2019-11-259-11/+42
| | | | | | Change-Id: I30813c51deec50043c0015aef5a672babe6b5608 Reviewed-by: Cristian Adam <cristian.adam@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Doc: Update info about Clang toolsLeena Miettinen2019-11-255-25/+15
| | | | | Change-Id: I86fecea5e5bc6d1b514cca4b8ad7a865cbf87c7e Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
* QmlDesigner: Fix sticky popupsHenning Gruendl2019-11-253-6/+12
| | | | | | Task-number: QTCREATORBUG-23102 Change-Id: I53a2abc67221b714e2b4ff7d09045f0b817b59d2 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Center on selection box when fit tool is used in 3D EditMiikka Heikkinen2019-11-255-8/+31
| | | | | | | | | Instead of centering edit camera on selected object, center it on the selection box, which includes child objects. Change-Id: I7315a4bcfffc74e72a2b21d0a04fc99ee9f4f3c3 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io> Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
* ClangTools: Fix clazy plugin invocation with recent clazy IINikolai Kosjar2019-11-251-2/+0
| | | | | | | | | | The enable-all-fixits option was also removed: https://github.com/KDE/clazy/commit/05c9ccade074fb7468f7983990b9697accd07fe1 Change-Id: Ide64e80a7ed8ee828fe4973fbf74bbaa8d3a09b8 Reviewed-by: Cristian Adam <cristian.adam@qt.io> Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
* McuSupport: Fix name of McuSupportRunConfigurationFactoryAlessandro Portale2019-11-223-5/+5
| | | | | | | Was a remainder of initial clone&rename action. Change-Id: Ifd06626cf2c895a1e20289ebd7ce711432f0a23a Reviewed-by: hjk <hjk@qt.io>
* QmlDesigner: Implement group selection boxes in 3D edit viewMiikka Heikkinen2019-11-227-65/+210
| | | | | | | | | | | | Object's selection box now includes the bounds of all of its descendants. Selection boxes of immediate children of a selected object are also drawn. Individual/group selection buttons also now work as expected. Change-Id: Ice7ef9a536e32c6bb6da70fe23bf0a38e72c14f8 Fixes: QDS-1210 Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Implement fit selection button in 3D edit viewMiikka Heikkinen2019-11-229-8/+51
| | | | | | | | | Shortcuts for scale and move were also updated to correct ones. Change-Id: Iffcad0c81475553003962e65dc059879a237546e Fixes: QDS-1235 Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Implement axis helper on 3D edit viewMiikka Heikkinen2019-11-2211-9/+297
| | | | | | | | | | Axis helper shows up on top right corner of 3D edit view. Clicking on axis helper arms zooms camera on that side of the selected object. Change-Id: Ibd81a933036f7965f825e3dc97ad7156da62e14c Fixes: QDS-1205 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* CMakeprojectManager: Use Utils::ElidingLabel in GeneratorKitAspectAlessandro Portale2019-11-221-2/+2
| | | | | | | Don't stretch the kit options page horizontally more than required. Change-Id: I8eb3855ae48a8a172741b1c42f79b9e05cc7eb42 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* QmlDesigner: Fix build errorMiikka Heikkinen2019-11-221-0/+3
| | | | | Change-Id: I53d425d0b6f4e66c09bd988bd188218cbf51a99c Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
* McuSupport: Rename package key QtMCUSdk -> Package_QtForMCUsSdkAlessandro Portale2019-11-221-1/+1
| | | | | | | | ...final name. Forever. Task-number: QTBUG-80242 Change-Id: Id9fe7001738e2fd5f4f08c3cd02a78dbf9c45e7d Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* McuSupport: Only (re-)generate kits when on Mcu options pageAlessandro Portale2019-11-221-0/+3
| | | | | | | | ... less surprises, like for example user is on the Kits page, edits an existing kit, and that gets overwritten when pressing "Apply" Change-Id: I2d936b757cb5c891a087854805fa2f056834185f Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* QmlDesigner: Implement selection box to 3D edit viewMiikka Heikkinen2019-11-2211-9/+384
| | | | | | | Change-Id: Ib0b13ecd7946e3b7da8ed06d4f5965e06e51a152 Fixes: QDS-1210 Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Fix issues with MouseArea3D deactivation detectionMiikka Heikkinen2019-11-224-9/+17
| | | | | | | | | | | Existing mouse grab is now released when MouseArea3D is deactivated or set to no longer grab the mouse. Various gizmos were also set to follow MouseArea3D's dragging property instead of keeping track of drag themselves. Change-Id: I49f968f20b26eb222fc8635b943e9144073fb164 Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Add UX approved light icons for 3D editviewMiikka Heikkinen2019-11-2210-27/+42
| | | | | | | | | Light icons have a color overlay that indicates light color. Change-Id: I5f6d80f63d0916dd7cb7b2d5345d586aacd550ef Fixes: QDS-1209 Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Some fixes to edit 3D after UX reviewMiikka Heikkinen2019-11-223-7/+6
| | | | | | | | | | | - Slightly larger cam plane rotate ring to avoid overlap - Scale tool is always local - Little more transparent and borderless light/cam icons when selected - Center light/cam icon on the object Change-Id: Icb24d89fb3ea852b139677aebe797881a12e474a Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Implement better camera navigation in 3D edit viewMiikka Heikkinen2019-11-2214-145/+303
| | | | | | | | | | | | Edit camera is now controlled as in Qt 3D Studio: ALT + left button orbits camera. ALT + middle button pans camera. ALT + right button zooms camera. Wheel zooms camera. Task-number: QDS-1206 Change-Id: Ia72644073d172b00483ceed8bcc5ffb8dce68741 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* ClangTools: Fix clazy plugin invocation with recent clazyNikolai Kosjar2019-11-221-2/+0
| | | | | | | | | | | | | As the no-autowrite-fixits option was removed with https://github.com/KDE/clazy/commit/c5d0a2d0169c6faa981328ea3ad0e285d048b102 our clazy invocation is incorrect and results in the usage being printed. Change-Id: I104273da8722f00c3df0d69d2b57c68fc9d3c1e6 Reviewed-by: Cristian Adam <cristian.adam@qt.io> Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
* CppTools: Fix race condition when opening projects for testsNikolai Kosjar2019-11-223-17/+11
| | | | | | | | | | | | | | The ClangTools plugin tests open a project and immediately trigger a build afterwards. We checked whether CppModelManager got already data from the project manager, but this alone was racy for the mentioned use case as e.g. the QbsProjectManager might still be in parsing mode and thus the build was not triggerable. Check for the parsing state, too. While at it, simplify the code by using QTest::qWaitFor(), which also takes care of posted events. Change-Id: Id298695b2e67578def42275bac4ea31f4a39edf2 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* ProjectExplorer: Use Utils::ElidingLabel in EnvironmentKitAspectWidgetAlessandro Portale2019-11-211-5/+4
| | | | | | Utils: :ElidingLabel re-elides on resize. Change-Id: I62709da60e7ab0156a33f373b236f71d1795d48f Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* ClangTools: Simplify clazy testNikolai Kosjar2019-11-212-15/+7
| | | | | | | | | | | | ...in order to not run into parse errors in qstring.h involving * C++17 * >= Qt 5.14 * stdlibc++ of gcc 5.3/5.4 Change-Id: I8c06f90a88a4dd18503a81b68433604eb3bc9556 Reviewed-by: Cristian Adam <cristian.adam@qt.io> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Documentation: Add documentation how to build Qt Creator with CMakeCristian Adam2019-11-211-5/+45
| | | | | Change-Id: I36617ce09301165f2e18a7524a18283264957ac6 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Android/Qmake: Execute clean on architecture changesBogDan Vatra2019-11-211-1/+11
| | | | | | Change-Id: Id0e1465e7ec7f6675cbf9d986352e811e6d31bec Reviewed-by: BogDan Vatra <bogdan@kdab.com> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Update Russian translationSergey Belyashov2019-11-211-1005/+2438
| | | | | | Change-Id: Idb0d3ab7aaf49cb050e246ec8324ab2c1add8057 Reviewed-by: Anton Kudryavtsev <antkudr@mail.ru> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
* CMake: Build fix for qlitehtml when submodule was usedCristian Adam2019-11-211-1/+1
| | | | | Change-Id: If82d46a761b9c59a2d945d723df575e66bd9c5a8 Reviewed-by: David Schulz <david.schulz@qt.io>
* McuSupport: Add optional color depth (bpp) property to McuTargetAlessandro Portale2019-11-212-5/+29
| | | | | | | | ...include that in kit names and add it as "QUL_COLOR_DEPTH" CMake parameter. Change-Id: I14ba7ce465c54d525683be2660d2e24b6ecfed6c Reviewed-by: hjk <hjk@qt.io>
* McuSupport: Reduce omnipotence of McuTarget's constructorAlessandro Portale2019-11-212-49/+49
| | | | | | | ... add some setters for optional properties. Change-Id: I4e1814c36f8294af86bf30d8538f450bc7f70b2b Reviewed-by: hjk <hjk@qt.io>
* Android: Use numerical options for remote chmod call in uploadGdbServerAlessandro Portale2019-11-201-2/+2
| | | | | | | | | | androiddeplyqt does not deploy gdbserver anymore, since Qt 5.14. Therefore the gdbverver deployment of Qt Creator is triggered for all devices, some of which do not support the symbolic chmod parameters (e.g. +x). Change-Id: I66e9fabeb0da4a1a3693c655a085d81c15f9d263 Reviewed-by: BogDan Vatra <bogdan@kdab.com>
* Squish: Update tst_rename_fileRobert Loehning2019-11-201-0/+4
| | | | | Change-Id: I1b7e8ef7c112e01ed2403c348234a482b050cf49 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Debugger: Fix copying stack content to clipboardhjk2019-11-201-12/+10
| | | | | | Change-Id: I41240e15235a4906439a514fcf56fa1f7ddc8a80 Fixes: QTCREATORBUG-23199 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* CMakeProjectManager: Add ability to specify path to ninjaCristian Adam2019-11-203-5/+19
| | | | | | Task-number: QTBUG-79885 Change-Id: If0c5efc534e2fc6f0041b9407e2ae24ed671ac8a Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Debugger: Swap BREAK and unused() in most dumper testhjk2019-11-201-530/+908
| | | | | | | To avoid optimizing. Change-Id: I43b39746811a822a0b5677920f9dc2f149291bc0 Reviewed-by: Christian Stenger <christian.stenger@qt.io>