Skip to content

Commit

Permalink
QAbstractSpinBox: Add more documentation cross links
Browse files Browse the repository at this point in the history
stepUp() and stepDown() already linked to stepBy(), so add the
reverse too.

keyPressEvent() talks about stepBy() too, so add it to the cross
reference.

Change-Id: I22c841821331eaed9607cfb2807dcf0e2886d952
Reviewed-by: Christian Ehrlicher <[email protected]>
Reviewed-by: Luca Beldi <[email protected]>
Reviewed-by: Samuel Gaist <[email protected]>
Reviewed-by: Mitch Curtis <[email protected]>
  • Loading branch information
andre-hartmann committed Jun 4, 2018
1 parent abe3373 commit 41ae28e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/widgets/widgets/qabstractspinbox.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -619,6 +619,8 @@ void QAbstractSpinBox::stepDown()
function. Note that this function is called even if the resulting
value will be outside the bounds of minimum and maximum. It's this
function's job to handle these situations.
\sa stepUp(), stepDown(), keyPressEvent()
*/

void QAbstractSpinBox::stepBy(int steps)
Expand Down Expand Up @@ -970,6 +972,8 @@ void QAbstractSpinBox::paintEvent(QPaintEvent *)
\row \li Page down
\li This will invoke stepBy(-10)
\endtable
\sa stepBy()
*/


Expand Down

0 comments on commit 41ae28e

Please sign in to comment.