Qt Declarative (Quick 2)
Go to file
Volker Hilsheimer 3675f2b235 Use Inactive color group in inactive windows
A palette has three color groups (Active, Inactive, Disabled), but we
only listened to changes of the enabled state, and always used the
Active color group for an enabled item.

In order for the Inactive color group to take effect, we need to also
trigger the update when the "active" property changes. Instead of
connecting yet another signal, deliver WindowActivate/Deactivate to
as well, and forward from contentItem to all children which can then
update the current color group.

Add a test case.

Fixes: QTBUG-93752
Pick-to: 6.2
Change-Id: I4f2b6121e822115aaa5c4faaa5d402932dacc67b
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
2021-06-11 18:04:30 +02:00
cmake Fix missing 'We mean it' warning for generated qml_compile_hash_p.h 2021-03-31 17:06:00 +02:00
coin CMake: Enable enforcing CI tests 2020-07-08 12:17:17 +02:00
dist Add Qt 6.0.0 changes file 2020-11-13 09:51:34 +00:00
examples Refactor and update qml CMake API 2021-06-04 16:54:52 +10:00
features Add the skeleton for a D3D12 backend 2016-02-19 14:51:37 +00:00
src Use Inactive color group in inactive windows 2021-06-11 18:04:30 +02:00
tests Use Inactive color group in inactive windows 2021-06-11 18:04:30 +02:00
tools qmllint: Move a lot of warning logic to qmlcompiler 2021-06-09 12:46:02 +02:00
.cmake.conf Bump version 2021-02-22 07:48:47 +02:00
.gitattributes
.gitignore Add QtCore module 2021-04-21 14:37:10 +02:00
.gitmodules Update to the latest version of the ecmascript test suite 2018-04-26 20:26:36 +00:00
.qmake.conf Bump version 2021-02-22 07:48:47 +02:00
.tag
CMakeLists.txt Use fixed qt_add_resource BASE argument 2021-05-21 00:21:26 +02:00
LICENSE.FDL Add license files mandated by (L)GPL. 2013-02-15 00:03:10 +01:00
LICENSE.GPL2 Updated license headers 2016-01-19 14:53:18 +00:00
LICENSE.GPL3 Updated license headers 2016-01-19 14:53:18 +00:00
LICENSE.GPL3-EXCEPT Updated license headers 2016-01-20 11:46:25 +00:00
LICENSE.LGPL3 Updated license headers 2016-01-19 14:53:18 +00:00
configure.json Move model types into their own library 2019-05-02 09:26:04 +00:00
dependencies.yaml Update dependencies on 'dev' in qt/qtdeclarative 2021-06-07 19:40:27 +03:00
qt_cmdline.cmake Re-generate configure CMake files 2020-08-31 14:39:28 +02:00
qtdeclarative.doxy Add doxyfile for building doxygen documentation 2018-08-16 15:54:40 +00:00
sync.profile Add QtCore module 2021-04-21 14:37:10 +02:00