aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmldesigner/components/curveeditor/treeitem.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Remove GPL-3.0+ from license identifiersKai Köhne2023-01-061-1/+1
| | | | | | | | | | | | | | | Since we also license under GPL-3.0 WITH Qt-GPL-exception-1.0, this applies only to a hypothetical newer version of GPL, that doesn't exist yet. If such a version emerges, we can still decide to relicense... While at it, replace (deprecated) GPL-3.0 with more explicit GPL-3.0-only Change was done by running find . -type f -exec perl -pi -e "s/LicenseRef-Qt-Commercial OR GPL-3.0\+ OR GPL-3.0 WITH Qt-GPL-exception-1.0/LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0/g" {} \; Change-Id: I5097e6ce8d10233993ee30d7e25120e2659eb10b Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Use SPDX license identifiersLucie Gérard2022-08-261-24/+2
| | | | | | | | | Replace the current license disclaimer in files by a SPDX-License-Identifier. Task-number: QTBUG-67283 Change-Id: I708fd1f9f2b73d60f57cc3568646929117825813 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Merge remote-tracking branch 'origin/8.0'Eike Ziller2022-07-121-4/+2
|\ | | | | | | Change-Id: I37a1f78caf9ae258c6b052efa3be15b3dbcbe164
| * QmlDesigner: Improve usability of boolean animation curvesKnud Dollereder2022-07-081-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Boolean animation curves are now painted from min to max of the value range instead of from 0 to 1. This allows to see value changes when the curve is loaded together with other animation curves of different value ranges. Boolean curves are now forced to be step interpolated. If the user tries other interpolation types the request is denied and an error message is written in the new status line. Added a status line that displays the current frame number by default and an informative text in case the user did something forbidden. Respect the current state when populating the curve editor. Fixes: QDS-6950 Fixes: QDS-6889 Change-Id: Ia5fa1c1c55ee93eda5a39fd83987b54fb41d54db Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* | QmlDesigner: Adapt to C++ 17 [[maybe_unused]]Marco Bubke2022-07-111-2/+3
|/ | | | | | | | It has the advantage to to move the attribute to the declaration instead of using a workaround. Change-Id: I08b712f146a0625d0367657c31d6c1e5f7caec41 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* Update locking state from external views and cleanupKnud Dollereder2020-10-281-22/+102
| | | | | | | | | | | | | | | | | Improve treeview styling related to locking/pinning Use font icons. Show implicitly locked nodes by darkening text and icon. Show implicitly locked curves by darkening the text. Show unlocked/unpined icons only when hovering the mouse above the item. It is now possible to lock/pin multiple curves by locking/pinning the node items. Load unselected curves into the graphicsview when pinning them. Rename namespace DesignTools to QmlDesigner. Remove unused function from the timeline module. Get rid of a memory leak. Change-Id: I2c9c0a9e1ffe79520c4869178a11cc5825d04bbe Reviewed-by: Henning Gründl <henning.gruendl@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* Add the ability to unify keyframe handlesKnud Dollereder2020-03-251-0/+10
| | | | | | Task-number: QDS-568 Change-Id: I5b102423e8e166d41edf199c42305cee102e8b54 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* Implement locking and pinning of animation-curvesKnud Dollereder2020-02-111-0/+11
| | | | | | | Fixes: QDS-550 Fixes: QDS-551 Change-Id: I53a120a3753bb98fe729106b7e996f475fbda2f1 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* Move selection related code into SelectionModelKnud Dollereder2019-12-031-0/+14
| | | | | | | | | | And fix a bug where the curves where missing in the graphicsview after opening the AnimationCurveDialog a second time. Change-Id: I4f13bd345afafaa0578a3be28be6326fa232dbe1 Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io> Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* Merge remote-tracking branch 'origin/4.10'Eike Ziller2019-09-121-2/+2
|\ | | | | | | | | | | | | | | | | | | | | 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
| * Fix MSVC warningsOrgad Shaneh2019-09-111-2/+2
| | | | | | | | | | | | | | | | | | | | * Missing `this` captures * Implicit size_t -> int conversion * Unused argument * Suppress warnings in clang headers Change-Id: I7083ce6ab22ee22ecc1258539e77c790acc78df1 Reviewed-by: hjk <hjk@qt.io>
* | Merge remote-tracking branch 'origin/4.10'Eike Ziller2019-08-271-0/+33
|\| | | | | | | Change-Id: Idfe86eb91c7a9a16f15d528a2a03beecca1cb208
| * Improve update behaviorKnud Dollereder2019-08-261-0/+33
| | | | | | | | | | | | | | | | - Suppress reflections - Keep selection when updating the model Change-Id: I0e165f0019c8c24802193f3a59902876d4cb5060 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* | Merge remote-tracking branch 'origin/4.10'Eike Ziller2019-08-091-3/+42
|\| | | | | | | Change-Id: I273a1e8f5f9e54756befbc398c2c2754534ff128
| * Connect CurveEditor edits to the timeline moduleKnud Dollereder2019-08-081-3/+42
| | | | | | | | | | Change-Id: Ic00e0840da34bdbb8627b2fe2d8546a867b24966 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* | Avoid warning on empty expressionshjk2019-07-231-1/+1
|/ | | | | | | | For some reason, Q_UNUSED includes already a semicolon, adding one on the user side creates an additional empty statement. Change-Id: I9c5e8fac381345a60792cb75e2938fd53958d3b0 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Add curve editorKnud Dollereder2019-06-191-0/+227
Moved qmldesignerextension into component Updated build systems Change-Id: I8d2d0757a1639a472d426b66c0c8ae6fb84cc3d2 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>