diff options
author | Leena Miettinen <riitta-leena.miettinen@qt.io> | 2017-01-24 16:15:31 +0100 |
---|---|---|
committer | Leena Miettinen <riitta-leena.miettinen@qt.io> | 2017-01-25 08:36:59 +0000 |
commit | 79ef1d214c47eb993b95c54b377f584acee11e2f (patch) | |
tree | f0dc54405385164ede1521550c325f875092abd8 /src/charts/barchart/qbarset.cpp | |
parent | 7a66c005af12918bde79665659eee3c49f30b650 (diff) |
Doc: Add missing QML type docs
Task-number: QTBUG-57539
Change-Id: I14cc8349c56d3a3d538d124f339e7f3ce4dff544
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Diffstat (limited to 'src/charts/barchart/qbarset.cpp')
-rw-r--r-- | src/charts/barchart/qbarset.cpp | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/src/charts/barchart/qbarset.cpp b/src/charts/barchart/qbarset.cpp index 7538bb50..4635ef9a 100644 --- a/src/charts/barchart/qbarset.cpp +++ b/src/charts/barchart/qbarset.cpp @@ -146,6 +146,15 @@ QT_CHARTS_BEGIN_NAMESPACE */ /*! + \qmlmethod BarSet::clicked(int index) + + This signal is emitted when the user clicks the bar specified by \a index + in a bar set. + + The corresponding signal handler is \c onClicked. +*/ + +/*! \fn void QBarSet::pressed(int index) This signal is emitted when the user clicks the bar specified by \a index in a bar set @@ -153,6 +162,15 @@ QT_CHARTS_BEGIN_NAMESPACE */ /*! + \qmlmethod BarSet::pressed(int index) + + This signal is emitted when the user clicks the bar specified by \a index in + a bar set and holds down the mouse button. + + The corresponding signal handler is \c onPressed. +*/ + +/*! \fn void QBarSet::released(int index) This signal is emitted when the user releases the mouse press on the bar specified by @@ -160,12 +178,30 @@ QT_CHARTS_BEGIN_NAMESPACE */ /*! + \qmlmethod BarSet::released(int index) + + This signal is emitted when the user releases the mouse press on the bar + specified by \a index in a bar set. + + The corresponding signal handler is \c onReleased. +*/ + +/*! \fn void QBarSet::doubleClicked(int index) This signal is emitted when the user double-clicks the bar specified by \a index in a bar set. */ /*! + \qmlmethod BarSet::doubleClicked(int index) + + This signal is emitted when the user double-clicks the bar specified by + \a index in a bar set. + + The corresponding signal handler is \c onDoubleClicked. +*/ + +/*! \fn void QBarSet::hovered(bool status, int index) This signal is emitted when a mouse is hovered over the bar specified by \a index in a bar set. |