Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt Creator and windows alt+keycode
Forum Updated to NodeBB v4.3 + New Features

Qt Creator and windows alt+keycode

Scheduled Pinned Locked Moved Unsolved General and Desktop
11 Posts 7 Posters 1.8k Views 2 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.
  • P Offline
    P Offline
    PsylumDan
    wrote on last edited by
    #1

    In some projects I use this a lot. I have to start Charmap on Windows and copy the character I need and paste it into Qt. In any other app I can use, for example alt+0176 (°) for the degree symbol. This doesn't work in Creator. Is there a setting for this? Or another way around it? It seems clumsy having to use Charmap for it.

    G 1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi
      it works in mine pressing alt+0176
      alt text

      QtCreator 4.9

      1 Reply Last reply
      1
      • fcarneyF Offline
        fcarneyF Offline
        fcarney
        wrote on last edited by
        #3

        Ubuntu 18.04
        64 bit
        Qt Creator 4.8.2

        It does not work on mine. alt-0 closes/opens the Projects sidebar.
        Is this a Windows only thing? I used to use this feature all the time in DOS.

        C++ is a perfectly valid school of magic.

        mrjjM 1 Reply Last reply
        0
        • fcarneyF fcarney

          Ubuntu 18.04
          64 bit
          Qt Creator 4.8.2

          It does not work on mine. alt-0 closes/opens the Projects sidebar.
          Is this a Windows only thing? I used to use this feature all the time in DOS.

          mrjjM Offline
          mrjjM Offline
          mrjj
          Lifetime Qt Champion
          wrote on last edited by mrjj
          #4

          @fcarney
          I use the keypad with numlock off then it does type it.
          will try in linux in a moment :)

          1 Reply Last reply
          0
          • fcarneyF Offline
            fcarneyF Offline
            fcarney
            wrote on last edited by
            #5

            numlock off causes it to navigate between source files when I get to alt-6 in the sequence. Yes, I am holding down alt the whole time.

            C++ is a perfectly valid school of magic.

            mrjjM 1 Reply Last reply
            0
            • fcarneyF fcarney

              numlock off causes it to navigate between source files when I get to alt-6 in the sequence. Yes, I am holding down alt the whole time.

              mrjjM Offline
              mrjjM Offline
              mrjj
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @fcarney
              Hi seems not to work in Linux.

              1 Reply Last reply
              0
              • fcarneyF Offline
                fcarneyF Offline
                fcarney
                wrote on last edited by
                #7

                Well in Ubuntu 18.04 there is a program called "Characters":
                😀 💩
                Now my posts can be just as annoying as my texts.

                C++ is a perfectly valid school of magic.

                1 Reply Last reply
                1
                • hskoglundH Offline
                  hskoglundH Offline
                  hskoglund
                  wrote on last edited by
                  #8

                  Hi, actually in Linux you can type the keycodes also (I use it sometimes, it's not exactly in the same way, but, I think slightly better, because in Windows you're typing blindly on the numeric keypad until you release the Alt key)

                  Try this: hold down ctrl+shift and then press u.
                  Then press the four hex digits for the Unicode, in your case it's 00b0
                  Then press any key, voila :-)

                  1 Reply Last reply
                  5
                  • aha_1980A Offline
                    aha_1980A Offline
                    aha_1980
                    Lifetime Qt Champion
                    wrote on last edited by aha_1980
                    #9

                    @hskoglund

                    Try this: hold down ctrl+shift and then press u.

                    I guess that is the function that breaks Find Usages in Ubuntu since 6 or 7 years. I always have to disable it due to a bug that makes further input in Creator impossible.

                    Edit: Thats QTBUG-64910

                    Qt has to stay free or it will die.

                    1 Reply Last reply
                    1
                    • E Offline
                      E Offline
                      erickzind
                      wrote on last edited by erickzind
                      #10

                      Did you try type 0176 or Alt+ 248 for degree sign?

                      1 Reply Last reply
                      0
                      • P PsylumDan

                        In some projects I use this a lot. I have to start Charmap on Windows and copy the character I need and paste it into Qt. In any other app I can use, for example alt+0176 (°) for the degree symbol. This doesn't work in Creator. Is there a setting for this? Or another way around it? It seems clumsy having to use Charmap for it.

                        G Offline
                        G Offline
                        GianniValenti_Alkeria
                        wrote on last edited by
                        #11

                        @PsylumDan I had the same problem with QtCreator on Windows 10. You can edit keyboard shortcuts (Tools -> Options -> Environment -> Keyboard) and remove all the shortcuts Alt+0 through Alt+9. Then you'll be able to enter symbols with alt+keycode normally.

                        1 Reply Last reply
                        1

                        • Login

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