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)
QtWS25 Last Chance

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

Scheduled Pinned Locked Moved Solved General and Desktop
5 Posts 3 Posters 624 Views
  • 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.
  • RevoltR Offline
    RevoltR Offline
    Revolt
    wrote on last edited by
    #1

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

    Pablo J. RoginaP 1 Reply Last reply
    0
    • RevoltR Revolt

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

      Pablo J. RoginaP Offline
      Pablo J. RoginaP Offline
      Pablo J. Rogina
      wrote on last edited by Pablo J. Rogina
      #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
      • RevoltR Offline
        RevoltR Offline
        Revolt
        wrote on 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.

        aha_1980A Pablo J. RoginaP 2 Replies Last reply
        0
        • RevoltR 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.

          aha_1980A Offline
          aha_1980A Offline
          aha_1980
          Lifetime Qt Champion
          wrote on 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
          • RevoltR 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.

            Pablo J. RoginaP Offline
            Pablo J. RoginaP Offline
            Pablo J. Rogina
            wrote on 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

            • Login

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