Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Cannot write curly braces

    General and Desktop
    curly braces
    3
    5
    1415
    Loading More Posts
    • 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.
    • Zoltan
      Zoltan last edited by

      Unfortunately, I cannot write the opening curly brace { on a Hungarian keyboard layout. It works when I change to the English layout, but it is very inconvenient to swap between the layouts all the time. What can I do? Where can I set it to recognise the Hungarian keyboard?

      1 Reply Last reply Reply Quote 0
      • R
        Rondog last edited by Rondog

        There is a way to enter characters if you don't have the key on the keyboard. On Windows you would press 'Alt' then the numerical value of the letter. Pressing the keys 'ALT,6,5' would be the same as typing capital 'A'.

        It has been a while since I did this so my information might be a bit off (and I am not infront of a Windows computer) so you might want to google it. I knew someone who used to use this all the time with passwords (they always included a few characters that you couldn't directly type on a keyboard like 'Alt,2,5,5' or 'Alt,0').

        1 Reply Last reply Reply Quote 0
        • Zoltan
          Zoltan last edited by

          Alt+123 as { works in a Notepad, but in Qt it opens the tabs at the bottom, i.e. "Issues", "Search Results", "Application Output".

          1 Reply Last reply Reply Quote 0
          • Chris Kawa
            Chris Kawa Moderators last edited by

            If I got it correctly in Hungarian layout { is right alt + b and } is right alt + n. I switched keyboard layout to Hungarian and the latter seems to work ok. alt+b is by default a shortcut for build, so you migh want to change that in the keyboard settings (Tools - > Options -> Environment -> Keyboard).

            1 Reply Last reply Reply Quote 2
            • Zoltan
              Zoltan last edited by Zoltan

              Indeed, the right alt+B caused the conflict. Thank you, now it works. How can I accept this answer?

              1 Reply Last reply Reply Quote 0
              • First post
                Last post