[Interest] Qt japanese onscreen keyboard

2015-01-16 Thread Bo Thorsen
Hi everyone,

I have a request for an onscreen japanese keyboard for a Qt application. 
Later it will also have Korean, Russian and a bunch of others.

There are several problems with this. For example, should it be a 
keyboard that shows japanese chars on the keys? If yes, I think there 
are more than one of those.

If not, then we'll show the normal ascii chars and do a conversion with 
the input. As I understand it, this is what the mobile world does? 
Setting the locale on a line edit to japanese and sending key events 
doesn't seem to give me any Japanese chars.

Did someone here already implement this? Any pointers? I have done a 
google search for this, but nothing useful came up. I hope you guys can 
help.

Thanks,

Bo.

-- 
Viking Software
Qt and C++ developers for hire
http://www.vikingsoft.eu

___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] Qt japanese onscreen keyboard

2015-01-16 Thread Harri Porten
On Fri, 16 Jan 2015, Bo Thorsen wrote:

 If not, then we'll show the normal ascii chars and do a conversion with
 the input. As I understand it, this is what the mobile world does?
 Setting the locale on a line edit to japanese and sending key events
 doesn't seem to give me any Japanese chars.

I am almost as clueless as you but I'll provide one hint that got me once 
going: QInputMethod :)

Harri.
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] Qt japanese onscreen keyboard

2015-01-16 Thread Guido Seifert

A Japanese keyboard is only the smallest part of the problem. An image for such 
a keyboard
you can find here:
http://en.wikipedia.org/wiki/Japanese_input_methods

The much bigger problem is the kana/kanji conversion. I don't know if there is
a platform independent solution. For Linux:
http://linux.die.net/man/1/cannaserver

I don't think a Japanese keyboard layout without such a server is of any use.

Guido


On Fri, 16 Jan 2015 12:40:38 +0100
Bo Thorsen b...@vikingsoft.eu wrote:

 Hi everyone,
 
 I have a request for an onscreen japanese keyboard for a Qt application. 
 Later it will also have Korean, Russian and a bunch of others.
 
 There are several problems with this. For example, should it be a 
 keyboard that shows japanese chars on the keys? If yes, I think there 
 are more than one of those.
 
 If not, then we'll show the normal ascii chars and do a conversion with 
 the input. As I understand it, this is what the mobile world does? 
 Setting the locale on a line edit to japanese and sending key events 
 doesn't seem to give me any Japanese chars.
 
 Did someone here already implement this? Any pointers? I have done a 
 google search for this, but nothing useful came up. I hope you guys can 
 help.
 
 Thanks,
 
 Bo.
 
 -- 
 Viking Software
 Qt and C++ developers for hire
 http://www.vikingsoft.eu
 
 ___
 Interest mailing list
 Interest@qt-project.org
 http://lists.qt-project.org/mailman/listinfo/interest
 
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] Qt japanese onscreen keyboard

2015-01-16 Thread Bo Thorsen
Den 16-01-2015 kl. 12:48 skrev Harri Porten:
 On Fri, 16 Jan 2015, Bo Thorsen wrote:

 If not, then we'll show the normal ascii chars and do a conversion with
 the input. As I understand it, this is what the mobile world does?
 Setting the locale on a line edit to japanese and sending key events
 doesn't seem to give me any Japanese chars.
 I am almost as clueless as you but I'll provide one hint that got me once
 going: QInputMethod :)

The implementation I'm working on has a QLineEdit that shows the current 
input text. So I simply send synthetic keyboard events to the line edit. 
This one already has QInputMethod handling, so that part is already covered.

Bo.

-- 
Viking Software
Qt and C++ developers for hire
http://www.vikingsoft.eu

___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] Qt japanese onscreen keyboard

2015-01-16 Thread Alejandro Exojo
El Friday 16 January 2015, Bo Thorsen escribió:
 If not, then we'll show the normal ascii chars and do a conversion with 
 the input. As I understand it, this is what the mobile world does? 
 Setting the locale on a line edit to japanese and sending key events 
 doesn't seem to give me any Japanese chars.

It's a bit complex. The Japanese language, as far as I know, seems to always 
require an input system. Either they type romaji (characters in the roman 
alphabet), and a certain UI allows you to choose between different 
possibilites, or they type kana (the sillabary).

For example, I typed Japanese in Japanese, nihongo, and I was offered 日本語 
which is kanji or にほんご which is the same in kana. There are thousands or 
kanji, but only about 50 kana (actually, in two versions, but that's another 
story). That means that natives might prefer to type kana, which is what they 
learn as children, but foreigners might want the romanized version of the 
word.
 
 Did someone here already implement this? Any pointers? I have done a 
 google search for this, but nothing useful came up. I hope you guys can 
 help.

What constraints there are? For Linux the tipical solution is Maliit, but how 
well the japanese plugin works is an unkown. The website seems a bit broken. I 
think it heavily used D-Bus, but I saw some post about Windows support.

http://web.archive.org/web/20131218195654/https://wiki.maliit.org/Main_Page
https://web.archive.org/web/20130606035734/https://wiki.maliit.org/Documentation/Installing#From_source_code_.28Windows.29
https://code.google.com/p/maliit-plugin-jp/
https://gitorious.org/maliit-plugin-jp

Good luck!

-- 
Alex (a.k.a. suy) | GPG ID 0x0B8B0BC2
http://barnacity.net/ | http://disperso.net
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] Qt japanese onscreen keyboard

2015-01-16 Thread Turunen Tuukka

Hi,

There already is an excellent virtual keyboard for Qt, please see:
http://doc.qt.io/QtVirtualKeyboard/index.html

This is part of the commercial offering, intended for device creation.

As announced at the Qt Developer Days support for Japanese and Korean
languages will be added to it. There already are many other languages
supported, check the link for a full list.

If you want to check it out, you can take the current version for a spin:
http://www.qt.io/download/ (select Free 30-day Trial and then Qt for
Device Creation from the drop down menu).

Yours,

Tuukka Turunen
Director, RD

The Qt Company 
Piippukatu 11, 40100 Jyväskylä, Finland
Email: tuukka.turu...@theqtcompany.com | Mobile: + 358 40 7655 800
www.qt.io |Qt Blog: http://blog.qt.digia.com/ | Twitter: @QtbyDigia,
@Qtproject | Facebook: www.facebook.com/qt





On 16/01/15 14:53, Alejandro Exojo s...@badopi.org wrote:

El Friday 16 January 2015, Bo Thorsen escribió:
 If not, then we'll show the normal ascii chars and do a conversion with
 the input. As I understand it, this is what the mobile world does?
 Setting the locale on a line edit to japanese and sending key events
 doesn't seem to give me any Japanese chars.

It's a bit complex. The Japanese language, as far as I know, seems to
always 
require an input system. Either they type romaji (characters in the
roman 
alphabet), and a certain UI allows you to choose between different
possibilites, or they type kana (the sillabary).

For example, I typed Japanese in Japanese, nihongo, and I was offered 日
本語 
which is kanji or にほんご which is the same in kana. There are thousands
or 
kanji, but only about 50 kana (actually, in two versions, but that's
another 
story). That means that natives might prefer to type kana, which is what
they 
learn as children, but foreigners might want the romanized version of the
word.
 
 Did someone here already implement this? Any pointers? I have done a
 google search for this, but nothing useful came up. I hope you guys can
 help.

What constraints there are? For Linux the tipical solution is Maliit, but
how 
well the japanese plugin works is an unkown. The website seems a bit
broken. I 
think it heavily used D-Bus, but I saw some post about Windows support.

http://web.archive.org/web/20131218195654/https://wiki.maliit.org/Main_Pag
e
https://web.archive.org/web/20130606035734/https://wiki.maliit.org/Documen
tation/Installing#From_source_code_.28Windows.29
https://code.google.com/p/maliit-plugin-jp/
https://gitorious.org/maliit-plugin-jp

Good luck!

-- 
Alex (a.k.a. suy) | GPG ID 0x0B8B0BC2
http://barnacity.net/ | http://disperso.net
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] Qt japanese onscreen keyboard

2015-01-16 Thread Bo Thorsen
I obviously already told them about this, Tuukka. But the virtual 
keyboard is not available for Windows and they have been using the LPGL 
version for 10 years and won't change this decision.

Bo.

Den 16-01-2015 kl. 14:05 skrev Turunen Tuukka:
 Hi,

 There already is an excellent virtual keyboard for Qt, please see:
 http://doc.qt.io/QtVirtualKeyboard/index.html

 This is part of the commercial offering, intended for device creation.

 As announced at the Qt Developer Days support for Japanese and Korean
 languages will be added to it. There already are many other languages
 supported, check the link for a full list.

 If you want to check it out, you can take the current version for a spin:
 http://www.qt.io/download/ (select Free 30-day Trial and then Qt for
 Device Creation from the drop down menu).

 Yours,

 Tuukka Turunen
 Director, RD

 The Qt Company
 Piippukatu 11, 40100 Jyväskylä, Finland
 Email: tuukka.turu...@theqtcompany.com | Mobile: + 358 40 7655 800
 www.qt.io |Qt Blog: http://blog.qt.digia.com/ | Twitter: @QtbyDigia,
 @Qtproject | Facebook: www.facebook.com/qt





 On 16/01/15 14:53, Alejandro Exojo s...@badopi.org wrote:

 El Friday 16 January 2015, Bo Thorsen escribió:
 If not, then we'll show the normal ascii chars and do a conversion with
 the input. As I understand it, this is what the mobile world does?
 Setting the locale on a line edit to japanese and sending key events
 doesn't seem to give me any Japanese chars.
 It's a bit complex. The Japanese language, as far as I know, seems to
 always
 require an input system. Either they type romaji (characters in the
 roman
 alphabet), and a certain UI allows you to choose between different
 possibilites, or they type kana (the sillabary).

 For example, I typed Japanese in Japanese, nihongo, and I was offered 日
 本語
 which is kanji or にほんご which is the same in kana. There are thousands
 or
 kanji, but only about 50 kana (actually, in two versions, but that's
 another
 story). That means that natives might prefer to type kana, which is what
 they
 learn as children, but foreigners might want the romanized version of the
 word.

 Did someone here already implement this? Any pointers? I have done a
 google search for this, but nothing useful came up. I hope you guys can
 help.
 What constraints there are? For Linux the tipical solution is Maliit, but
 how
 well the japanese plugin works is an unkown. The website seems a bit
 broken. I
 think it heavily used D-Bus, but I saw some post about Windows support.

 http://web.archive.org/web/20131218195654/https://wiki.maliit.org/Main_Pag
 e
 https://web.archive.org/web/20130606035734/https://wiki.maliit.org/Documen
 tation/Installing#From_source_code_.28Windows.29
 https://code.google.com/p/maliit-plugin-jp/
 https://gitorious.org/maliit-plugin-jp

 Good luck!

 -- 
 Alex (a.k.a. suy) | GPG ID 0x0B8B0BC2
 http://barnacity.net/ | http://disperso.net
 ___
 Interest mailing list
 Interest@qt-project.org
 http://lists.qt-project.org/mailman/listinfo/interest
 ___
 Interest mailing list
 Interest@qt-project.org
 http://lists.qt-project.org/mailman/listinfo/interest


-- 
Viking Software
Qt and C++ developers for hire
http://www.vikingsoft.eu

___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] Qt japanese onscreen keyboard

2015-01-16 Thread Harri Pasanen
As others have mentioned, japanese kanji input is a hard problem, it is 
not just an image with buttons what you might think of when you hear 
virtual keyboard

Basically you type one kana and have several kanji to choose from, and 
the list of kanji to choose from changes depending the context.

Just my 2 cents,

Harri

On 16/01/2015 14:16, Bo Thorsen wrote:
 I obviously already told them about this, Tuukka. But the virtual
 keyboard is not available for Windows and they have been using the LPGL
 version for 10 years and won't change this decision.

 Bo.

 Den 16-01-2015 kl. 14:05 skrev Turunen Tuukka:
 Hi,

 There already is an excellent virtual keyboard for Qt, please see:
 http://doc.qt.io/QtVirtualKeyboard/index.html

 This is part of the commercial offering, intended for device creation.

 As announced at the Qt Developer Days support for Japanese and Korean
 languages will be added to it. There already are many other languages
 supported, check the link for a full list.

 If you want to check it out, you can take the current version for a spin:
 http://www.qt.io/download/ (select Free 30-day Trial and then Qt for
 Device Creation from the drop down menu).

 Yours,

 Tuukka Turunen
 Director, RD

 The Qt Company
 Piippukatu 11, 40100 Jyväskylä, Finland
 Email: tuukka.turu...@theqtcompany.com | Mobile: + 358 40 7655 800
 www.qt.io |Qt Blog: http://blog.qt.digia.com/ | Twitter: @QtbyDigia,
 @Qtproject | Facebook: www.facebook.com/qt





 On 16/01/15 14:53, Alejandro Exojo s...@badopi.org wrote:

 El Friday 16 January 2015, Bo Thorsen escribió:
 If not, then we'll show the normal ascii chars and do a conversion with
 the input. As I understand it, this is what the mobile world does?
 Setting the locale on a line edit to japanese and sending key events
 doesn't seem to give me any Japanese chars.
 It's a bit complex. The Japanese language, as far as I know, seems to
 always
 require an input system. Either they type romaji (characters in the
 roman
 alphabet), and a certain UI allows you to choose between different
 possibilites, or they type kana (the sillabary).

 For example, I typed Japanese in Japanese, nihongo, and I was offered 日
 本語
 which is kanji or にほんご which is the same in kana. There are thousands
 or
 kanji, but only about 50 kana (actually, in two versions, but that's
 another
 story). That means that natives might prefer to type kana, which is what
 they
 learn as children, but foreigners might want the romanized version of the
 word.

 Did someone here already implement this? Any pointers? I have done a
 google search for this, but nothing useful came up. I hope you guys can
 help.
 What constraints there are? For Linux the tipical solution is Maliit, but
 how
 well the japanese plugin works is an unkown. The website seems a bit
 broken. I
 think it heavily used D-Bus, but I saw some post about Windows support.

 http://web.archive.org/web/20131218195654/https://wiki.maliit.org/Main_Pag
 e
 https://web.archive.org/web/20130606035734/https://wiki.maliit.org/Documen
 tation/Installing#From_source_code_.28Windows.29
 https://code.google.com/p/maliit-plugin-jp/
 https://gitorious.org/maliit-plugin-jp

 Good luck!

 -- 
 Alex (a.k.a. suy) | GPG ID 0x0B8B0BC2
 http://barnacity.net/ | http://disperso.net
 ___
 Interest mailing list
 Interest@qt-project.org
 http://lists.qt-project.org/mailman/listinfo/interest
 ___
 Interest mailing list
 Interest@qt-project.org
 http://lists.qt-project.org/mailman/listinfo/interest


___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest