From 41ae28e1b77680a393316f5a032837e67f3b5ad3 Mon Sep 17 00:00:00 2001 From: Andre Hartmann Date: Sun, 3 Jun 2018 13:56:52 +0200 Subject: QAbstractSpinBox: Add more documentation cross links 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 Reviewed-by: Luca Beldi Reviewed-by: Samuel Gaist Reviewed-by: Mitch Curtis --- src/widgets/widgets/qabstractspinbox.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/widgets/widgets/qabstractspinbox.cpp b/src/widgets/widgets/qabstractspinbox.cpp index 77423e85e5..f059980c5c 100644 --- a/src/widgets/widgets/qabstractspinbox.cpp +++ b/src/widgets/widgets/qabstractspinbox.cpp @@ -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) @@ -970,6 +972,8 @@ void QAbstractSpinBox::paintEvent(QPaintEvent *) \row \li Page down \li This will invoke stepBy(-10) \endtable + + \sa stepBy() */ -- cgit v1.2.3