qtdeclarative/tests
Doris Verria 644ee4d234 API Cleanup: Remove focusReason from QQuickItem's public API and add docs
Make changes according to API review comments:

- Remove focusReason property and relevant API from QQuickItem. Move
it to private API in QQuickItemPrivate and rename it to
lastFocusChangeReason. Defer exposing this property to
QML for now. (In Qt7 we can expose it by adding it as a signal
parameter to QQuickItem's focusChanged signal)

- Add documentation for focusPolicy C++ API

- Don't mark focusPolicy property as FINAL

Partially reverts 1ca9928856

Task-number: QTBUG-119952
Task-number: QTBUG-117596
Pick-to: 6.7
Change-Id: Ib4632b86c64e3221ca5e651d80d58b8c89fcf2b7
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
2024-01-13 11:24:41 +01:00
..
auto API Cleanup: Remove focusReason from QQuickItem's public API and add docs 2024-01-13 11:24:41 +01:00
baseline Fix z-ordering of curve renderer stroke 2024-01-08 09:26:59 +01:00
benchmarks QmlDom: Add const-correctness 2023-09-15 09:01:59 +02:00
global
libfuzzer/qml Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-09-07 17:01:30 +02:00
manual windowembedding example: Disable signing via target property 2024-01-09 21:01:16 +01:00
system
testapplications Port sticky.qml manual test to Controls 2 2023-07-21 00:56:03 +02:00
CMakeLists.txt qmlls: build and run tests in CI 2023-11-01 21:30:45 +01:00
README

README

This directory contains autotests and benchmarks based on QTestlib. In order
to run the autotests reliably, you need to configure a desktop to match the
test environment that these tests are written for.

Linux X11:

   * The user must be logged in to an active desktop; you can't run the
     autotests without a valid DISPLAY that allows X11 connections.

   * The tests are run against a KDE3 or KDE4 desktop.

   * Window manager uses "click to focus", and not "focus follows mouse". Many
     tests move the mouse cursor around and expect this to not affect focus
     and activation.

   * Disable "click to activate", i.e., when a window is opened, the window
     manager should automatically activate it (give it input focus) and not
     wait for the user to click the window.