diff options
Diffstat (limited to 'src/controls')
| -rw-r--r-- | src/controls/Calendar.qml | 10 | ||||
| -rw-r--r-- | src/controls/ComboBox.qml | 4 | ||||
| -rw-r--r-- | src/controls/SpinBox.qml | 2 | ||||
| -rw-r--r-- | src/controls/TableView.qml | 6 | ||||
| -rw-r--r-- | src/controls/TextArea.qml | 4 | ||||
| -rw-r--r-- | src/controls/TextField.qml | 4 | ||||
| -rw-r--r-- | src/controls/qquickaction.cpp | 4 | ||||
| -rw-r--r-- | src/controls/qquickmenuitem.cpp | 4 |
8 files changed, 38 insertions, 0 deletions
diff --git a/src/controls/Calendar.qml b/src/controls/Calendar.qml index 1fa5d72df..5b56dc761 100644 --- a/src/controls/Calendar.qml +++ b/src/controls/Calendar.qml @@ -217,6 +217,8 @@ Control { Emitted when the mouse hovers over a valid date in the calendar. \a date is the date that was hovered over. + + The corresponding handler is \c onHovered. */ signal hovered(date date) @@ -228,6 +230,8 @@ Control { This is also emitted when dragging the mouse to another date while it is pressed. \a date is the date that the mouse was pressed on. + + The corresponding handler is \c onPressed. */ signal pressed(date date) @@ -237,6 +241,8 @@ Control { Emitted when the mouse is released over a valid date in the calendar. \a date is the date that the mouse was released over. + + The corresponding handler is \c onReleased. */ signal released(date date) @@ -246,6 +252,8 @@ Control { Emitted when the mouse is clicked on a valid date in the calendar. \a date is the date that the mouse was clicked on. + + The corresponding handler is \c onClicked. */ signal clicked(date date) @@ -255,6 +263,8 @@ Control { Emitted when the mouse is double-clicked on a valid date in the calendar. \a date is the date that the mouse was double-clicked on. + + The corresponding handler is \c onDoubleClicked. */ signal doubleClicked(date date) diff --git a/src/controls/ComboBox.qml b/src/controls/ComboBox.qml index f3cde537e..5ce5bf071 100644 --- a/src/controls/ComboBox.qml +++ b/src/controls/ComboBox.qml @@ -245,6 +245,8 @@ Control { \note If there is a \l validator set on the combobox, the signal will only be emitted if the input is in an acceptable state. + + The corresponding handler is \c onAccepted. */ signal accepted @@ -257,6 +259,8 @@ Control { This signal is similar to currentIndex changed, but will only be emitted if the combo box index was changed by the user and not when set programatically. + + The corresponding handler is \c onActivated. */ signal activated(int index) diff --git a/src/controls/SpinBox.qml b/src/controls/SpinBox.qml index f235dfbd2..826d9002f 100644 --- a/src/controls/SpinBox.qml +++ b/src/controls/SpinBox.qml @@ -172,6 +172,8 @@ Control { the control loses focus. Note that if there is a validator set on the control and enter/return is pressed, this signal will only be emitted if the validator returns an acceptable state. + + The corresponding handler is \c onEditingFinished. */ signal editingFinished() diff --git a/src/controls/TableView.qml b/src/controls/TableView.qml index 1ca45a7f1..3eb73cf67 100644 --- a/src/controls/TableView.qml +++ b/src/controls/TableView.qml @@ -255,6 +255,8 @@ ScrollView { \a row int provides access to the activated row index. \note This signal is only emitted for mouse interaction that is not blocked in the row or item delegate. + + The corresponding handler is \c onActivated. */ signal activated(int row) @@ -265,6 +267,8 @@ ScrollView { \a row int provides access to the clicked row index. \note This signal is only emitted if the row or item delegate does not accept mouse events. + + The corresponding handler is \c onClicked. */ signal clicked(int row) @@ -275,6 +279,8 @@ ScrollView { \a row int provides access to the clicked row index. \note This signal is only emitted if the row or item delegate does not accept mouse events. + + The corresponding handler is \c onDoubleClicked. */ signal doubleClicked(int row) diff --git a/src/controls/TextArea.qml b/src/controls/TextArea.qml index 751e7ce0c..876a2270f 100644 --- a/src/controls/TextArea.qml +++ b/src/controls/TextArea.qml @@ -383,6 +383,8 @@ ScrollView { This signal is emitted when the user clicks on a link embedded in the text. The link must be in rich text or HTML format and the \a link string provides access to the particular link. + + The corresponding handler is \c onLinkActivated. */ signal linkActivated(string link) @@ -395,6 +397,8 @@ ScrollView { \a link string provides access to the particular link. \sa hoveredLink + + The corresponding handler is \c onLinkHovered. */ signal linkHovered(string link) diff --git a/src/controls/TextField.qml b/src/controls/TextField.qml index 3d11fc2e7..7217caa21 100644 --- a/src/controls/TextField.qml +++ b/src/controls/TextField.qml @@ -401,6 +401,8 @@ Control { Note that if there is a \l validator or \l inputMask set on the text field, the signal will only be emitted if the input is in an acceptable state. + + The corresponding handler is \c onAccepted. */ signal accepted() @@ -413,6 +415,8 @@ Control { inputMask set on the text field and enter/return is pressed, this signal will only be emitted if the input follows the inputMask and the validator returns an acceptable state. + + The corresponding handler is \c onEditingFinished. */ signal editingFinished() diff --git a/src/controls/qquickaction.cpp b/src/controls/qquickaction.cpp index 3c4bfed6b..541e9a5d3 100644 --- a/src/controls/qquickaction.cpp +++ b/src/controls/qquickaction.cpp @@ -178,6 +178,8 @@ QT_BEGIN_NAMESPACE Emitted when either the menu item or its bound action have been activated. Includes the object that triggered the event if relevant (e.g. a Button or MenuItem). You shouldn't need to emit this signal, use \l trigger() instead. + + The corresponding handler is \c onTriggered. */ /*! \qmlmethod Action::trigger(QObject *source) @@ -191,6 +193,8 @@ QT_BEGIN_NAMESPACE Emitted whenever a action's \l checked property changes. This usually happens at the same time as \l triggered. + + The corresponding handler is \c onToggled. */ QQuickAction::QQuickAction(QObject *parent) diff --git a/src/controls/qquickmenuitem.cpp b/src/controls/qquickmenuitem.cpp index 1788f4237..60e06495a 100644 --- a/src/controls/qquickmenuitem.cpp +++ b/src/controls/qquickmenuitem.cpp @@ -342,6 +342,8 @@ void QQuickMenuText::updateIcon() Emitted when either the menu item or its bound action have been activated. \sa trigger(), Action::triggered, Action::toggled + + The corresponding handler is \c onTriggered. */ /*! \qmlmethod MenuItem::trigger() @@ -404,6 +406,8 @@ void QQuickMenuText::updateIcon() This usually happens at the same time as \l triggered. \sa checked, triggered, Action::triggered, Action::toggled + + The corresponding handler is \c onToggled. */ /*! |
