Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. How do you make an original keyboard ?
Forum Updated to NodeBB v4.3 + New Features

How do you make an original keyboard ?

Scheduled Pinned Locked Moved Solved QML and Qt Quick
8 Posts 4 Posters 900 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    morita
    wrote on last edited by
    #1

    Hello.

    I would like to make an original keyboard like:キャプチャ.PNG

    I would like to make original allocated buttons including an original layout.

    I have already made an original button file which have an original layout.

    When I searched on the net, I thought I could make that using "Virtual Keyboard".

    But I do not know whether I can make that because I am a beginner about Virtual Keyboard.

    Is it possible to make using "Virtual Keyboard" ? If it is possible , could you tell me how to make that ?

    jsulmJ 1 Reply Last reply
    0
    • M morita

      Hello.

      I would like to make an original keyboard like:キャプチャ.PNG

      I would like to make original allocated buttons including an original layout.

      I have already made an original button file which have an original layout.

      When I searched on the net, I thought I could make that using "Virtual Keyboard".

      But I do not know whether I can make that because I am a beginner about Virtual Keyboard.

      Is it possible to make using "Virtual Keyboard" ? If it is possible , could you tell me how to make that ?

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @morita said in How do you make an original keyboard ?:

      Virtual Keyboard

      This is QML only as far as I know.
      What do you mean by "original" keyboard and "original" layout?
      What is "original button file"?
      It is really not clear what you actually did.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • M Offline
        M Offline
        morita
        wrote on last edited by
        #3

        @jsulm said in How do you make an original keyboard ?:

        original

        Thank you for reply. I mean I would like to customize a keyboard like the image.

        Now I searched "inputPanel". But I guess I cannot customize a keyboard using "inputPanel".

        Because "inputPanel" is an element of default keyboard that Qt company provides.

        1 Reply Last reply
        0
        • S Offline
          S Offline
          sonicss
          wrote on last edited by
          #4

          using virtual keybord or make a user defined keybord.

          1: get the class name of component
          2: if the class name of component equal what's your want to input, popup the keyboard.
          3: send keycode, the component which is focused can get the keyval

          noname.png

          1 Reply Last reply
          3
          • M Offline
            M Offline
            morita
            wrote on last edited by
            #5

            Thank you for reply. I would like to use the "virtual keyboard" because I want to use Japanese..
            And I would like to customize button allocation and button layout.
            I have already done button layout file .

            Do you think it possible to use the "KeyboardStyle" and achieve my goal ?
            My goals are :

            1. to make layout I want to make like the picture.
            2. to make button allocation I want to make.
            3. to use Japanese on keyboard.

            Now I am trying to use "KeyboardStyle". But I have problem about :

            qrc:/QtQuick/VirtualKeyboard/content/components/BaseKey.qml:193: ReferenceError: keyboard is not defined
            qrc:/QtQuick/VirtualKeyboard/content/components/Key.qml:46: ReferenceError: keyboard is not defined

            I am stuck in above the problem. Maybe I need to make some enviroment configuration...

            S 1 Reply Last reply
            0
            • M morita

              Thank you for reply. I would like to use the "virtual keyboard" because I want to use Japanese..
              And I would like to customize button allocation and button layout.
              I have already done button layout file .

              Do you think it possible to use the "KeyboardStyle" and achieve my goal ?
              My goals are :

              1. to make layout I want to make like the picture.
              2. to make button allocation I want to make.
              3. to use Japanese on keyboard.

              Now I am trying to use "KeyboardStyle". But I have problem about :

              qrc:/QtQuick/VirtualKeyboard/content/components/BaseKey.qml:193: ReferenceError: keyboard is not defined
              qrc:/QtQuick/VirtualKeyboard/content/components/Key.qml:46: ReferenceError: keyboard is not defined

              I am stuck in above the problem. Maybe I need to make some enviroment configuration...

              S Offline
              S Offline
              sonicss
              wrote on last edited by
              #6

              @morita U should select virtual keyboard when u install Qt. (or do not skip virtual keyboard when crosscompile Qt source code in ARM platform)

              1 Reply Last reply
              0
              • M Offline
                M Offline
                morita
                wrote on last edited by
                #7

                Thank you . Anyway selecting virtual keyboard , I try to use that

                A 1 Reply Last reply
                0
                • M morita

                  Thank you . Anyway selecting virtual keyboard , I try to use that

                  A Offline
                  A Offline
                  ahmad98
                  wrote on last edited by
                  #8

                  @morita hi Morita, I want to create my layout and I have the same error as you had, so my question is, did you solve the problem? because I have a fresh Qt6 installation and I can use Virtual Keyboard with Input panel, but when I want to use Key, NumberKey, or BaseKey it gives me the same errors that you had? so I would be grateful if you can guide me.

                  1 Reply Last reply
                  0

                  • Login

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • Users
                  • Groups
                  • Search
                  • Get Qt Extensions
                  • Unsolved