VirtualKeyboard: rename PopupList.contentWidth to avoid Flickable clash


PopupList.qml redeclared `contentWidth` as a readonly property to size
the popup to its content. ListView inherits this property from
QQuickFlickable, where it is a writable VIRTUAL property. The local
redeclaration shadows the base property and, since Qt 6.11 tightened
the override semantics (I787c9a82, change 710074), triggers a
"qt.qml.propertyCache.append: Member contentWidth overrides a member
of the base object" warning on startup.

Rename the local property to preferredContentWidth and update its uses
so it no longer clashes with the inherited Flickable property. The
WordCandidatePopupList consumer is updated accordingly. No behavior
change.

Fixes: QTBUG-147666
Change-Id: I7d6e28d6daa84ba19c3db66e48447443be02690a
Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi>
commitcc948458c1aae77148b67ca274a75a3866d44c23
parent4936448433f3e13f269dabe951122390c76c79c8
authorLiu Zheng <liuzheng@uniontech.com>
committerJarkko Koivikko <jarkko.koivikko@code-q.fi>
commit timeWed, 29 Jul 2026 06:08:18 +0000