Adds some missing docs and fixes some incorrect doc references.
Also removes AnimatedImage docs that were exactly the same
as those in base Image type docs.
Change-Id: I1357d3c00e63f1b08683bb78246de93dcc0dac7f
Reviewed-by: Andrew den Exter <andrew.den-exter@nokia.com>
\sa QQuickImageProvider
*/
-/*!
- \qmlproperty bool QtQuick2::AnimatedImage::asynchronous
-
- Specifies that images on the local filesystem should be loaded
- asynchronously in a separate thread. The default value is
- false, causing the user interface thread to block while the
- image is loaded. Setting \a asynchronous to true is useful where
- maintaining a responsive user interface is more desirable
- than having images immediately visible.
-
- Note that this property is only valid for images read from the
- local filesystem. Images loaded via a network resource (e.g. HTTP)
- are always loaded asynchronously.
-*/
-
-/*!
- \qmlproperty bool QtQuick2::AnimatedImage::mirror
-
- This property holds whether the image should be horizontally inverted
- (effectively displaying a mirrored image).
-
- The default value is false.
-*/
-
QQuickAnimatedImage::QQuickAnimatedImage(QQuickItem *parent)
: QQuickImage(*(new QQuickAnimatedImagePrivate), parent)
{
return d->currentIndex;
}
+/*!
+ \qmlproperty int QtQuick2::PathView::currentItem
+ This property holds the current item in the view.
+*/
void QQuickPathView::setCurrentIndex(int idx)
{
Q_D(QQuickPathView);
Default is true.
*/
/*!
- \qmlproperty string QtQuick2::SpriteSequence::goalSprite
+ \qmlproperty string QtQuick2::SpriteSequence::currentSprite
The name of the Sprite which is currently animating.
*/
m_line->setPosition(QPointF(m_line->x(), y));
}
+/*!
+ \qmlmethod QtQuick2::Text::doLayout()
+
+ Triggers a re-layout of the displayed text.
+*/
void QQuickText::doLayout()
{
Q_D(QQuickText);
*/
/*!
- \qmlsignal QtQuick2::Text::onLineLaidOut(line)
+ \qmlsignal QtQuick2::Text::onLineLaidOut(object line)
+
+ This handler is called for each line of text that is laid out during the layout
+ process. The specified \a line object provides more details about the line that
+ is currently being laid out.
- This handler is called for every line during the layout process.
This gives the opportunity to position and resize a line as it is being laid out.
It can for example be used to create columns or lay out text around objects.
- The properties of a line are:
+ The properties of the specified \a line object are:
\list
\li number (read-only)
\li x
/*!
- \qmlmethod QtQuick2::QQuickTextEdit::undo()
+ \qmlmethod QtQuick2::TextEdit::undo()
Undoes the last operation if undo is \l {canUndo}{available}. Deselects any
current selection, and updates the selection start to the current cursor
}
/*!
- \qmlmethod QtQuick2::QQuickTextEdit::redo()
+ \qmlmethod QtQuick2::TextEdit::redo()
Redoes the last operation if redo is \l {canRedo}{available}.
*/
}
/*!
- \qmlmethod string QtQuick2::TextEdit::getText(int start, int end)
+ \qmlmethod string QtQuick2::TextEdit::remove(int start, int end)
Removes the section of text that is between the \a start and \a end positions from the TextEdit.
*/
}
/*!
- \qmlproperty real QtQuick2::PathCubic::relativeControlX
- \qmlproperty real QtQuick2::PathCubic::relativeControlY
+ \qmlproperty real QtQuick2::PathQuad::relativeControlX
+ \qmlproperty real QtQuick2::PathQuad::relativeControlY
Defines the position of the control point relative to the curve's start.