VirtualKeyboard: clarify the KeyboardStyle geometry API documentation


The relationships between keyboardHeight, keyboardDesignWidth,
keyboardDesignHeight and keyboardDesignMaximumHeight were unclear
from their single-line doc strings, leaving it non-obvious how the
keyboard is scaled to the available width and how the maximum height
caps the layout.

Document how the design width and height define the design aspect
ratio, how the actual height is derived from it, how keyboardHeight
reflects the run-time scaled height, and how keyboardDesignMaximumHeight
caps it (preserving the design aspect ratio and scaling the whole
keyboard by keyboardDesignMaximumHeight / keyboardDesignHeight when the
scaled height would exceed the maximum). Also call out that the design
width and height are authoring units while the maximum is in logical
pixels, and that the clamped layout is centered with empty margins on
both sides.

Fixes: QTBUG-144131
Pick-to: 6.12 6.11 6.8
Change-Id: I4ef189ad290824e5712217f260ad0044898ee9c8
Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi>
commite53c90492b2783afc264d711faefc62b071dc350
parentb0789cbcc5142cead975f21835655e42a04602a1
authorLiu Zheng <liuzheng@uniontech.com>
committerLiu Zheng <liuzheng@uniontech.com>
commit timeWed, 12 Aug 2026 11:13:10 +0000