create account

Ich habe eine japanische Tastatur in Qt6/c++ geschrieben by ozelot47

View this thread on: hive.blogpeakd.comecency.com
· @ozelot47 ·
$4.85
Ich habe eine japanische Tastatur in Qt6/c++ geschrieben
### Deutsch
<hr>

Ich wollte mal das grafische Framework Qt in der Version 6 testen. Daher habe ich mir eine japanische Tastatur geschrieben, womit man einfach zwischen Hiragana und Katakana wechseln kann. Das getippte wird im Textfeld angezeigt und kann bei Bedarf kopiert oder gelöscht werden.<br> 

https://files.peakd.com/file/peakd-hive/ozelot47/23u6YZEZbSpHiXkDjEyTci5RoxxNgCcRCVhZCWCK1EBMumzPvQEw89RKFHHQtwhCJKf5w.png
**Abbildung 1: Japanische Tastatur**

https://files.peakd.com/file/peakd-hive/ozelot47/23twA2YYyGvg8iE4nkjanHaSPW9R7ieiYSkXpMVHu6En6pnxua7We7Yc3xK2pL5SWYyRR.png   
**Abbildung 2: Japanische Tastatur 2**
    
Damit das Tastaturlayout übersichtlich bleibt und man nicht für jedes Hiragana oder Katakana einen seperaten Button benötigt, habe ich mich für eine "Kreuzauswahl" entschieden, sobald man auf ein Kana klickt. Es öffnet sich ein kleines Fenster womit man dann bis zu 5 weitere Kana auswählen kann.

Zum Beispiel: Klickt man auf ぱ, dann ist ぱ das zentrale Element und wird mit den restlichen Elementen ぴ,ぷ,ぺ,ぽ umgeben.

https://files.peakd.com/file/peakd-hive/ozelot47/23tHZbtPF7adCSBQmg2V2L6B5JiSVqh59DrbPNvu7bJgA8ERY7JrqqiRiq9jcBQYFM7Zo.png
**Abbildung 3: Kreuzauswahl**
    
Für den Wechsel zwischen Hiragana und Katakana sorgt ein Radiobutton. Das Tastaturlayout wird entsprechend gewechselt.
    
Quelle: https://gitlab.com/sedil/japanese-keyboard </p>
<hr>

### English ###

I wanted to test the graphical framework Qt in version 6. Therefore I wrote myself a Japanese keyboard, with which you can easily switch between Hiragana and Katakana. The typed is displayed in the text field and can be copied or deleted if necessary.

https://files.peakd.com/file/peakd-hive/ozelot47/23u6YZEZbSpHiXkDjEyTci5RoxxNgCcRCVhZCWCK1EBMumzPvQEw89RKFHHQtwhCJKf5w.png
**Picture 1: Japanese Keyboard**

https://files.peakd.com/file/peakd-hive/ozelot47/23twA2YYyGvg8iE4nkjanHaSPW9R7ieiYSkXpMVHu6En6pnxua7We7Yc3xK2pL5SWYyRR.png    
**Picture 2: Japanese Keyboard 2**
    
To keep the keyboard layout clear and not to need a separate button for each hiragana or katakana, I decided to use a "cross selection" as soon as you click on a kana. It opens a small window with which you can then select up to 5 more Kana.

For example: If you click on ぱ, then ぱ is the central element and is surrounded with the remaining elements ぴ,ぷ,ぺ,ぽ.

https://files.peakd.com/file/peakd-hive/ozelot47/23tHZbtPF7adCSBQmg2V2L6B5JiSVqh59DrbPNvu7bJgA8ERY7JrqqiRiq9jcBQYFM7Zo.png
**Picture 3: Crossbuttons**
    
A radio button is used to switch between hiragana and katakana. The keyboard layout is changed accordingly.
    
Source: Quelle: https://gitlab.com/sedil/japanese-keyboard
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 20 others
properties (23)
authorozelot47
permlinkich-habe-eine-japanische-tastatur-in-qt6c-geschrieben
categoryhive-121566
json_metadata{"app":"peakd/2021.09.1","format":"markdown","tags":["hivestem","science","engineering","stem","deutsch","steemstem","palnet","japan","japanese"],"users":[],"image":["https://files.peakd.com/file/peakd-hive/ozelot47/23u6YZEZbSpHiXkDjEyTci5RoxxNgCcRCVhZCWCK1EBMumzPvQEw89RKFHHQtwhCJKf5w.png","https://files.peakd.com/file/peakd-hive/ozelot47/23twA2YYyGvg8iE4nkjanHaSPW9R7ieiYSkXpMVHu6En6pnxua7We7Yc3xK2pL5SWYyRR.png","https://files.peakd.com/file/peakd-hive/ozelot47/23tHZbtPF7adCSBQmg2V2L6B5JiSVqh59DrbPNvu7bJgA8ERY7JrqqiRiq9jcBQYFM7Zo.png"]}
created2021-10-16 10:46:48
last_update2021-10-16 10:46:48
depth0
children4
last_payout2021-10-23 10:46:48
cashout_time1969-12-31 23:59:59
total_payout_value2.442 HBD
curator_payout_value2.408 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length2,677
author_reputation106,849,151,013,647
root_title"Ich habe eine japanische Tastatur in Qt6/c++ geschrieben "
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id107,071,886
net_rshares4,631,242,090,844
author_curate_reward""
vote details (84)
@dauerbrenner05 ·
$0.02
WOW
sieht interessant aus
und scheint zu funktionieren. 😀
👍  , ,
properties (23)
authordauerbrenner05
permlinkr12n1l
categoryhive-121566
json_metadata{"app":"hiveblog/0.1"}
created2021-10-16 13:06:00
last_update2021-10-16 13:06:00
depth1
children1
last_payout2021-10-23 13:06:00
cashout_time1969-12-31 23:59:59
total_payout_value0.011 HBD
curator_payout_value0.009 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length57
author_reputation6,318,276,667,532
root_title"Ich habe eine japanische Tastatur in Qt6/c++ geschrieben "
beneficiaries
0.
accounthiveonboard
weight100
1.
accounttipu
weight100
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id107,074,019
net_rshares21,019,215,541
author_curate_reward""
vote details (3)
@ozelot47 ·
Aber selbstverständlich funktioniert es😉
👍  
properties (23)
authorozelot47
permlinkre-dauerbrenner05-r14q7t
categoryhive-121566
json_metadata{"tags":["hive-121566"],"app":"peakd/2021.09.1"}
created2021-10-17 16:09:30
last_update2021-10-17 16:09:30
depth2
children0
last_payout2021-10-24 16:09:30
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length40
author_reputation106,849,151,013,647
root_title"Ich habe eine japanische Tastatur in Qt6/c++ geschrieben "
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id107,103,793
net_rshares853,738,735
author_curate_reward""
vote details (1)
@fredfettmeister ·
$0.02
Ich hab zwar keine Ahnung von solchen Schriftzeichen, aber sehr fett. 👍
👍  , ,
properties (23)
authorfredfettmeister
permlinkre-ozelot47-20211016t134412z
categoryhive-121566
json_metadata{"tags":["hive-121566","hivestem","science","engineering","stem","deutsch","steemstem","palnet","japan","japanese"],"app":"ecency/3.0.23-mobile","format":"markdown+html"}
created2021-10-16 11:04:39
last_update2021-10-16 11:04:39
depth1
children1
last_payout2021-10-23 11:04:39
cashout_time1969-12-31 23:59:59
total_payout_value0.011 HBD
curator_payout_value0.009 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length71
author_reputation74,244,287,728,218
root_title"Ich habe eine japanische Tastatur in Qt6/c++ geschrieben "
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id107,072,094
net_rshares21,103,775,547
author_curate_reward""
vote details (3)
@ozelot47 ·
Dankeschön.
properties (22)
authorozelot47
permlinkre-fredfettmeister-r14q90
categoryhive-121566
json_metadata{"tags":["hive-121566"],"app":"peakd/2021.09.1"}
created2021-10-17 16:10:12
last_update2021-10-17 16:10:12
depth2
children0
last_payout2021-10-24 16:10:12
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length11
author_reputation106,849,151,013,647
root_title"Ich habe eine japanische Tastatur in Qt6/c++ geschrieben "
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id107,103,813
net_rshares0