[Qt-creator] qtvirtualkeyboard Custom Style "scaleHint"

Matt Bontrager pbontrag at jaguarlandrover.com
Fri Jan 13 21:56:26 CET 2017

Thanks very much Mitch! Both for the reference link as well as the tip on
where to post in the future.

Matt Bontrager
Senior JavaScript Developer
Jaguar Land Rover

Sent from my iPhone

On Jan 13, 2017, at 07:54, Mitch Curtis <mitch.curtis at qt.io> wrote:

Hi Matt.

You can see how the scaleHint is calculated here:


I’ve created a bug report for the lacking documentation:


PS: this list is for Qt Creator; you’re better off asking on the Interest
mailing list for general Qt stuff.


*From:* Qt-creator [
mailto:qt-creator-bounces+mitch.curtis=qt.io at qt-project.org
<qt-creator-bounces+mitch.curtis=qt.io at qt-project.org>] *On Behalf Of
*Sent:* Thursday, 5 January 2017 10:15 PM
*To:* qt-creator at qt-project.org
*Subject:* [Qt-creator] qtvirtualkeyboard Custom Style "scaleHint"

Question: How Do I Compute the "scaleHint"?

I am developing a custom style for the qtvirtualkeyboard. According to this
it says:

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

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.


*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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20170113/ee8be609/attachment.html>

More information about the Qt-creator mailing list