[Qt-creator] qtvirtualkeyboard Custom Style "scaleHint"

Bontrager, Matt pbontrag at jaguarlandrover.com
Thu Jan 5 22:14:37 CET 2017


Question: How Do I Compute the "scaleHint"?

I am developing a custom style for the qtvirtualkeyboard. According to this
page
<http://doc.qt.io/qt-5/qml-qtquick-virtualkeyboard-styles-keyboardstyle.html#scaleHint-prop>,
it says:

This value is determined by the physical size and the design size of the
keyboard.

I understand that the physical size of the keyboard and the design size of
the keyboard are used to compute the scaleHint, but it doesn't say *how* it
uses those to factors to determine it.

Can someone explain what that actually means and also... how do I compute
the actual value of the scaleHint?

Thanks in advance.
Best,
*Matt Bontrager*
Senior Software Developer
Future Technology
Infotainment, Electronic and Software Systems

*T:*  +1.971.256.9743  *| M: *+1.503.550.0727


Jaguar Land Rover North America, LLC
1419 NW 14th Avenue, Portland, OR 97209
JaguarUSA.com <http://www.jaguarusa.com/index.html>  |  LandRoverUSA.com
<http://www.landrover.com/us/en/lr/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20170105/a9b48dc5/attachment.html>


More information about the Qt-creator mailing list