[Automotive] Qt Virtual Keyboard

Jereme Lamothe jlamothe at docboxinc.com
Tue Jan 10 23:12:17 CET 2017


Very cool, thank you for sending that along. It looks like Qt 5.9 will
resolve the custom keyboard layout problem for us.

On Tue, Jan 10, 2017 at 4:56 PM Alistair Adams <alistair.adams at qt.io> wrote:

> If I understand the problem correctly, and there’s always a possibility I
> haven’t, I can say that our friends at Pelagicore have submitted a patch
> for this https://codereview.qt-project.org/#/c/174616/ and it will be
> part of Qt 5.9.
>
>
>
> -Alistair
>
>
>
> *From:* Automotive [mailto:automotive-bounces+alistair.adams=
> qt.io at qt-project.org] *On Behalf Of *Jereme Lamothe
> *Sent:* Tuesday, January 10, 2017 1:31 PM
> *To:* Bontrager, Matt <pbontrag at jaguarlandrover.com>;
> automotive at qt-project.org
> *Subject:* Re: [Automotive] Qt Virtual Keyboard
>
>
>
> Hi Matt. We ran into this same problem at DocBox, there does not appear to
> be a public API for custom keyboard layouts / styles. When we contacted
> commercial support about wanting this feature, we were told the development
> team "didn't see the value in it". This was over a year ago, and I haven't
> checked in since. It's probably time to do that, I'll send a feature
> request later today.
>
>
>
> In the meantime, we made changes to Qt 5.7 Virtual Keyboard's source to
> enable custom styling / layouts. The changes required to do so are very
> small (a mere 4 lines!), but would need additional thought and work to
> warrant submitting to the Qt project. Our custom virtual keyboard layouts /
> styles (*.qml) are included as resources in a common library used by our
> apps. We modify VirtualKeyboardStyles::styleImportPath() to search for
> styles at a known qrc:// URL. To load custom layouts, we point
> FolderListModel's "folder" property in Keyboard.qml to also point to a
> known qrc:// URL. I hope this helps!
>
>
>
> On Tue, Dec 20, 2016 at 6:30 PM Bontrager, Matt <
> pbontrag at jaguarlandrover.com> wrote:
>
> Hello automotive group. I have a question related to customizing the Qt
> Virtual Keyboard.
>
>
>
> Is there a way to customize the layout and style of the Qt Virtual
> Keyboard directly in the QML of a project (with the import
> QtQuick.VirtualKeyboard 2.1 , etc, in the document head)?
>
>
>
> After researching all of the documentation I could find, the only way I
> see to:
>
>    - customize the layout is to make changes directly in the source code
>    of the plugin (layouts/en_GB/main.qml, etc)
>    - customize the style is to create a custom directory in the
>    VirtualKeyboard/Styles directory and point the project to the custom style
>
>
>
> Thanks in advance for any direction/guidance.
>
>
> Best,
>
> *Matt Bontrager*
>
> Senior Software Developer
>
> Future Technology
>
> Infotainment, Electronic and Software Systems
>
>
>
> *T:*  +1.971.256.9743 <(971)%20256-9743>  *| M: *+1.503.550.0727
> <(503)%20550-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/>
>
> _______________________________________________
> Automotive mailing list
> Automotive at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/automotive
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/automotive/attachments/20170110/6fca94f0/attachment.html>


More information about the Automotive mailing list