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. Incorrect documentation for void QAbstractSpinBox::stepBy(int steps)
Forum Updated to NodeBB v4.3 + New Features

Incorrect documentation for void QAbstractSpinBox::stepBy(int steps)

Scheduled Pinned Locked Moved Solved General and Desktop
5 Posts 3 Posters 633 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.
  • R Offline
    R Offline
    Revolt
    wrote on 2 Jun 2018, 22:57 last edited by
    #1

    This documentation page states that pressing Qt::Key_PageUp triggers a call to stepBy(10) instead of stepBy(1).

    P 1 Reply Last reply 3 Jun 2018, 00:19
    0
    • R Revolt
      2 Jun 2018, 22:57

      This documentation page states that pressing Qt::Key_PageUp triggers a call to stepBy(10) instead of stepBy(1).

      P Offline
      P Offline
      Pablo J. Rogina
      wrote on 3 Jun 2018, 00:19 last edited by Pablo J. Rogina 6 Mar 2018, 00:19
      #2

      @Revolt it looks like documentation is consistent.

      pressing Qt::Key_Down will trigger a call to stepBy(-1), whereas pressing Qt::Key_PageUp will trigger a call to stepBy(10)

      See that example refer Key_Down and Key_PageUp, it's not comparing Key_Down with Key_Up.
      Check table here for clarification.

      Upvote the answer(s) that helped you solve the issue
      Use "Topic Tools" button to mark your post as Solved
      Add screenshots via postimage.org
      Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      2
      • R Offline
        R Offline
        Revolt
        wrote on 3 Jun 2018, 10:19 last edited by
        #3

        Oooh, I see, I totally missed that one and thought it's Key_Down. Couldn't that section link to the one mentioned by you? Where the Up and Page Down are mentioned too, so it's clearer.

        A P 2 Replies Last reply 3 Jun 2018, 12:01
        0
        • R Revolt
          3 Jun 2018, 10:19

          Oooh, I see, I totally missed that one and thought it's Key_Down. Couldn't that section link to the one mentioned by you? Where the Up and Page Down are mentioned too, so it's clearer.

          A Offline
          A Offline
          aha_1980
          Lifetime Qt Champion
          wrote on 3 Jun 2018, 12:01 last edited by
          #4

          Hi @Revolt,

          Oooh, I see, I totally missed that one and thought it's Key_Down. Couldn't that section link to the one mentioned by you? Where the Up and Page Down are mentioned too, so it's clearer.

          Your wish is my demand: https://codereview.qt-project.org/231300

          Qt has to stay free or it will die.

          1 Reply Last reply
          1
          • R Revolt
            3 Jun 2018, 10:19

            Oooh, I see, I totally missed that one and thought it's Key_Down. Couldn't that section link to the one mentioned by you? Where the Up and Page Down are mentioned too, so it's clearer.

            P Offline
            P Offline
            Pablo J. Rogina
            wrote on 3 Jun 2018, 21:11 last edited by
            #5

            @Revolt so it looks like your issue is solved, right? Please don't forget to mark your post as such. Thanks

            Upvote the answer(s) that helped you solve the issue
            Use "Topic Tools" button to mark your post as Solved
            Add screenshots via postimage.org
            Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

            1 Reply Last reply
            0

            4/5

            3 Jun 2018, 12:01

            • Login

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