761 views
in Embedded Wizard Studio by
Hi,

I want to set the special character layout of keyboard for some text editors

and for some text editors i need the shift on layout by default.

How it is possible to restrict some text editors with the special character layout only?

Could you please help me out to solve this issue.

1 Answer

+1 vote
by
Hi mvg,

the texteditor triggers opening the keyboard by calling the Open slot inside ExtendedVirtualKeyboard::KeyboardAnimated. You could in this slot check if the 'sender' is of class ExtendedVirtualKeyboard::TextEditor by casting it to this class. If thats the case you could check at this texteditor instance some properties that you have defined to describes the layout which should get opened on opening the keyboard. Dependent of this the keyboard layout can be set.

Hope this gives you a rough overview how this could be solved.

Regards,

Julian
by
i need this shiftOn property when the caret index is 0 and also after putting space
by
I guess there are several ways to realize your request. One might be to implement a keyboard behavior which can be set via a property. You can set this from your TextEditor when it get activated. This way each TextEditor can define the way a text is allowed to enter.

Ask Embedded Wizard - Archive

Welcome to the Ask Embedded Wizard archive. This community forum served us well for many years, but we've evolved our support approach!

Your resources:

The Embedded Wizard Online Documentation provides comprehensive documentation, tutorials, examples and ready-to-use software packages.

For dedicated assistance, explore our Embedded Wizard Product Support.

You can still browse the valuable discussions from our community history here.

Embedded Wizard Website | Privacy Policy | Imprint

...