QComboBox: add documentation for textHighlighted/textActivated
The documentation for textHighlighted/textActivated was not added within
bdf1c4f671 so add it now.
Change-Id: Ifa7ad72af4490d4ce1d6de00d0963c0e76013f42
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
bb10
parent
7af6649e88
commit
5f570aa64d
|
|
@ -862,6 +862,16 @@ QStyleOptionComboBox QComboBoxPrivateContainer::comboStyleOption() const
|
|||
when the choice is not changed. If you need to know when the
|
||||
choice actually changes, use signal currentIndexChanged().
|
||||
|
||||
\obsolete Use QComboBox::textActivated() instead
|
||||
*/
|
||||
/*!
|
||||
\fn void QComboBox::textActivated(const QString &text)
|
||||
\since 5.14
|
||||
|
||||
This signal is sent when the user chooses an item in the combobox.
|
||||
The item's \a text is passed. Note that this signal is sent even
|
||||
when the choice is not changed. If you need to know when the
|
||||
choice actually changes, use signal currentIndexChanged().
|
||||
*/
|
||||
|
||||
/*!
|
||||
|
|
@ -876,6 +886,15 @@ QStyleOptionComboBox QComboBoxPrivateContainer::comboStyleOption() const
|
|||
|
||||
This signal is sent when an item in the combobox popup list is
|
||||
highlighted by the user. The item's \a text is passed.
|
||||
|
||||
\obsolete Use textHighlighted() instead
|
||||
*/
|
||||
/*!
|
||||
\fn void QComboBox::textHighlighted(const QString &text)
|
||||
\since 5.14
|
||||
|
||||
This signal is sent when an item in the combobox popup list is
|
||||
highlighted by the user. The item's \a text is passed.
|
||||
*/
|
||||
|
||||
/*!
|
||||
|
|
@ -888,7 +907,6 @@ QStyleOptionComboBox QComboBoxPrivateContainer::comboStyleOption() const
|
|||
currentIndex was reset.
|
||||
*/
|
||||
|
||||
#if QT_DEPRECATED_SINCE(5, 13)
|
||||
/*!
|
||||
\fn void QComboBox::currentIndexChanged(const QString &text)
|
||||
\since 4.1
|
||||
|
|
@ -897,7 +915,6 @@ QStyleOptionComboBox QComboBoxPrivateContainer::comboStyleOption() const
|
|||
changes either through user interaction or programmatically. The
|
||||
item's \a text is passed.
|
||||
*/
|
||||
#endif
|
||||
|
||||
/*!
|
||||
\fn void QComboBox::currentTextChanged(const QString &text)
|
||||
|
|
|
|||
Loading…
Reference in New Issue