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. What does the documentation mean when they said Return key ?
Forum Updated to NodeBB v4.3 + New Features

What does the documentation mean when they said Return key ?

Scheduled Pinned Locked Moved General and Desktop
6 Posts 4 Posters 2.0k 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.
  • G Offline
    G Offline
    Ground
    wrote on 19 May 2013, 12:30 last edited by
    #1

    I'm reading signals in QLineEdit.
    I don't understand the part when they said "Return".
    Here is the extract:
    " This signal is emitted when the Return or Enter key is pressed "
    After searching, my conclusion is that return key is the same as enter key.
    But as it was not said explicitely and clearly, i'm not sure.
    Thanks in advance for any help or explanation about that.

    1 Reply Last reply
    0
    • U Offline
      U Offline
      utcenter
      wrote on 19 May 2013, 13:34 last edited by
      #2

      The Enter key was called Return a long time ago, I had an apple 2 clone with a return key in 86, I guess some people still use return instead of enter, especially long time computer geeks like programmers.

      1 Reply Last reply
      0
      • T Offline
        T Offline
        tobias.hunger
        wrote on 19 May 2013, 14:37 last edited by
        #3

        The return key is the big key on the right side of your main keyboard area, the one that is used to indicate a new paragraph in your word processor.

        The enter key is the key labled "Enter" in the numeric keypad area.

        1 Reply Last reply
        0
        • C Offline
          C Offline
          Chris Kawa
          Lifetime Qt Champion
          wrote on 19 May 2013, 14:39 last edited by
          #4

          Actually on some mac keyboards enter and return are two different keys. Return is the usual suspect while Enter is the key in the numeric section: "mac keyboard":http://store.apple.com/us/product/MB110LL/B/apple-keyboard-with-numeric-keypad-english-usa
          "Wikipedia":http://en.wikipedia.org/wiki/Enter_key#Differences_between_Enter_and_Return also states that they have different key codes, but I have no mac to confirm this.

          Edit: Tobias was faster :)

          1 Reply Last reply
          0
          • U Offline
            U Offline
            utcenter
            wrote on 19 May 2013, 15:02 last edited by
            #5

            I never noticed this, always assumed the num pad keyboard just duplicates keys from the "main" keyboard, which is centrally the case with the number keys, but the "main" and num pad enter do seem to even return different key values. Not on a mac.

            1 Reply Last reply
            0
            • G Offline
              G Offline
              Ground
              wrote on 19 May 2013, 18:30 last edited by
              #6

              Thanks all, i have now a global/well understanding about the Retun-Enter stuff. I will keep in mind that Enter is the one located in the numeric area, and the Return is the one located in the main keyboard as you said. And they appears to have their proper keycode.

              1 Reply Last reply
              0

              1/6

              19 May 2013, 12:30

              • Login

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