--- /dev/null
+/****************************************************************************
+**
+** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the documentation of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:FDL$
+** GNU Free Documentation License
+** Alternatively, this file may be used under the terms of the GNU Free
+** Documentation License version 1.3 as published by the Free Software
+** Foundation and appearing in the file included in the packaging of
+** this file.
+**
+** Other Usage
+** Alternatively, this file may be used in accordance with the terms
+** and conditions contained in a signed written agreement between you
+** and Nokia.
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+/*!
+ \qmlmodule QtQuick 1
+ \title QML Module QtQuick 1
+
+ \brief The QML Elements
+
+ This QML module contains all the QML elements that are
+ instantiated as objects of C++ classes in the QtDeclarative
+ module.
+ */
/*!
\qmlclass AnimatedImage QDeclarative1AnimatedImage
+ \inqmlmodule QtQuick 1
\inherits Image
- \since 4.7
+ \since QtQuick 1.0
\ingroup basic-visual-elements
The AnimatedImage element extends the features of the \l Image element, providing
*/
/*!
- \qmlproperty url AnimatedImage::source
+ \qmlproperty url QtQuick1::AnimatedImage::source
This property holds the URL that refers to the source image.
*/
/*!
- \qmlproperty bool AnimatedImage::asynchronous
+ \qmlproperty bool QtQuick1::AnimatedImage::asynchronous
Specifies that images on the local filesystem should be loaded
asynchronously in a separate thread. The default value is
*/
/*!
- \qmlproperty bool AnimatedImage::cache
+ \qmlproperty bool QtQuick1::AnimatedImage::cache
\since Quick 1.1
Specifies whether the image should be cached. The default value is
*/
/*!
- \qmlproperty bool AnimatedImage::mirror
+ \qmlproperty bool QtQuick1::AnimatedImage::mirror
\since Quick 1.1
This property holds whether the image should be horizontally inverted
}
/*!
- \qmlproperty bool AnimatedImage::paused
+ \qmlproperty bool QtQuick1::AnimatedImage::paused
This property holds whether the animated image is paused.
By default, this property is false. Set it to true when you want to pause
d->_movie->setPaused(pause);
}
/*!
- \qmlproperty bool AnimatedImage::playing
+ \qmlproperty bool QtQuick1::AnimatedImage::playing
This property holds whether the animated image is playing.
By default, this property is true, meaning that the animation
}
/*!
- \qmlproperty int AnimatedImage::currentFrame
- \qmlproperty int AnimatedImage::frameCount
+ \qmlproperty int QtQuick1::AnimatedImage::currentFrame
+ \qmlproperty int QtQuick1::AnimatedImage::frameCount
currentFrame is the frame that is currently visible. By monitoring this property
for changes, you can animate other items at the same time as the image.
/*!
\qmlclass BorderImage QDeclarative1BorderImage
+ \inqmlmodule QtQuick 1
\brief The BorderImage element provides an image that can be used as a border.
\inherits Item
- \since 4.7
+ \since QtQuick 1.0
\ingroup qml-basic-visual-elements
The BorderImage element is used to create borders out of images by scaling or tiling
*/
/*!
- \qmlproperty bool BorderImage::asynchronous
+ \qmlproperty bool QtQuick1::BorderImage::asynchronous
Specifies that images on the local filesystem should be loaded
asynchronously in a separate thread. The default value is
d->sciReply->deleteLater();
}
/*!
- \qmlproperty enumeration BorderImage::status
+ \qmlproperty enumeration QtQuick1::BorderImage::status
This property describes the status of image loading. It can be one of:
*/
/*!
- \qmlproperty real BorderImage::progress
+ \qmlproperty real QtQuick1::BorderImage::progress
This property holds the progress of image loading, from 0.0 (nothing loaded)
to 1.0 (finished).
*/
/*!
- \qmlproperty bool BorderImage::smooth
+ \qmlproperty bool QtQuick1::BorderImage::smooth
Set this property if you want the image to be smoothly filtered when scaled or
transformed. Smooth filtering gives better visual quality, but is slower. If
*/
/*!
- \qmlproperty bool BorderImage::cache
+ \qmlproperty bool QtQuick1::BorderImage::cache
\since Quick 1.1
Specifies whether the image should be cached. The default value is
*/
/*!
- \qmlproperty bool BorderImage::mirror
+ \qmlproperty bool QtQuick1::BorderImage::mirror
\since Quick 1.1
This property holds whether the image should be horizontally inverted
*/
/*!
- \qmlproperty url BorderImage::source
+ \qmlproperty url QtQuick1::BorderImage::source
This property holds the URL that refers to the source image.
*/
/*!
- \qmlproperty QSize BorderImage::sourceSize
+ \qmlproperty QSize QtQuick1::BorderImage::sourceSize
This property holds the actual width and height of the loaded image.
}
/*!
- \qmlproperty int BorderImage::border.left
- \qmlproperty int BorderImage::border.right
- \qmlproperty int BorderImage::border.top
- \qmlproperty int BorderImage::border.bottom
+ \qmlproperty int QtQuick1::BorderImage::border.left
+ \qmlproperty int QtQuick1::BorderImage::border.right
+ \qmlproperty int QtQuick1::BorderImage::border.top
+ \qmlproperty int QtQuick1::BorderImage::border.bottom
The 4 border lines (2 horizontal and 2 vertical) break the image into 9 sections,
as shown below:
}
/*!
- \qmlproperty enumeration BorderImage::horizontalTileMode
- \qmlproperty enumeration BorderImage::verticalTileMode
+ \qmlproperty enumeration QtQuick1::BorderImage::horizontalTileMode
+ \qmlproperty enumeration QtQuick1::BorderImage::verticalTileMode
This property describes how to repeat or stretch the middle parts of the border image.
/*!
\qmlclass KeyEvent QDeclarative1KeyEvent
- \since 4.7
+ \inqmlmodule QtQuick 1
+ \since QtQuick 1.0
\ingroup qml-event-elements
\brief The KeyEvent object provides information about a key event.
*/
/*!
- \qmlproperty int KeyEvent::key
+ \qmlproperty int QtQuick1::KeyEvent::key
This property holds the code of the key that was pressed or released.
*/
/*!
- \qmlproperty string KeyEvent::text
+ \qmlproperty string QtQuick1::KeyEvent::text
This property holds the Unicode text that the key generated.
The text returned can be an empty string in cases where modifier keys,
*/
/*!
- \qmlproperty bool KeyEvent::isAutoRepeat
+ \qmlproperty bool QtQuick1::KeyEvent::isAutoRepeat
This property holds whether this event comes from an auto-repeating key.
*/
/*!
- \qmlproperty int KeyEvent::count
+ \qmlproperty int QtQuick1::KeyEvent::count
This property holds the number of keys involved in this event. If \l KeyEvent::text
is not empty, this is simply the length of the string.
*/
/*!
- \qmlproperty bool KeyEvent::accepted
+ \qmlproperty bool QtQuick1::KeyEvent::accepted
Setting \a accepted to true prevents the key event from being
propagated to the item's parent.
*/
/*!
- \qmlproperty int KeyEvent::modifiers
+ \qmlproperty int QtQuick1::KeyEvent::modifiers
This property holds the keyboard modifier flags that existed immediately
before the event occurred.
/*!
\qmlclass MouseEvent QDeclarative1MouseEvent
- \since 4.7
+ \inqmlmodule QtQuick 1
+ \since QtQuick 1.0
\ingroup qml-event-elements
\brief The MouseEvent object provides information about a mouse event.
*/
/*!
- \qmlproperty int MouseEvent::x
- \qmlproperty int MouseEvent::y
+ \qmlproperty int QtQuick1::MouseEvent::x
+ \qmlproperty int QtQuick1::MouseEvent::y
These properties hold the coordinates of the position supplied by the mouse event.
*/
/*!
- \qmlproperty bool MouseEvent::accepted
+ \qmlproperty bool QtQuick1::MouseEvent::accepted
Setting \a accepted to true prevents the mouse event from being
propagated to items below this item.
*/
/*!
- \qmlproperty enumeration MouseEvent::button
+ \qmlproperty enumeration QtQuick1::MouseEvent::button
This property holds the button that caused the event. It can be one of:
\list
*/
/*!
- \qmlproperty bool MouseEvent::wasHeld
+ \qmlproperty bool QtQuick1::MouseEvent::wasHeld
This property is true if the mouse button has been held pressed longer the
threshold (800ms).
*/
/*!
- \qmlproperty int MouseEvent::buttons
+ \qmlproperty int QtQuick1::MouseEvent::buttons
This property holds the mouse buttons pressed when the event was generated.
For mouse move events, this is all buttons that are pressed down. For mouse
*/
/*!
- \qmlproperty int MouseEvent::modifiers
+ \qmlproperty int QtQuick1::MouseEvent::modifiers
This property holds the keyboard modifier flags that existed immediately
before the event occurred.
/*!
\qmlclass Flickable QDeclarative1Flickable
- \since 4.7
+ \inqmlmodule QtQuick 1
+ \since QtQuick 1.0
\ingroup qml-basic-interaction-elements
\brief The Flickable item provides a surface that can be "flicked".
*/
/*!
- \qmlsignal Flickable::onMovementStarted()
+ \qmlsignal QtQuick1::Flickable::onMovementStarted()
This handler is called when the view begins moving due to user
interaction.
*/
/*!
- \qmlsignal Flickable::onMovementEnded()
+ \qmlsignal QtQuick1::Flickable::onMovementEnded()
This handler is called when the view stops moving due to user
interaction. If a flick was generated, this handler will
*/
/*!
- \qmlsignal Flickable::onFlickStarted()
+ \qmlsignal QtQuick1::Flickable::onFlickStarted()
This handler is called when the view is flicked. A flick
starts from the point that the mouse or touch is released,
*/
/*!
- \qmlsignal Flickable::onFlickEnded()
+ \qmlsignal QtQuick1::Flickable::onFlickEnded()
This handler is called when the view stops moving due to a flick.
*/
/*!
- \qmlproperty real Flickable::visibleArea.xPosition
- \qmlproperty real Flickable::visibleArea.widthRatio
- \qmlproperty real Flickable::visibleArea.yPosition
- \qmlproperty real Flickable::visibleArea.heightRatio
+ \qmlproperty real QtQuick1::Flickable::visibleArea.xPosition
+ \qmlproperty real QtQuick1::Flickable::visibleArea.widthRatio
+ \qmlproperty real QtQuick1::Flickable::visibleArea.yPosition
+ \qmlproperty real QtQuick1::Flickable::visibleArea.heightRatio
These properties describe the position and size of the currently viewed area.
The size is defined as the percentage of the full view currently visible,
}
/*!
- \qmlproperty real Flickable::contentX
- \qmlproperty real Flickable::contentY
+ \qmlproperty real QtQuick1::Flickable::contentX
+ \qmlproperty real QtQuick1::Flickable::contentY
These properties hold the surface coordinate currently at the top-left
corner of the Flickable. For example, if you flick an image up 100 pixels,
}
/*!
- \qmlproperty bool Flickable::interactive
+ \qmlproperty bool QtQuick1::Flickable::interactive
This property describes whether the user can interact with the Flickable.
A user cannot drag or flick a Flickable that is not interactive.
}
/*!
- \qmlproperty real Flickable::horizontalVelocity
- \qmlproperty real Flickable::verticalVelocity
+ \qmlproperty real QtQuick1::Flickable::horizontalVelocity
+ \qmlproperty real QtQuick1::Flickable::verticalVelocity
The instantaneous velocity of movement along the x and y axes, in pixels/sec.
}
/*!
- \qmlproperty bool Flickable::atXBeginning
- \qmlproperty bool Flickable::atXEnd
- \qmlproperty bool Flickable::atYBeginning
- \qmlproperty bool Flickable::atYEnd
+ \qmlproperty bool QtQuick1::Flickable::atXBeginning
+ \qmlproperty bool QtQuick1::Flickable::atXEnd
+ \qmlproperty bool QtQuick1::Flickable::atYBeginning
+ \qmlproperty bool QtQuick1::Flickable::atYEnd
These properties are true if the flickable view is positioned at the beginning,
or end respecively.
}
/*!
- \qmlproperty Item Flickable::contentItem
+ \qmlproperty Item QtQuick1::Flickable::contentItem
The internal item that contains the Items to be moved in the Flickable.
}
/*!
- \qmlproperty enumeration Flickable::flickableDirection
+ \qmlproperty enumeration QtQuick1::Flickable::flickableDirection
This property determines which directions the view can be flicked.
}
/*!
- \qmlproperty enumeration Flickable::boundsBehavior
+ \qmlproperty enumeration QtQuick1::Flickable::boundsBehavior
This property holds whether the surface may be dragged
beyond the Fickable's boundaries, or overshoot the
Flickable's boundaries when flicked.
}
/*!
- \qmlproperty real Flickable::contentWidth
- \qmlproperty real Flickable::contentHeight
+ \qmlproperty real QtQuick1::Flickable::contentWidth
+ \qmlproperty real QtQuick1::Flickable::contentHeight
The dimensions of the content (the surface controlled by Flickable).
This should typically be set to the combined size of the items placed in the
}
/*!
- \qmlmethod Flickable::resizeContent(real width, real height, QPointF center)
+ \qmlmethod QtQuick1::Flickable::resizeContent(real width, real height, QPointF center)
\preliminary
\since Quick 1.1
}
/*!
- \qmlmethod Flickable::returnToBounds()
+ \qmlmethod QtQuick1::Flickable::returnToBounds()
\preliminary
\since Quick 1.1
}
/*!
- \qmlproperty real Flickable::maximumFlickVelocity
+ \qmlproperty real QtQuick1::Flickable::maximumFlickVelocity
This property holds the maximum velocity that the user can flick the view in pixels/second.
The default value is platform dependent.
}
/*!
- \qmlproperty real Flickable::flickDeceleration
+ \qmlproperty real QtQuick1::Flickable::flickDeceleration
This property holds the rate at which a flick will decelerate.
The default value is platform dependent.
}
/*!
- \qmlproperty bool Flickable::flicking
- \qmlproperty bool Flickable::flickingHorizontally
- \qmlproperty bool Flickable::flickingVertically
+ \qmlproperty bool QtQuick1::Flickable::flicking
+ \qmlproperty bool QtQuick1::Flickable::flickingHorizontally
+ \qmlproperty bool QtQuick1::Flickable::flickingVertically
These properties describe whether the view is currently moving horizontally,
vertically or in either direction, due to the user flicking the view.
}
/*!
- \qmlproperty int Flickable::pressDelay
+ \qmlproperty int QtQuick1::Flickable::pressDelay
This property holds the time to delay (ms) delivering a press to
children of the Flickable. This can be useful where reacting
}
/*!
- \qmlproperty bool Flickable::moving
- \qmlproperty bool Flickable::movingHorizontally
- \qmlproperty bool Flickable::movingVertically
+ \qmlproperty bool QtQuick1::Flickable::moving
+ \qmlproperty bool QtQuick1::Flickable::movingHorizontally
+ \qmlproperty bool QtQuick1::Flickable::movingVertically
These properties describe whether the view is currently moving horizontally,
vertically or in either direction, due to the user either dragging or
/*!
\qmlclass Flipable QDeclarative1Flipable
- \since 4.7
+ \inqmlmodule QtQuick 1
+ \since QtQuick 1.0
\ingroup qml-basic-interaction-elements
\brief The Flipable item provides a surface that can be flipped.
\inherits Item
}
/*!
- \qmlproperty Item Flipable::front
- \qmlproperty Item Flipable::back
+ \qmlproperty Item QtQuick1::Flipable::front
+ \qmlproperty Item QtQuick1::Flipable::back
The front and back sides of the flipable.
*/
}
/*!
- \qmlproperty enumeration Flipable::side
+ \qmlproperty enumeration QtQuick1::Flipable::side
The side of the Flipable currently visible. Possible values are \c
Flipable.Front and \c Flipable.Back.
/*!
\qmlclass FocusPanel QDeclarative1FocusPanel
- \since 4.7
+ \inqmlmodule QtQuick 1
+ \since QtQuick 1.0
\ingroup qml-basic-interaction-elements
\brief The FocusPanel item explicitly creates a focus panel.
}
/*!
- \qmlproperty bool FocusPanel::active
+ \qmlproperty bool QtQuick1::FocusPanel::active
Sets whether the item is the active focus panel.
*/
/*!
\qmlclass FocusScope QDeclarative1FocusScope
- \since 4.7
+ \inqmlmodule QtQuick 1
+ \since QtQuick 1.0
\ingroup qml-basic-interaction-elements
\brief The FocusScope object explicitly creates a focus scope.
/*!
\qmlclass GridView QDeclarative1GridView
- \since 4.7
+ \inqmlmodule QtQuick 1
+ \since QtQuick 1.0
\ingroup qml-view-elements
\inherits Flickable
*/
/*!
- \qmlattachedsignal GridView::onAdd()
+ \qmlattachedsignal QtQuick1::GridView::onAdd()
This attached handler is called immediately after an item is added to the view.
*/
/*!
- \qmlattachedsignal GridView::onRemove()
+ \qmlattachedsignal QtQuick1::GridView::onRemove()
This attached handler is called immediately before an item is removed from the view.
*/
/*!
- \qmlproperty model GridView::model
+ \qmlproperty model QtQuick1::GridView::model
This property holds the model providing data for the grid.
The model provides the set of data that is used to create the items
}
/*!
- \qmlproperty Component GridView::delegate
+ \qmlproperty Component QtQuick1::GridView::delegate
The delegate provides a template defining each item instantiated by the view.
The index is exposed as an accessible \c index property. Properties of the
}
/*!
- \qmlproperty int GridView::currentIndex
- \qmlproperty Item GridView::currentItem
+ \qmlproperty int QtQuick1::GridView::currentIndex
+ \qmlproperty Item QtQuick1::GridView::currentItem
The \c currentIndex property holds the index of the current item, and
\c currentItem holds the current item. Setting the currentIndex to -1
}
/*!
- \qmlproperty Item GridView::highlightItem
+ \qmlproperty Item QtQuick1::GridView::highlightItem
This holds the highlight item created from the \l highlight component.
}
/*!
- \qmlproperty int GridView::count
+ \qmlproperty int QtQuick1::GridView::count
This property holds the number of items in the view.
*/
int QDeclarative1GridView::count() const
}
/*!
- \qmlproperty Component GridView::highlight
+ \qmlproperty Component QtQuick1::GridView::highlight
This property holds the component to use as the highlight.
An instance of the highlight component is created for each view.
}
/*!
- \qmlproperty bool GridView::highlightFollowsCurrentItem
+ \qmlproperty bool QtQuick1::GridView::highlightFollowsCurrentItem
This property sets whether the highlight is managed by the view.
If this property is true (the default value), the highlight is moved smoothly
}
/*!
- \qmlproperty int GridView::highlightMoveDuration
+ \qmlproperty int QtQuick1::GridView::highlightMoveDuration
This property holds the move animation duration of the highlight delegate.
highlightFollowsCurrentItem must be true for this property
/*!
- \qmlproperty real GridView::preferredHighlightBegin
- \qmlproperty real GridView::preferredHighlightEnd
- \qmlproperty enumeration GridView::highlightRangeMode
+ \qmlproperty real QtQuick1::GridView::preferredHighlightBegin
+ \qmlproperty real QtQuick1::GridView::preferredHighlightEnd
+ \qmlproperty enumeration QtQuick1::GridView::highlightRangeMode
These properties define the preferred range of the highlight (for the current item)
within the view. The \c preferredHighlightBegin value must be less than the
}
/*!
- \qmlproperty enumeration GridView::layoutDirection
+ \qmlproperty enumeration QtQuick1::GridView::layoutDirection
This property holds the layout direction of the grid.
Possible values:
}
/*!
- \qmlproperty enumeration GridView::effectiveLayoutDirection
+ \qmlproperty enumeration QtQuick1::GridView::effectiveLayoutDirection
This property holds the effective layout direction of the grid.
When using the attached property \l {LayoutMirroring::enabled}{LayoutMirroring::enabled} for locale layouts,
}
/*!
- \qmlproperty enumeration GridView::flow
+ \qmlproperty enumeration QtQuick1::GridView::flow
This property holds the flow of the grid.
Possible values:
}
/*!
- \qmlproperty bool GridView::keyNavigationWraps
+ \qmlproperty bool QtQuick1::GridView::keyNavigationWraps
This property holds whether the grid wraps key navigation
If this is true, key navigation that would move the current item selection
}
/*!
- \qmlproperty int GridView::cacheBuffer
+ \qmlproperty int QtQuick1::GridView::cacheBuffer
This property determines whether delegates are retained outside the
visible area of the view.
}
/*!
- \qmlproperty int GridView::cellWidth
- \qmlproperty int GridView::cellHeight
+ \qmlproperty int QtQuick1::GridView::cellWidth
+ \qmlproperty int QtQuick1::GridView::cellHeight
These properties holds the width and height of each cell in the grid.
}
}
/*!
- \qmlproperty enumeration GridView::snapMode
+ \qmlproperty enumeration QtQuick1::GridView::snapMode
This property determines how the view scrolling will settle following a drag or flick.
The possible values are:
}
/*!
- \qmlproperty Component GridView::footer
+ \qmlproperty Component QtQuick1::GridView::footer
This property holds the component to use as the footer.
An instance of the footer component is created for each view. The
}
/*!
- \qmlproperty Component GridView::header
+ \qmlproperty Component QtQuick1::GridView::header
This property holds the component to use as the header.
An instance of the header component is created for each view. The
}
/*!
- \qmlmethod GridView::moveCurrentIndexUp()
+ \qmlmethod QtQuick1::GridView::moveCurrentIndexUp()
Move the currentIndex up one item in the view.
The current index will wrap if keyNavigationWraps is true and it
}
/*!
- \qmlmethod GridView::moveCurrentIndexDown()
+ \qmlmethod QtQuick1::GridView::moveCurrentIndexDown()
Move the currentIndex down one item in the view.
The current index will wrap if keyNavigationWraps is true and it
}
/*!
- \qmlmethod GridView::moveCurrentIndexLeft()
+ \qmlmethod QtQuick1::GridView::moveCurrentIndexLeft()
Move the currentIndex left one item in the view.
The current index will wrap if keyNavigationWraps is true and it
}
/*!
- \qmlmethod GridView::moveCurrentIndexRight()
+ \qmlmethod QtQuick1::GridView::moveCurrentIndexRight()
Move the currentIndex right one item in the view.
The current index will wrap if keyNavigationWraps is true and it
}
/*!
- \qmlmethod GridView::positionViewAtIndex(int index, PositionMode mode)
+ \qmlmethod QtQuick1::GridView::positionViewAtIndex(int index, PositionMode mode)
Positions the view such that the \a index is at the position specified by
\a mode:
}
/*!
- \qmlmethod GridView::positionViewAtBeginning()
- \qmlmethod GridView::positionViewAtEnd()
+ \qmlmethod QtQuick1::GridView::positionViewAtBeginning()
+ \qmlmethod QtQuick1::GridView::positionViewAtEnd()
\since Quick 1.1
Positions the view at the beginning or end, taking into account any header or footer.
}
/*!
- \qmlmethod int GridView::indexAt(int x, int y)
+ \qmlmethod int QtQuick1::GridView::indexAt(int x, int y)
Returns the index of the visible item containing the point \a x, \a y in content
coordinates. If there is no item at the point specified, or the item is
/*!
\qmlclass Image QDeclarative1Image
- \since 4.7
+ \inqmlmodule QtQuick 1
+ \since QtQuick 1.0
\ingroup qml-basic-visual-elements
\brief The Image element displays an image in a declarative user interface
\inherits Item
}
/*!
- \qmlproperty enumeration Image::fillMode
+ \qmlproperty enumeration QtQuick1::Image::fillMode
Set this property to define what happens when the source image has a different size
than the item.
/*!
- \qmlproperty real Image::paintedWidth
- \qmlproperty real Image::paintedHeight
+ \qmlproperty real QtQuick1::Image::paintedWidth
+ \qmlproperty real QtQuick1::Image::paintedHeight
These properties hold the size of the image that is actually painted.
In most cases it is the same as \c width and \c height, but when using a
}
/*!
- \qmlproperty enumeration Image::status
+ \qmlproperty enumeration QtQuick1::Image::status
This property holds the status of image loading. It can be one of:
\list
*/
/*!
- \qmlproperty real Image::progress
+ \qmlproperty real QtQuick1::Image::progress
This property holds the progress of image loading, from 0.0 (nothing loaded)
to 1.0 (finished).
*/
/*!
- \qmlproperty bool Image::smooth
+ \qmlproperty bool QtQuick1::Image::smooth
Set this property if you want the image to be smoothly filtered when scaled or
transformed. Smooth filtering gives better visual quality, but is slower. If
*/
/*!
- \qmlproperty QSize Image::sourceSize
+ \qmlproperty QSize QtQuick1::Image::sourceSize
This property holds the actual width and height of the loaded image.
}
/*!
- \qmlproperty url Image::source
+ \qmlproperty url QtQuick1::Image::source
Image can handle any image format supported by Qt, loaded from any URL scheme supported by Qt.
*/
/*!
- \qmlproperty bool Image::asynchronous
+ \qmlproperty bool QtQuick1::Image::asynchronous
Specifies that images on the local filesystem should be loaded
asynchronously in a separate thread. The default value is
*/
/*!
- \qmlproperty bool Image::cache
+ \qmlproperty bool QtQuick1::Image::cache
\since Quick 1.1
Specifies whether the image should be cached. The default value is
*/
/*!
- \qmlproperty bool Image::mirror
+ \qmlproperty bool QtQuick1::Image::mirror
\since Quick 1.1
This property holds whether the image should be horizontally inverted
/*!
\qmlclass Transform QGraphicsTransform
+ \inqmlmodule QtQuick 1
\ingroup qml-transform-elements
- \since 4.7
+ \since QtQuick 1.0
\brief The Transform elements provide a way of building advanced transformations on Items.
The Transform element is a base type which cannot be instantiated directly.
/*!
\qmlclass Translate QDeclarative1Translate
+ \inqmlmodule QtQuick 1
\ingroup qml-transform-elements
- \since 4.7
+ \since QtQuick 1.0
\brief The Translate object provides a way to move an Item without changing its x or y properties.
The Translate object provides independent control over position in addition to the Item's x and y properties.
*/
/*!
- \qmlproperty real Translate::x
+ \qmlproperty real QtQuick1::Translate::x
The translation along the X axis.
*/
/*!
- \qmlproperty real Translate::y
+ \qmlproperty real QtQuick1::Translate::y
The translation along the Y axis.
*/
/*!
\qmlclass Scale QGraphicsScale
+ \inqmlmodule QtQuick 1
\ingroup qml-transform-elements
- \since 4.7
+ \since QtQuick 1.0
\brief The Scale element provides a way to scale an Item.
The Scale element gives more control over scaling than using \l Item's \l{Item::scale}{scale} property. Specifically,
*/
/*!
- \qmlproperty real Scale::origin.x
- \qmlproperty real Scale::origin.y
+ \qmlproperty real QtQuick1::Scale::origin.x
+ \qmlproperty real QtQuick1::Scale::origin.y
The point that the item is scaled from (i.e., the point that stays fixed relative to the parent as
the rest of the item grows). By default the origin is 0, 0.
*/
/*!
- \qmlproperty real Scale::xScale
+ \qmlproperty real QtQuick1::Scale::xScale
The scaling factor for the X axis.
*/
/*!
- \qmlproperty real Scale::yScale
+ \qmlproperty real QtQuick1::Scale::yScale
The scaling factor for the Y axis.
*/
/*!
\qmlclass Rotation QGraphicsRotation
+ \inqmlmodule QtQuick 1
\ingroup qml-transform-elements
- \since 4.7
+ \since QtQuick 1.0
\brief The Rotation object provides a way to rotate an Item.
The Rotation object gives more control over rotation than using \l Item's \l{Item::rotation}{rotation} property.
*/
/*!
- \qmlproperty real Rotation::origin.x
- \qmlproperty real Rotation::origin.y
+ \qmlproperty real QtQuick1::Rotation::origin.x
+ \qmlproperty real QtQuick1::Rotation::origin.y
The origin point of the rotation (i.e., the point that stays fixed relative to the parent as
the rest of the item rotates). By default the origin is 0, 0.
*/
/*!
- \qmlproperty real Rotation::axis.x
- \qmlproperty real Rotation::axis.y
- \qmlproperty real Rotation::axis.z
+ \qmlproperty real QtQuick1::Rotation::axis.x
+ \qmlproperty real QtQuick1::Rotation::axis.y
+ \qmlproperty real QtQuick1::Rotation::axis.z
The axis to rotate around. For simple (2D) rotation around a point, you do not need to specify an axis,
as the default axis is the z axis (\c{ axis { x: 0; y: 0; z: 1 } }).
*/
/*!
- \qmlproperty real Rotation::angle
+ \qmlproperty real QtQuick1::Rotation::angle
The angle to rotate, in degrees clockwise.
*/
/*!
\qmlclass KeyNavigation QDeclarative1KeyNavigationAttached
+ \inqmlmodule QtQuick 1
\ingroup qml-basic-interaction-elements
- \since 4.7
+ \since QtQuick 1.0
\brief The KeyNavigation attached property supports key navigation by arrow keys.
Key-based user interfaces commonly allow the use of arrow keys to navigate between
*/
/*!
- \qmlproperty Item KeyNavigation::left
- \qmlproperty Item KeyNavigation::right
- \qmlproperty Item KeyNavigation::up
- \qmlproperty Item KeyNavigation::down
- \qmlproperty Item KeyNavigation::tab
- \qmlproperty Item KeyNavigation::backtab
+ \qmlproperty Item QtQuick1::KeyNavigation::left
+ \qmlproperty Item QtQuick1::KeyNavigation::right
+ \qmlproperty Item QtQuick1::KeyNavigation::up
+ \qmlproperty Item QtQuick1::KeyNavigation::down
+ \qmlproperty Item QtQuick1::KeyNavigation::tab
+ \qmlproperty Item QtQuick1::KeyNavigation::backtab
These properties hold the item to assign focus to
when the left, right, up or down cursor keys, or the
*/
/*!
- \qmlproperty Item KeyNavigation::tab
- \qmlproperty Item KeyNavigation::backtab
+ \qmlproperty Item QtQuick1::KeyNavigation::tab
+ \qmlproperty Item QtQuick1::KeyNavigation::backtab
These properties hold the item to assign focus to
when the Tab key or Shift+Tab key combination (Backtab) are pressed.
}
/*!
- \qmlproperty enumeration KeyNavigation::priority
+ \qmlproperty enumeration QtQuick1::KeyNavigation::priority
This property determines whether the keys are processed before
or after the attached item's own key handling.
/*!
\qmlclass LayoutMirroring QDeclarative1LayoutMirroringAttached
+ \inqmlmodule QtQuick 1
\since QtQuick 1.1
\ingroup qml-utility-elements
\brief The LayoutMirroring attached property is used to mirror layout behavior.
*/
/*!
- \qmlproperty bool LayoutMirroring::enabled
+ \qmlproperty bool QtQuick1::LayoutMirroring::enabled
This property holds whether the item's layout is mirrored horizontally. Setting this to true
horizontally reverses \l {anchor-layout}{anchor} settings such that left anchors become right,
*/
/*!
- \qmlproperty bool LayoutMirroring::childrenInherit
+ \qmlproperty bool QtQuick1::LayoutMirroring::childrenInherit
This property holds whether the \l {enabled}{LayoutMirroring.enabled} value for this item
is inherited by its children.
/*!
\qmlclass Keys QDeclarative1KeysAttached
+ \inqmlmodule QtQuick 1
\ingroup qml-basic-interaction-elements
- \since 4.7
+ \since QtQuick 1.0
\brief The Keys attached property provides key handling to Items.
All visual primitives support key handling via the Keys
*/
/*!
- \qmlproperty bool Keys::enabled
+ \qmlproperty bool QtQuick1::Keys::enabled
This flags enables key handling if true (default); otherwise
no key handlers will be called.
*/
/*!
- \qmlproperty enumeration Keys::priority
+ \qmlproperty enumeration QtQuick1::Keys::priority
This property determines whether the keys are processed before
or after the attached item's own key handling.
*/
/*!
- \qmlproperty list<Object> Keys::forwardTo
+ \qmlproperty list<Object> QtQuick1::Keys::forwardTo
This property provides a way to forward key presses, key releases, and keyboard input
coming from input methods to other items. This can be useful when you want
*/
/*!
- \qmlsignal Keys::onPressed(KeyEvent event)
+ \qmlsignal QtQuick1::Keys::onPressed(KeyEvent event)
This handler is called when a key has been pressed. The \a event
parameter provides information about the event.
*/
/*!
- \qmlsignal Keys::onReleased(KeyEvent event)
+ \qmlsignal QtQuick1::Keys::onReleased(KeyEvent event)
This handler is called when a key has been released. The \a event
parameter provides information about the event.
*/
/*!
- \qmlsignal Keys::onDigit0Pressed(KeyEvent event)
+ \qmlsignal QtQuick1::Keys::onDigit0Pressed(KeyEvent event)
This handler is called when the digit '0' has been pressed. The \a event
parameter provides information about the event.
*/
/*!
- \qmlsignal Keys::onDigit1Pressed(KeyEvent event)
+ \qmlsignal QtQuick1::Keys::onDigit1Pressed(KeyEvent event)
This handler is called when the digit '1' has been pressed. The \a event
parameter provides information about the event.
*/
/*!
- \qmlsignal Keys::onDigit2Pressed(KeyEvent event)
+ \qmlsignal QtQuick1::Keys::onDigit2Pressed(KeyEvent event)
This handler is called when the digit '2' has been pressed. The \a event
parameter provides information about the event.
*/
/*!
- \qmlsignal Keys::onDigit3Pressed(KeyEvent event)
+ \qmlsignal QtQuick1::Keys::onDigit3Pressed(KeyEvent event)
This handler is called when the digit '3' has been pressed. The \a event
parameter provides information about the event.
*/
/*!
- \qmlsignal Keys::onDigit4Pressed(KeyEvent event)
+ \qmlsignal QtQuick1::Keys::onDigit4Pressed(KeyEvent event)
This handler is called when the digit '4' has been pressed. The \a event
parameter provides information about the event.
*/
/*!
- \qmlsignal Keys::onDigit5Pressed(KeyEvent event)
+ \qmlsignal QtQuick1::Keys::onDigit5Pressed(KeyEvent event)
This handler is called when the digit '5' has been pressed. The \a event
parameter provides information about the event.
*/
/*!
- \qmlsignal Keys::onDigit6Pressed(KeyEvent event)
+ \qmlsignal QtQuick1::Keys::onDigit6Pressed(KeyEvent event)
This handler is called when the digit '6' has been pressed. The \a event
parameter provides information about the event.
*/
/*!
- \qmlsignal Keys::onDigit7Pressed(KeyEvent event)
+ \qmlsignal QtQuick1::Keys::onDigit7Pressed(KeyEvent event)
This handler is called when the digit '7' has been pressed. The \a event
parameter provides information about the event.
*/
/*!
- \qmlsignal Keys::onDigit8Pressed(KeyEvent event)
+ \qmlsignal QtQuick1::Keys::onDigit8Pressed(KeyEvent event)
This handler is called when the digit '8' has been pressed. The \a event
parameter provides information about the event.
*/
/*!
- \qmlsignal Keys::onDigit9Pressed(KeyEvent event)
+ \qmlsignal QtQuick1::Keys::onDigit9Pressed(KeyEvent event)
This handler is called when the digit '9' has been pressed. The \a event
parameter provides information about the event.
*/
/*!
- \qmlsignal Keys::onLeftPressed(KeyEvent event)
+ \qmlsignal QtQuick1::Keys::onLeftPressed(KeyEvent event)
This handler is called when the Left arrow has been pressed. The \a event
parameter provides information about the event.
*/
/*!
- \qmlsignal Keys::onRightPressed(KeyEvent event)
+ \qmlsignal QtQuick1::Keys::onRightPressed(KeyEvent event)
This handler is called when the Right arrow has been pressed. The \a event
parameter provides information about the event.
*/
/*!
- \qmlsignal Keys::onUpPressed(KeyEvent event)
+ \qmlsignal QtQuick1::Keys::onUpPressed(KeyEvent event)
This handler is called when the Up arrow has been pressed. The \a event
parameter provides information about the event.
*/
/*!
- \qmlsignal Keys::onDownPressed(KeyEvent event)
+ \qmlsignal QtQuick1::Keys::onDownPressed(KeyEvent event)
This handler is called when the Down arrow has been pressed. The \a event
parameter provides information about the event.
*/
/*!
- \qmlsignal Keys::onTabPressed(KeyEvent event)
+ \qmlsignal QtQuick1::Keys::onTabPressed(KeyEvent event)
This handler is called when the Tab key has been pressed. The \a event
parameter provides information about the event.
*/
/*!
- \qmlsignal Keys::onBacktabPressed(KeyEvent event)
+ \qmlsignal QtQuick1::Keys::onBacktabPressed(KeyEvent event)
This handler is called when the Shift+Tab key combination (Backtab) has
been pressed. The \a event parameter provides information about the event.
*/
/*!
- \qmlsignal Keys::onAsteriskPressed(KeyEvent event)
+ \qmlsignal QtQuick1::Keys::onAsteriskPressed(KeyEvent event)
This handler is called when the Asterisk '*' has been pressed. The \a event
parameter provides information about the event.
*/
/*!
- \qmlsignal Keys::onEscapePressed(KeyEvent event)
+ \qmlsignal QtQuick1::Keys::onEscapePressed(KeyEvent event)
This handler is called when the Escape key has been pressed. The \a event
parameter provides information about the event.
*/
/*!
- \qmlsignal Keys::onReturnPressed(KeyEvent event)
+ \qmlsignal QtQuick1::Keys::onReturnPressed(KeyEvent event)
This handler is called when the Return key has been pressed. The \a event
parameter provides information about the event.
*/
/*!
- \qmlsignal Keys::onEnterPressed(KeyEvent event)
+ \qmlsignal QtQuick1::Keys::onEnterPressed(KeyEvent event)
This handler is called when the Enter key has been pressed. The \a event
parameter provides information about the event.
*/
/*!
- \qmlsignal Keys::onDeletePressed(KeyEvent event)
+ \qmlsignal QtQuick1::Keys::onDeletePressed(KeyEvent event)
This handler is called when the Delete key has been pressed. The \a event
parameter provides information about the event.
*/
/*!
- \qmlsignal Keys::onSpacePressed(KeyEvent event)
+ \qmlsignal QtQuick1::Keys::onSpacePressed(KeyEvent event)
This handler is called when the Space key has been pressed. The \a event
parameter provides information about the event.
*/
/*!
- \qmlsignal Keys::onBackPressed(KeyEvent event)
+ \qmlsignal QtQuick1::Keys::onBackPressed(KeyEvent event)
This handler is called when the Back key has been pressed. The \a event
parameter provides information about the event.
*/
/*!
- \qmlsignal Keys::onCancelPressed(KeyEvent event)
+ \qmlsignal QtQuick1::Keys::onCancelPressed(KeyEvent event)
This handler is called when the Cancel key has been pressed. The \a event
parameter provides information about the event.
*/
/*!
- \qmlsignal Keys::onSelectPressed(KeyEvent event)
+ \qmlsignal QtQuick1::Keys::onSelectPressed(KeyEvent event)
This handler is called when the Select key has been pressed. The \a event
parameter provides information about the event.
*/
/*!
- \qmlsignal Keys::onYesPressed(KeyEvent event)
+ \qmlsignal QtQuick1::Keys::onYesPressed(KeyEvent event)
This handler is called when the Yes key has been pressed. The \a event
parameter provides information about the event.
*/
/*!
- \qmlsignal Keys::onNoPressed(KeyEvent event)
+ \qmlsignal QtQuick1::Keys::onNoPressed(KeyEvent event)
This handler is called when the No key has been pressed. The \a event
parameter provides information about the event.
*/
/*!
- \qmlsignal Keys::onContext1Pressed(KeyEvent event)
+ \qmlsignal QtQuick1::Keys::onContext1Pressed(KeyEvent event)
This handler is called when the Context1 key has been pressed. The \a event
parameter provides information about the event.
*/
/*!
- \qmlsignal Keys::onContext2Pressed(KeyEvent event)
+ \qmlsignal QtQuick1::Keys::onContext2Pressed(KeyEvent event)
This handler is called when the Context2 key has been pressed. The \a event
parameter provides information about the event.
*/
/*!
- \qmlsignal Keys::onContext3Pressed(KeyEvent event)
+ \qmlsignal QtQuick1::Keys::onContext3Pressed(KeyEvent event)
This handler is called when the Context3 key has been pressed. The \a event
parameter provides information about the event.
*/
/*!
- \qmlsignal Keys::onContext4Pressed(KeyEvent event)
+ \qmlsignal QtQuick1::Keys::onContext4Pressed(KeyEvent event)
This handler is called when the Context4 key has been pressed. The \a event
parameter provides information about the event.
*/
/*!
- \qmlsignal Keys::onCallPressed(KeyEvent event)
+ \qmlsignal QtQuick1::Keys::onCallPressed(KeyEvent event)
This handler is called when the Call key has been pressed. The \a event
parameter provides information about the event.
*/
/*!
- \qmlsignal Keys::onHangupPressed(KeyEvent event)
+ \qmlsignal QtQuick1::Keys::onHangupPressed(KeyEvent event)
This handler is called when the Hangup key has been pressed. The \a event
parameter provides information about the event.
*/
/*!
- \qmlsignal Keys::onFlipPressed(KeyEvent event)
+ \qmlsignal QtQuick1::Keys::onFlipPressed(KeyEvent event)
This handler is called when the Flip key has been pressed. The \a event
parameter provides information about the event.
*/
/*!
- \qmlsignal Keys::onMenuPressed(KeyEvent event)
+ \qmlsignal QtQuick1::Keys::onMenuPressed(KeyEvent event)
This handler is called when the Menu key has been pressed. The \a event
parameter provides information about the event.
*/
/*!
- \qmlsignal Keys::onVolumeUpPressed(KeyEvent event)
+ \qmlsignal QtQuick1::Keys::onVolumeUpPressed(KeyEvent event)
This handler is called when the VolumeUp key has been pressed. The \a event
parameter provides information about the event.
*/
/*!
- \qmlsignal Keys::onVolumeDownPressed(KeyEvent event)
+ \qmlsignal QtQuick1::Keys::onVolumeDownPressed(KeyEvent event)
This handler is called when the VolumeDown key has been pressed. The \a event
parameter provides information about the event.
/*!
\class QDeclarativeItem
- \since 4.7
+ \since QtQuick 1.0
\brief The QDeclarativeItem class provides the most basic of all visual items in QML.
All visual items in Qt Declarative inherit from QDeclarativeItem. Although QDeclarativeItem
/*!
\qmlclass Item QDeclarativeItem
+ \inqmlmodule QtQuick 1
\ingroup qml-basic-visual-elements
- \since 4.7
+ \since QtQuick 1.0
\brief The Item is the most basic of all visual items in QML.
All visual items in Qt Declarative inherit from Item. Although Item
}
/*!
- \qmlproperty enumeration Item::transformOrigin
+ \qmlproperty enumeration QtQuick1::Item::transformOrigin
This property holds the origin point around which scale and rotation transform.
Nine transform origins are available, as shown in the image below.
*/
/*!
- \qmlproperty Item Item::parent
+ \qmlproperty Item QtQuick1::Item::parent
This property holds the parent of the item.
*/
}
/*!
- \qmlproperty real Item::childrenRect.x
- \qmlproperty real Item::childrenRect.y
- \qmlproperty real Item::childrenRect.width
- \qmlproperty real Item::childrenRect.height
+ \qmlproperty real QtQuick1::Item::childrenRect.x
+ \qmlproperty real QtQuick1::Item::childrenRect.y
+ \qmlproperty real QtQuick1::Item::childrenRect.width
+ \qmlproperty real QtQuick1::Item::childrenRect.height
The childrenRect properties allow an item access to the geometry of its
children. This property is useful if you have an item that needs to be
/*!
- \qmlproperty list<Item> Item::children
- \qmlproperty list<Object> Item::resources
+ \qmlproperty list<Item> QtQuick1::Item::children
+ \qmlproperty list<Object> QtQuick1::Item::resources
The children property contains the list of visual children of this item.
The resources property contains non-visual resources that you want to
}
/*!
- \qmlproperty list<Object> Item::data
+ \qmlproperty list<Object> QtQuick1::Item::data
\default
The data property allows you to freely mix visual children and resources
}
/*!
- \qmlproperty real Item::x
- \qmlproperty real Item::y
- \qmlproperty real Item::width
- \qmlproperty real Item::height
+ \qmlproperty real QtQuick1::Item::x
+ \qmlproperty real QtQuick1::Item::y
+ \qmlproperty real QtQuick1::Item::width
+ \qmlproperty real QtQuick1::Item::height
Defines the item's position and size relative to its parent.
*/
/*!
- \qmlproperty real Item::z
+ \qmlproperty real QtQuick1::Item::z
Sets the stacking order of sibling items. By default the stacking order is 0.
*/
/*!
- \qmlproperty bool Item::visible
+ \qmlproperty bool QtQuick1::Item::visible
This property holds whether the item is visible. By default this is true.
}
/*!
- \qmlproperty AnchorLine Item::anchors.top
- \qmlproperty AnchorLine Item::anchors.bottom
- \qmlproperty AnchorLine Item::anchors.left
- \qmlproperty AnchorLine Item::anchors.right
- \qmlproperty AnchorLine Item::anchors.horizontalCenter
- \qmlproperty AnchorLine Item::anchors.verticalCenter
- \qmlproperty AnchorLine Item::anchors.baseline
+ \qmlproperty AnchorLine QtQuick1::Item::anchors.top
+ \qmlproperty AnchorLine QtQuick1::Item::anchors.bottom
+ \qmlproperty AnchorLine QtQuick1::Item::anchors.left
+ \qmlproperty AnchorLine QtQuick1::Item::anchors.right
+ \qmlproperty AnchorLine QtQuick1::Item::anchors.horizontalCenter
+ \qmlproperty AnchorLine QtQuick1::Item::anchors.verticalCenter
+ \qmlproperty AnchorLine QtQuick1::Item::anchors.baseline
- \qmlproperty Item Item::anchors.fill
- \qmlproperty Item Item::anchors.centerIn
+ \qmlproperty Item QtQuick1::Item::anchors.fill
+ \qmlproperty Item QtQuick1::Item::anchors.centerIn
- \qmlproperty real Item::anchors.margins
- \qmlproperty real Item::anchors.topMargin
- \qmlproperty real Item::anchors.bottomMargin
- \qmlproperty real Item::anchors.leftMargin
- \qmlproperty real Item::anchors.rightMargin
- \qmlproperty real Item::anchors.horizontalCenterOffset
- \qmlproperty real Item::anchors.verticalCenterOffset
- \qmlproperty real Item::anchors.baselineOffset
+ \qmlproperty real QtQuick1::Item::anchors.margins
+ \qmlproperty real QtQuick1::Item::anchors.topMargin
+ \qmlproperty real QtQuick1::Item::anchors.bottomMargin
+ \qmlproperty real QtQuick1::Item::anchors.leftMargin
+ \qmlproperty real QtQuick1::Item::anchors.rightMargin
+ \qmlproperty real QtQuick1::Item::anchors.horizontalCenterOffset
+ \qmlproperty real QtQuick1::Item::anchors.verticalCenterOffset
+ \qmlproperty real QtQuick1::Item::anchors.baselineOffset
- \qmlproperty bool Item::anchors.mirrored
+ \qmlproperty bool QtQuick1::Item::anchors.mirrored
Anchors provide a way to position an item by specifying its
relationship with other items.
}
/*!
- \qmlproperty real Item::rotation
+ \qmlproperty real QtQuick1::Item::rotation
This property holds the rotation of the item in degrees clockwise.
This specifies how many degrees to rotate the item around its transformOrigin.
*/
/*!
- \qmlproperty real Item::scale
+ \qmlproperty real QtQuick1::Item::scale
This property holds the scale of the item.
A scale of less than 1 means the item will be displayed smaller than
*/
/*!
- \qmlproperty real Item::opacity
+ \qmlproperty real QtQuick1::Item::opacity
This property holds the opacity of the item. Opacity is specified as a
number between 0 (fully transparent) and 1 (fully opaque). The default is 1.
}
/*!
- \qmlmethod object Item::mapFromItem(Item item, real x, real y)
+ \qmlmethod object QtQuick1::Item::mapFromItem(Item item, real x, real y)
Maps the point (\a x, \a y), which is in \a item's coordinate system, to
this item's coordinate system, and returns an object with \c x and \c y
}
/*!
- \qmlmethod object Item::mapToItem(Item item, real x, real y)
+ \qmlmethod object QtQuick1::Item::mapToItem(Item item, real x, real y)
Maps the point (\a x, \a y), which is in this item's coordinate system, to
\a item's coordinate system, and returns an object with \c x and \c y
}
/*!
- \qmlmethod Item::forceActiveFocus()
+ \qmlmethod QtQuick1::Item::forceActiveFocus()
Forces active focus on the item.
/*!
- \qmlmethod Item::childAt(real x, real y)
+ \qmlmethod QtQuick1::Item::childAt(real x, real y)
Returns the visible child item at point (\a x, \a y), which is in this
item's coordinate system, or \c null if there is no such item.
}
/*!
- \qmlproperty list<State> Item::states
+ \qmlproperty list<State> QtQuick1::Item::states
This property holds a list of states defined by the item.
\qml
}
/*!
- \qmlproperty list<Transition> Item::transitions
+ \qmlproperty list<Transition> QtQuick1::Item::transitions
This property holds a list of transitions defined by the item.
\qml
}
/*
- \qmlproperty list<Filter> Item::filter
+ \qmlproperty list<Filter> QtQuick1::Item::filter
This property holds a list of graphical filters to be applied to the item.
\l {Filter}{Filters} include things like \l {Blur}{blurring}
*/
/*!
- \qmlproperty bool Item::clip
+ \qmlproperty bool QtQuick1::Item::clip
This property holds whether clipping is enabled. The default clip value is \c false.
If clipping is enabled, an item will clip its own painting, as well
*/
/*!
- \qmlproperty string Item::state
+ \qmlproperty string QtQuick1::Item::state
This property holds the name of the current state of the item.
}
/*!
- \qmlproperty list<Transform> Item::transform
+ \qmlproperty list<Transform> QtQuick1::Item::transform
This property holds the list of transformations to apply.
For more information see \l Transform.
}
/*!
- \qmlproperty real Item::implicitWidth
- \qmlproperty real Item::implicitHeight
+ \qmlproperty real QtQuick1::Item::implicitWidth
+ \qmlproperty real QtQuick1::Item::implicitHeight
\since Quick 1.1
Defines the natural width or height of the Item if no \l width or \l height is specified.
}
/*!
- \qmlproperty bool Item::activeFocus
+ \qmlproperty bool QtQuick1::Item::activeFocus
This property indicates whether the item has active focus.
}
/*!
- \qmlproperty bool Item::focus
+ \qmlproperty bool QtQuick1::Item::focus
This property indicates whether the item has focus within the enclosing focus scope. If true, this item
will gain active focus when the enclosing focus scope gains active focus.
In the following example, \c input will be given active focus when \c scope gains active focus.
/*!
\qmlclass LayoutItem QDeclarative1LayoutItem
+ \inqmlmodule QtQuick 1
\ingroup qml-utility-elements
- \since 4.7
+ \since QtQuick 1.0
\brief The LayoutItem element allows declarative UI elements to be placed inside Qt's Graphics View layouts.
LayoutItem is a variant of \l Item with additional size hint properties. These properties provide the size hints
*/
/*!
- \qmlproperty QSizeF LayoutItem::maximumSize
+ \qmlproperty QSizeF QtQuick1::LayoutItem::maximumSize
The maximumSize property can be set to specify the maximum desired size of this LayoutItem
*/
/*!
- \qmlproperty QSizeF LayoutItem::minimumSize
+ \qmlproperty QSizeF QtQuick1::LayoutItem::minimumSize
The minimumSize property can be set to specify the minimum desired size of this LayoutItem
*/
/*!
- \qmlproperty QSizeF LayoutItem::preferredSize
+ \qmlproperty QSizeF QtQuick1::LayoutItem::preferredSize
The preferredSize property can be set to specify the preferred size of this LayoutItem
*/
/*!
\qmlclass ListView QDeclarative1ListView
+ \inqmlmodule QtQuick 1
\ingroup qml-view-elements
- \since 4.7
+ \since QtQuick 1.0
\inherits Flickable
\brief The ListView item provides a list view of items provided by a model.
*/
/*!
- \qmlattachedsignal ListView::onAdd()
+ \qmlattachedsignal QtQuick1::ListView::onAdd()
This attached handler is called immediately after an item is added to the view.
*/
/*!
- \qmlattachedsignal ListView::onRemove()
+ \qmlattachedsignal QtQuick1::ListView::onRemove()
This attached handler is called immediately before an item is removed from the view.
*/
/*!
- \qmlproperty model ListView::model
+ \qmlproperty model QtQuick1::ListView::model
This property holds the model providing data for the list.
The model provides the set of data that is used to create the items
}
/*!
- \qmlproperty Component ListView::delegate
+ \qmlproperty Component QtQuick1::ListView::delegate
The delegate provides a template defining each item instantiated by the view.
The index is exposed as an accessible \c index property. Properties of the
}
/*!
- \qmlproperty int ListView::currentIndex
- \qmlproperty Item ListView::currentItem
+ \qmlproperty int QtQuick1::ListView::currentIndex
+ \qmlproperty Item QtQuick1::ListView::currentItem
The \c currentIndex property holds the index of the current item, and
\c currentItem holds the current item. Setting the currentIndex to -1
}
/*!
- \qmlproperty Item ListView::highlightItem
+ \qmlproperty Item QtQuick1::ListView::highlightItem
This holds the highlight item created from the \l highlight component.
}
/*!
- \qmlproperty int ListView::count
+ \qmlproperty int QtQuick1::ListView::count
This property holds the number of items in the view.
*/
int QDeclarative1ListView::count() const
}
/*!
- \qmlproperty Component ListView::highlight
+ \qmlproperty Component QtQuick1::ListView::highlight
This property holds the component to use as the highlight.
An instance of the highlight component is created for each list.
}
/*!
- \qmlproperty bool ListView::highlightFollowsCurrentItem
+ \qmlproperty bool QtQuick1::ListView::highlightFollowsCurrentItem
This property holds whether the highlight is managed by the view.
If this property is true (the default value), the highlight is moved smoothly
//###Possibly rename these properties, since they are very useful even without a highlight?
/*!
- \qmlproperty real ListView::preferredHighlightBegin
- \qmlproperty real ListView::preferredHighlightEnd
- \qmlproperty enumeration ListView::highlightRangeMode
+ \qmlproperty real QtQuick1::ListView::preferredHighlightBegin
+ \qmlproperty real QtQuick1::ListView::preferredHighlightEnd
+ \qmlproperty enumeration QtQuick1::ListView::highlightRangeMode
These properties define the preferred range of the highlight (for the current item)
within the view. The \c preferredHighlightBegin value must be less than the
}
/*!
- \qmlproperty real ListView::spacing
+ \qmlproperty real QtQuick1::ListView::spacing
This property holds the spacing between items.
}
/*!
- \qmlproperty enumeration ListView::orientation
+ \qmlproperty enumeration QtQuick1::ListView::orientation
This property holds the orientation of the list.
Possible values:
}
/*!
- \qmlproperty enumeration ListView::layoutDirection
+ \qmlproperty enumeration QtQuick1::ListView::layoutDirection
This property holds the layout direction of the horizontal list.
Possible values:
}
/*!
- \qmlproperty enumeration ListView::effectiveLayoutDirection
+ \qmlproperty enumeration QtQuick1::ListView::effectiveLayoutDirection
This property holds the effective layout direction of the horizontal list.
When using the attached property \l {LayoutMirroring::enabled}{LayoutMirroring::enabled} for locale layouts,
}
/*!
- \qmlproperty bool ListView::keyNavigationWraps
+ \qmlproperty bool QtQuick1::ListView::keyNavigationWraps
This property holds whether the list wraps key navigation.
If this is true, key navigation that would move the current item selection
}
/*!
- \qmlproperty int ListView::cacheBuffer
+ \qmlproperty int QtQuick1::ListView::cacheBuffer
This property determines whether delegates are retained outside the
visible area of the view.
}
/*!
- \qmlproperty string ListView::section.property
- \qmlproperty enumeration ListView::section.criteria
- \qmlproperty Component ListView::section.delegate
+ \qmlproperty string QtQuick1::ListView::section.property
+ \qmlproperty enumeration QtQuick1::ListView::section.criteria
+ \qmlproperty Component QtQuick1::ListView::section.delegate
These properties hold the expression to be evaluated for the \l section attached property.
}
/*!
- \qmlproperty string ListView::currentSection
+ \qmlproperty string QtQuick1::ListView::currentSection
This property holds the section that is currently at the beginning of the view.
*/
QString QDeclarative1ListView::currentSection() const
}
/*!
- \qmlproperty real ListView::highlightMoveSpeed
- \qmlproperty int ListView::highlightMoveDuration
- \qmlproperty real ListView::highlightResizeSpeed
- \qmlproperty int ListView::highlightResizeDuration
+ \qmlproperty real QtQuick1::ListView::highlightMoveSpeed
+ \qmlproperty int QtQuick1::ListView::highlightMoveDuration
+ \qmlproperty real QtQuick1::ListView::highlightResizeSpeed
+ \qmlproperty int QtQuick1::ListView::highlightResizeDuration
These properties hold the move and resize animation speed of the highlight delegate.
}
/*!
- \qmlproperty enumeration ListView::snapMode
+ \qmlproperty enumeration QtQuick1::ListView::snapMode
This property determines how the view scrolling will settle following a drag or flick.
The possible values are:
}
/*!
- \qmlproperty Component ListView::footer
+ \qmlproperty Component QtQuick1::ListView::footer
This property holds the component to use as the footer.
An instance of the footer component is created for each view. The
}
/*!
- \qmlproperty Component ListView::header
+ \qmlproperty Component QtQuick1::ListView::header
This property holds the component to use as the header.
An instance of the header component is created for each view. The
/*!
- \qmlmethod ListView::incrementCurrentIndex()
+ \qmlmethod QtQuick1::ListView::incrementCurrentIndex()
Increments the current index. The current index will wrap
if keyNavigationWraps is true and it is currently at the end.
}
/*!
- \qmlmethod ListView::decrementCurrentIndex()
+ \qmlmethod QtQuick1::ListView::decrementCurrentIndex()
Decrements the current index. The current index will wrap
if keyNavigationWraps is true and it is currently at the beginning.
}
/*!
- \qmlmethod ListView::positionViewAtIndex(int index, PositionMode mode)
+ \qmlmethod QtQuick1::ListView::positionViewAtIndex(int index, PositionMode mode)
Positions the view such that the \a index is at the position specified by
\a mode:
}
/*!
- \qmlmethod ListView::positionViewAtBeginning()
- \qmlmethod ListView::positionViewAtEnd()
+ \qmlmethod QtQuick1::ListView::positionViewAtBeginning()
+ \qmlmethod QtQuick1::ListView::positionViewAtEnd()
\since Quick 1.1
Positions the view at the beginning or end, taking into account any header or footer.
}
/*!
- \qmlmethod int ListView::indexAt(int x, int y)
+ \qmlmethod int QtQuick1::ListView::indexAt(int x, int y)
Returns the index of the visible item containing the point \a x, \a y in content
coordinates. If there is no item at the point specified, or the item is
/*!
\qmlclass Loader QDeclarative1Loader
+ \inqmlmodule QtQuick 1
\ingroup qml-utility-elements
- \since 4.7
+ \since QtQuick 1.0
\inherits Item
\brief The Loader item allows dynamically loading an Item-based
}
/*!
- \qmlproperty url Loader::source
+ \qmlproperty url QtQuick1::Loader::source
This property holds the URL of the QML component to instantiate.
Note the QML component must be an \l{Item}-based component. The loader
}
/*!
- \qmlproperty Component Loader::sourceComponent
+ \qmlproperty Component QtQuick1::Loader::sourceComponent
This property holds the \l{Component} to instantiate.
\qml
}
/*!
- \qmlproperty enumeration Loader::status
+ \qmlproperty enumeration QtQuick1::Loader::status
This property holds the status of QML loading. It can be one of:
\list
/*!
- \qmlsignal Loader::onLoaded()
+ \qmlsignal QtQuick1::Loader::onLoaded()
This handler is called when the \l status becomes \c Loader.Ready, or on successful
initial load.
/*!
-\qmlproperty real Loader::progress
+\qmlproperty real QtQuick1::Loader::progress
This property holds the progress of loading QML data from the network, from
0.0 (nothing loaded) to 1.0 (finished). Most QML files are quite small, so
}
/*!
- \qmlproperty Item Loader::item
+ \qmlproperty Item QtQuick1::Loader::item
This property holds the top-level item that is currently loaded.
*/
QGraphicsObject *QDeclarative1Loader::item() const
/*!
\qmlclass MouseArea QDeclarative1MouseArea
+ \inqmlmodule QtQuick 1
\ingroup qml-basic-interaction-elements
- \since 4.7
+ \since QtQuick 1.0
\brief The MouseArea item enables simple mouse handling.
\inherits Item
*/
/*!
- \qmlsignal MouseArea::onEntered()
+ \qmlsignal QtQuick1::MouseArea::onEntered()
This handler is called when the mouse enters the mouse area.
*/
/*!
- \qmlsignal MouseArea::onExited()
+ \qmlsignal QtQuick1::MouseArea::onExited()
This handler is called when the mouse exists the mouse area.
*/
/*!
- \qmlsignal MouseArea::onPositionChanged(MouseEvent mouse)
+ \qmlsignal QtQuick1::MouseArea::onPositionChanged(MouseEvent mouse)
This handler is called when the mouse position changes.
*/
/*!
- \qmlsignal MouseArea::onClicked(MouseEvent mouse)
+ \qmlsignal QtQuick1::MouseArea::onClicked(MouseEvent mouse)
This handler is called when there is a click. A click is defined as a press followed by a release,
both inside the MouseArea (pressing, moving outside the MouseArea, and then moving back inside and
*/
/*!
- \qmlsignal MouseArea::onPressed(MouseEvent mouse)
+ \qmlsignal QtQuick1::MouseArea::onPressed(MouseEvent mouse)
This handler is called when there is a press.
The \l {MouseEvent}{mouse} parameter provides information about the press, including the x and y
*/
/*!
- \qmlsignal MouseArea::onReleased(MouseEvent mouse)
+ \qmlsignal QtQuick1::MouseArea::onReleased(MouseEvent mouse)
This handler is called when there is a release.
The \l {MouseEvent}{mouse} parameter provides information about the click, including the x and y
*/
/*!
- \qmlsignal MouseArea::onPressAndHold(MouseEvent mouse)
+ \qmlsignal QtQuick1::MouseArea::onPressAndHold(MouseEvent mouse)
This handler is called when there is a long press (currently 800ms).
The \l {MouseEvent}{mouse} parameter provides information about the press, including the x and y
*/
/*!
- \qmlsignal MouseArea::onDoubleClicked(MouseEvent mouse)
+ \qmlsignal QtQuick1::MouseArea::onDoubleClicked(MouseEvent mouse)
This handler is called when there is a double-click (a press followed by a release followed by a press).
The \l {MouseEvent}{mouse} parameter provides information about the click, including the x and y
*/
/*!
- \qmlsignal MouseArea::onCanceled()
+ \qmlsignal QtQuick1::MouseArea::onCanceled()
This handler is called when mouse events have been canceled, either because an event was not accepted, or
because another element stole the mouse event handling.
}
/*!
- \qmlproperty real MouseArea::mouseX
- \qmlproperty real MouseArea::mouseY
+ \qmlproperty real QtQuick1::MouseArea::mouseX
+ \qmlproperty real QtQuick1::MouseArea::mouseY
These properties hold the coordinates of the mouse cursor.
If the hoverEnabled property is false then these properties will only be valid
}
/*!
- \qmlproperty bool MouseArea::enabled
+ \qmlproperty bool QtQuick1::MouseArea::enabled
This property holds whether the item accepts mouse events.
By default, this property is true.
}
/*!
- \qmlproperty bool MouseArea::preventStealing
+ \qmlproperty bool QtQuick1::MouseArea::preventStealing
\since Quick 1.1
This property holds whether the mouse events may be stolen from this
MouseArea.
}
/*!
- \qmlproperty MouseButtons MouseArea::pressedButtons
+ \qmlproperty MouseButtons QtQuick1::MouseArea::pressedButtons
This property holds the mouse buttons currently pressed.
It contains a bitwise combination of:
}
/*!
- \qmlproperty bool MouseArea::hoverEnabled
+ \qmlproperty bool QtQuick1::MouseArea::hoverEnabled
This property holds whether hover events are handled.
By default, mouse events are only handled in response to a button event, or when a button is
}
/*!
- \qmlproperty bool MouseArea::containsMouse
+ \qmlproperty bool QtQuick1::MouseArea::containsMouse
This property holds whether the mouse is currently inside the mouse area.
\warning This property is not updated if the area moves under the mouse: \e containsMouse will not change.
}
/*!
- \qmlproperty bool MouseArea::pressed
+ \qmlproperty bool QtQuick1::MouseArea::pressed
This property holds whether the mouse area is currently pressed.
*/
bool QDeclarative1MouseArea::pressed() const
}
/*!
- \qmlproperty Qt::MouseButtons MouseArea::acceptedButtons
+ \qmlproperty QtQuick1::Qt::MouseButtons MouseArea::acceptedButtons
This property holds the mouse buttons that the mouse area reacts to.
The available buttons are:
}
/*!
- \qmlproperty Item MouseArea::drag.target
- \qmlproperty bool MouseArea::drag.active
- \qmlproperty enumeration MouseArea::drag.axis
- \qmlproperty real MouseArea::drag.minimumX
- \qmlproperty real MouseArea::drag.maximumX
- \qmlproperty real MouseArea::drag.minimumY
- \qmlproperty real MouseArea::drag.maximumY
- \qmlproperty bool MouseArea::drag.filterChildren
+ \qmlproperty Item QtQuick1::MouseArea::drag.target
+ \qmlproperty bool QtQuick1::MouseArea::drag.active
+ \qmlproperty enumeration QtQuick1::MouseArea::drag.axis
+ \qmlproperty real QtQuick1::MouseArea::drag.minimumX
+ \qmlproperty real QtQuick1::MouseArea::drag.maximumX
+ \qmlproperty real QtQuick1::MouseArea::drag.minimumY
+ \qmlproperty real QtQuick1::MouseArea::drag.maximumY
+ \qmlproperty bool QtQuick1::MouseArea::drag.filterChildren
\c drag provides a convenient way to make an item draggable.
}
/*!
- \qmlproperty int PaintedItem::pixelCacheSize
+ \qmlproperty int QtQuick1::PaintedItem::pixelCacheSize
This property holds the maximum number of pixels of image cache to
allow. The default is 0.1 megapixels. The cache will not be larger
}
/*!
- \qmlproperty bool PaintedItem::smoothCache
+ \qmlproperty bool QtQuick1::PaintedItem::smoothCache
Controls whether the cached tiles of which the item is composed are
rendered smoothly when they are generated.
/*!
\qmlclass PathElement QDeclarative1PathElement
+ \inqmlmodule QtQuick 1
\ingroup qml-view-elements
- \since 4.7
+ \since QtQuick 1.0
\brief PathElement is the base path type.
This type is the base for all path types. It cannot
/*!
\qmlclass Path QDeclarative1Path
+ \inqmlmodule QtQuick 1
\ingroup qml-view-elements
- \since 4.7
+ \since QtQuick 1.0
\brief A Path object defines a path for use by \l PathView.
A Path is composed of one or more path segments - PathLine, PathQuad,
}
/*!
- \qmlproperty real Path::startX
- \qmlproperty real Path::startY
+ \qmlproperty real QtQuick1::Path::startX
+ \qmlproperty real QtQuick1::Path::startY
These properties hold the starting position of the path.
*/
qreal QDeclarative1Path::startX() const
}
/*!
- \qmlproperty bool Path::closed
+ \qmlproperty bool QtQuick1::Path::closed
This property holds whether the start and end of the path are identical.
*/
bool QDeclarative1Path::isClosed() const
}
/*!
- \qmlproperty list<PathElement> Path::pathElements
+ \qmlproperty list<PathElement> QtQuick1::Path::pathElements
This property holds the objects composing the path.
\default
/*!
\qmlclass PathAttribute QDeclarative1PathAttribute
+ \inqmlmodule QtQuick 1
\ingroup qml-view-elements
- \since 4.7
+ \since QtQuick 1.0
\brief The PathAttribute allows setting an attribute at a given position in a Path.
The PathAttribute object allows attributes consisting of a name and
*/
/*!
- \qmlproperty string PathAttribute::name
+ \qmlproperty string QtQuick1::PathAttribute::name
This property holds the name of the attribute to change.
This attribute will be available to the delegate as PathView.<name>
}
/*!
- \qmlproperty real PathAttribute::value
+ \qmlproperty real QtQuick1::PathAttribute::value
This property holds the value for the attribute.
The value specified can be used to influence the visual appearance
/*!
\qmlclass PathLine QDeclarative1PathLine
+ \inqmlmodule QtQuick 1
\ingroup qml-view-elements
- \since 4.7
+ \since QtQuick 1.0
\brief The PathLine defines a straight line.
The example below creates a path consisting of a straight line from
*/
/*!
- \qmlproperty real PathLine::x
- \qmlproperty real PathLine::y
+ \qmlproperty real QtQuick1::PathLine::x
+ \qmlproperty real QtQuick1::PathLine::y
Defines the end point of the line.
*/
/*!
\qmlclass PathQuad QDeclarative1PathQuad
+ \inqmlmodule QtQuick 1
\ingroup qml-view-elements
- \since 4.7
+ \since QtQuick 1.0
\brief The PathQuad defines a quadratic Bezier curve with a control point.
The following QML produces the path shown below:
*/
/*!
- \qmlproperty real PathQuad::x
- \qmlproperty real PathQuad::y
+ \qmlproperty real QtQuick1::PathQuad::x
+ \qmlproperty real QtQuick1::PathQuad::y
Defines the end point of the curve.
*/
/*!
- \qmlproperty real PathQuad::controlX
- \qmlproperty real PathQuad::controlY
+ \qmlproperty real QtQuick1::PathQuad::controlX
+ \qmlproperty real QtQuick1::PathQuad::controlY
Defines the position of the control point.
*/
/*!
\qmlclass PathCubic QDeclarative1PathCubic
+ \inqmlmodule QtQuick 1
\ingroup qml-view-elements
- \since 4.7
+ \since QtQuick 1.0
\brief The PathCubic defines a cubic Bezier curve with two control points.
The following QML produces the path shown below:
*/
/*!
- \qmlproperty real PathCubic::x
- \qmlproperty real PathCubic::y
+ \qmlproperty real QtQuick1::PathCubic::x
+ \qmlproperty real QtQuick1::PathCubic::y
Defines the end point of the curve.
*/
/*!
- \qmlproperty real PathCubic::control1X
- \qmlproperty real PathCubic::control1Y
+ \qmlproperty real QtQuick1::PathCubic::control1X
+ \qmlproperty real QtQuick1::PathCubic::control1Y
Defines the position of the first control point.
*/
}
/*!
- \qmlproperty real PathCubic::control2X
- \qmlproperty real PathCubic::control2Y
+ \qmlproperty real QtQuick1::PathCubic::control2X
+ \qmlproperty real QtQuick1::PathCubic::control2Y
Defines the position of the second control point.
*/
/*!
\qmlclass PathPercent QDeclarative1PathPercent
+ \inqmlmodule QtQuick 1
\ingroup qml-view-elements
- \since 4.7
+ \since QtQuick 1.0
\brief The PathPercent manipulates the way a path is interpreted.
PathPercent allows you to manipulate the spacing between items on a
*/
/*!
- \qmlproperty real PathPercent::value
+ \qmlproperty real QtQuick1::PathPercent::value
The proporation of items that should be laid out up to this point.
This value should always be higher than the last value specified
/*!
\qmlclass PathView QDeclarative1PathView
+ \inqmlmodule QtQuick 1
\ingroup qml-view-elements
- \since 4.7
+ \since QtQuick 1.0
\brief The PathView element lays out model-provided items on a path.
\inherits Item
*/
/*!
- \qmlproperty model PathView::model
+ \qmlproperty model QtQuick1::PathView::model
This property holds the model providing data for the view.
The model provides a set of data that is used to create the items for the view.
}
/*!
- \qmlproperty int PathView::count
+ \qmlproperty int QtQuick1::PathView::count
This property holds the number of items in the model.
*/
int QDeclarative1PathView::count() const
}
/*!
- \qmlproperty Path PathView::path
+ \qmlproperty Path QtQuick1::PathView::path
This property holds the path used to lay out the items.
For more information see the \l Path documentation.
*/
}
/*!
- \qmlproperty int PathView::currentIndex
+ \qmlproperty int QtQuick1::PathView::currentIndex
This property holds the index of the current item.
*/
int QDeclarative1PathView::currentIndex() const
}
/*!
- \qmlmethod PathView::incrementCurrentIndex()
+ \qmlmethod QtQuick1::PathView::incrementCurrentIndex()
Increments the current index.
/*!
- \qmlmethod PathView::decrementCurrentIndex()
+ \qmlmethod QtQuick1::PathView::decrementCurrentIndex()
Decrements the current index.
}
/*!
- \qmlproperty real PathView::offset
+ \qmlproperty real QtQuick1::PathView::offset
The offset specifies how far along the path the items are from their initial positions.
This is a real number that ranges from 0.0 to the count of items in the model.
}
/*!
- \qmlproperty Component PathView::highlight
+ \qmlproperty Component QtQuick1::PathView::highlight
This property holds the component to use as the highlight.
An instance of the highlight component will be created for each view.
}
/*!
- \qmlproperty Item PathView::highlightItem
+ \qmlproperty Item QtQuick1::PathView::highlightItem
\c highlightItem holds the highlight item, which was created
from the \l highlight component.
return d->highlightItem;
}
/*!
- \qmlproperty real PathView::preferredHighlightBegin
- \qmlproperty real PathView::preferredHighlightEnd
- \qmlproperty enumeration PathView::highlightRangeMode
+ \qmlproperty real QtQuick1::PathView::preferredHighlightBegin
+ \qmlproperty real QtQuick1::PathView::preferredHighlightEnd
+ \qmlproperty enumeration QtQuick1::PathView::highlightRangeMode
These properties set the preferred range of the highlight (current item)
within the view. The preferred values must be in the range 0.0-1.0.
/*!
- \qmlproperty int PathView::highlightMoveDuration
+ \qmlproperty int QtQuick1::PathView::highlightMoveDuration
This property holds the move animation duration of the highlight delegate.
If the highlightRangeMode is StrictlyEnforceRange then this property
}
/*!
- \qmlproperty real PathView::dragMargin
+ \qmlproperty real QtQuick1::PathView::dragMargin
This property holds the maximum distance from the path that initiate mouse dragging.
By default the path can only be dragged by clicking on an item. If
}
/*!
- \qmlproperty real PathView::flickDeceleration
+ \qmlproperty real QtQuick1::PathView::flickDeceleration
This property holds the rate at which a flick will decelerate.
The default is 100.
}
/*!
- \qmlproperty bool PathView::interactive
+ \qmlproperty bool QtQuick1::PathView::interactive
A user cannot drag or flick a PathView that is not interactive.
}
/*!
- \qmlproperty bool PathView::moving
+ \qmlproperty bool QtQuick1::PathView::moving
This property holds whether the view is currently moving
due to the user either dragging or flicking the view.
}
/*!
- \qmlproperty bool PathView::flicking
+ \qmlproperty bool QtQuick1::PathView::flicking
This property holds whether the view is currently moving
due to the user flicking the view.
}
/*!
- \qmlsignal PathView::onMovementStarted()
+ \qmlsignal QtQuick1::PathView::onMovementStarted()
This handler is called when the view begins moving due to user
interaction.
*/
/*!
- \qmlsignal PathView::onMovementEnded()
+ \qmlsignal QtQuick1::PathView::onMovementEnded()
This handler is called when the view stops moving due to user
interaction. If a flick was generated, this handler will
*/
/*!
- \qmlsignal PathView::onFlickStarted()
+ \qmlsignal QtQuick1::PathView::onFlickStarted()
This handler is called when the view is flicked. A flick
starts from the point that the mouse or touch is released,
*/
/*!
- \qmlsignal PathView::onFlickEnded()
+ \qmlsignal QtQuick1::PathView::onFlickEnded()
This handler is called when the view stops moving due to a flick.
*/
/*!
- \qmlproperty Component PathView::delegate
+ \qmlproperty Component QtQuick1::PathView::delegate
The delegate provides a template defining each item instantiated by the view.
The index is exposed as an accessible \c index property. Properties of the
}
/*!
- \qmlproperty int PathView::pathItemCount
+ \qmlproperty int QtQuick1::PathView::pathItemCount
This property holds the number of items visible on the path at any one time.
*/
int QDeclarative1PathView::pathItemCount() const
/*!
\qmlclass PinchEvent QDeclarative1PinchEvent
+ \inqmlmodule QtQuick 1
\ingroup qml-event-elements
\brief The PinchEvent object provides information about a pinch event.
*/
/*!
- \qmlproperty QPointF PinchEvent::center
- \qmlproperty QPointF PinchEvent::startCenter
- \qmlproperty QPointF PinchEvent::previousCenter
+ \qmlproperty QPointF QtQuick1::PinchEvent::center
+ \qmlproperty QPointF QtQuick1::PinchEvent::startCenter
+ \qmlproperty QPointF QtQuick1::PinchEvent::previousCenter
These properties hold the position of the center point between the two touch points.
*/
/*!
- \qmlproperty real PinchEvent::scale
- \qmlproperty real PinchEvent::previousScale
+ \qmlproperty real QtQuick1::PinchEvent::scale
+ \qmlproperty real QtQuick1::PinchEvent::previousScale
These properties hold the scale factor determined by the change in distance between the two touch points.
*/
/*!
- \qmlproperty real PinchEvent::angle
- \qmlproperty real PinchEvent::previousAngle
- \qmlproperty real PinchEvent::rotation
+ \qmlproperty real QtQuick1::PinchEvent::angle
+ \qmlproperty real QtQuick1::PinchEvent::previousAngle
+ \qmlproperty real QtQuick1::PinchEvent::rotation
These properties hold the angle between the two touch points.
*/
/*!
- \qmlproperty QPointF PinchEvent::point1
- \qmlproperty QPointF PinchEvent::startPoint1
- \qmlproperty QPointF PinchEvent::point2
- \qmlproperty QPointF PinchEvent::startPoint2
+ \qmlproperty QPointF QtQuick1::PinchEvent::point1
+ \qmlproperty QPointF QtQuick1::PinchEvent::startPoint1
+ \qmlproperty QPointF QtQuick1::PinchEvent::point2
+ \qmlproperty QPointF QtQuick1::PinchEvent::startPoint2
These properties provide the actual touch points generating the pinch.
*/
/*!
- \qmlproperty bool PinchEvent::accepted
+ \qmlproperty bool QtQuick1::PinchEvent::accepted
Setting this property to false in the \c PinchArea::onPinchStarted handler
will result in no further pinch events being generated, and the gesture
*/
/*!
- \qmlproperty int PinchEvent::pointCount
+ \qmlproperty int QtQuick1::PinchEvent::pointCount
Holds the number of points currently touched. The PinchArea will not react
until two touch points have initited a gesture, but will remain active until
/*!
\qmlclass PinchArea QDeclarative1PinchArea
+ \inqmlmodule QtQuick 1
\brief The PinchArea item enables simple pinch gesture handling.
\inherits Item
*/
/*!
- \qmlsignal PinchArea::onPinchStarted()
+ \qmlsignal QtQuick1::PinchArea::onPinchStarted()
This handler is called when the pinch area detects that a pinch gesture has started.
*/
/*!
- \qmlsignal PinchArea::onPinchUpdated()
+ \qmlsignal QtQuick1::PinchArea::onPinchUpdated()
This handler is called when the pinch area detects that a pinch gesture has changed.
*/
/*!
- \qmlsignal PinchArea::onPinchFinished()
+ \qmlsignal QtQuick1::PinchArea::onPinchFinished()
This handler is called when the pinch area detects that a pinch gesture has finished.
/*!
- \qmlproperty Item PinchArea::pinch.target
- \qmlproperty bool PinchArea::pinch.active
- \qmlproperty real PinchArea::pinch.minimumScale
- \qmlproperty real PinchArea::pinch.maximumScale
- \qmlproperty real PinchArea::pinch.minimumRotation
- \qmlproperty real PinchArea::pinch.maximumRotation
- \qmlproperty enumeration PinchArea::pinch.dragAxis
- \qmlproperty real PinchArea::pinch.minimumX
- \qmlproperty real PinchArea::pinch.maximumX
- \qmlproperty real PinchArea::pinch.minimumY
- \qmlproperty real PinchArea::pinch.maximumY
+ \qmlproperty Item QtQuick1::PinchArea::pinch.target
+ \qmlproperty bool QtQuick1::PinchArea::pinch.active
+ \qmlproperty real QtQuick1::PinchArea::pinch.minimumScale
+ \qmlproperty real QtQuick1::PinchArea::pinch.maximumScale
+ \qmlproperty real QtQuick1::PinchArea::pinch.minimumRotation
+ \qmlproperty real QtQuick1::PinchArea::pinch.maximumRotation
+ \qmlproperty enumeration QtQuick1::PinchArea::pinch.dragAxis
+ \qmlproperty real QtQuick1::PinchArea::pinch.minimumX
+ \qmlproperty real QtQuick1::PinchArea::pinch.maximumX
+ \qmlproperty real QtQuick1::PinchArea::pinch.minimumY
+ \qmlproperty real QtQuick1::PinchArea::pinch.maximumY
\c pinch provides a convenient way to make an item react to pinch gestures.
}
/*!
- \qmlproperty bool PinchArea::enabled
+ \qmlproperty bool QtQuick1::PinchArea::enabled
This property holds whether the item accepts pinch gestures.
This property defaults to true.
/*!
\qmlclass Column QDeclarative1Column
+ \inqmlmodule QtQuick 1
\ingroup qml-positioning-elements
- \since 4.7
+ \since QtQuick 1.0
\brief The Column item arranges its children vertically.
\inherits Item
\sa Row, Grid, Flow, {declarative/positioners}{Positioners example}
*/
/*!
- \qmlproperty Transition Column::add
+ \qmlproperty Transition QtQuick1::Column::add
This property holds the transition to be applied when adding an
item to the positioner. The transition will only be applied to the
\sa move
*/
/*!
- \qmlproperty Transition Column::move
+ \qmlproperty Transition QtQuick1::Column::move
This property holds the transition to apply when moving an item
within the positioner. Positioner transitions will only affect
\sa add, {declarative/positioners}{Positioners example}
*/
/*!
- \qmlproperty int Column::spacing
+ \qmlproperty int QtQuick1::Column::spacing
The spacing is the amount in pixels left empty between adjacent
items. The default spacing is 0.
/*!
\qmlclass Row QDeclarative1Row
+ \inqmlmodule QtQuick 1
\ingroup qml-positioning-elements
- \since 4.7
+ \since QtQuick 1.0
\brief The Row item arranges its children horizontally.
\inherits Item
\sa Column, Grid, Flow, {declarative/positioners}{Positioners example}
*/
/*!
- \qmlproperty Transition Row::add
+ \qmlproperty Transition QtQuick1::Row::add
This property holds the transition to be applied when adding an
item to the positioner. The transition will only be applied to the
\sa move
*/
/*!
- \qmlproperty Transition Row::move
+ \qmlproperty Transition QtQuick1::Row::move
This property holds the transition to be applied when moving an
item within the positioner. Positioner transitions will only affect
\sa add, {declarative/positioners}{Positioners example}
*/
/*!
- \qmlproperty int Row::spacing
+ \qmlproperty int QtQuick1::Row::spacing
The spacing is the amount in pixels left empty between adjacent
items. The default spacing is 0.
}
/*!
- \qmlproperty enumeration Row::layoutDirection
+ \qmlproperty enumeration QtQuick1::Row::layoutDirection
\since Quick 1.1
This property holds the layoutDirection of the row.
}
/*!
- \qmlproperty enumeration Row::effectiveLayoutDirection
+ \qmlproperty enumeration QtQuick1::Row::effectiveLayoutDirection
This property holds the effective layout direction of the row positioner.
When using the attached property \l {LayoutMirroring::enabled}{LayoutMirroring::enabled} for locale layouts,
/*!
\qmlclass Grid QDeclarative1Grid
+ \inqmlmodule QtQuick 1
\ingroup qml-positioning-elements
- \since 4.7
+ \since QtQuick 1.0
\brief The Grid item positions its children in a grid.
\inherits Item
\sa Flow, Row, Column, {declarative/positioners}{Positioners example}
*/
/*!
- \qmlproperty Transition Grid::add
+ \qmlproperty Transition QtQuick1::Grid::add
This property holds the transition to be applied when adding an
item to the positioner. The transition will only be applied to the
\sa move
*/
/*!
- \qmlproperty Transition Grid::move
+ \qmlproperty Transition QtQuick1::Grid::move
This property holds the transition to be applied when moving an
item within the positioner. Positioner transitions will only affect
\sa add, {declarative/positioners}{Positioners example}
*/
/*!
- \qmlproperty int Grid::spacing
+ \qmlproperty int QtQuick1::Grid::spacing
The spacing is the amount in pixels left empty between adjacent
items. The default spacing is 0.
}
/*!
- \qmlproperty int Grid::columns
+ \qmlproperty int QtQuick1::Grid::columns
This property holds the number of columns in the grid. The default
number of columns is 4.
*/
/*!
- \qmlproperty int Grid::rows
+ \qmlproperty int QtQuick1::Grid::rows
This property holds the number of rows in the grid.
If the grid does not have enough items to fill the specified
}
/*!
- \qmlproperty enumeration Grid::flow
+ \qmlproperty enumeration QtQuick1::Grid::flow
This property holds the flow of the layout.
Possible values are:
}
/*!
- \qmlproperty enumeration Grid::layoutDirection
+ \qmlproperty enumeration QtQuick1::Grid::layoutDirection
\since Quick 1.1
This property holds the layout direction of the layout.
}
/*!
- \qmlproperty enumeration Grid::effectiveLayoutDirection
+ \qmlproperty enumeration QtQuick1::Grid::effectiveLayoutDirection
This property holds the effective layout direction of the grid positioner.
When using the attached property \l {LayoutMirroring::enabled}{LayoutMirroring::enabled} for locale layouts,
/*!
\qmlclass Flow QDeclarative1Flow
+ \inqmlmodule QtQuick 1
\ingroup qml-positioning-elements
- \since 4.7
+ \since QtQuick 1.0
\brief The Flow item arranges its children side by side, wrapping as necessary.
\inherits Item
\sa Column, Row, Grid, {declarative/positioners}{Positioners example}
*/
/*!
- \qmlproperty Transition Flow::add
+ \qmlproperty Transition QtQuick1::Flow::add
This property holds the transition to be applied when adding an
item to the positioner. The transition will only be applied to the
\sa move
*/
/*!
- \qmlproperty Transition Flow::move
+ \qmlproperty Transition QtQuick1::Flow::move
This property holds the transition to be applied when moving an
item within the positioner. Positioner transitions will only affect
\sa add, {declarative/positioners}{Positioners example}
*/
/*!
- \qmlproperty int Flow::spacing
+ \qmlproperty int QtQuick1::Flow::spacing
spacing is the amount in pixels left empty between each adjacent
item, and defaults to 0.
}
/*!
- \qmlproperty enumeration Flow::flow
+ \qmlproperty enumeration QtQuick1::Flow::flow
This property holds the flow of the layout.
Possible values are:
}
/*!
- \qmlproperty enumeration Flow::layoutDirection
+ \qmlproperty enumeration QtQuick1::Flow::layoutDirection
\since Quick 1.1
This property holds the layout direction of the layout.
}
/*!
- \qmlproperty enumeration Flow::effectiveLayoutDirection
+ \qmlproperty enumeration QtQuick1::Flow::effectiveLayoutDirection
This property holds the effective layout direction of the flow positioner.
When using the attached property \l {LayoutMirroring::enabled}{LayoutMirroring::enabled} for locale layouts,
/*!
\qmlclass GradientStop QDeclarative1GradientStop
+ \inqmlmodule QtQuick 1
\ingroup qml-basic-visual-elements
- \since 4.7
+ \since QtQuick 1.0
\brief The GradientStop item defines the color at a position in a Gradient.
\sa Gradient
*/
/*!
- \qmlproperty real GradientStop::position
- \qmlproperty color GradientStop::color
+ \qmlproperty real QtQuick1::GradientStop::position
+ \qmlproperty color QtQuick1::GradientStop::color
The position and color properties describe the color used at a given
position in a gradient, as represented by a gradient stop.
/*!
\qmlclass Gradient QDeclarative1Gradient
+ \inqmlmodule QtQuick 1
\ingroup qml-basic-visual-elements
- \since 4.7
+ \since QtQuick 1.0
\brief The Gradient item defines a gradient fill.
A gradient is defined by two or more colors, which will be blended seamlessly.
*/
/*!
- \qmlproperty list<GradientStop> Gradient::stops
+ \qmlproperty list<GradientStop> QtQuick1::Gradient::stops
This property holds the gradient stops describing the gradient.
By default, this property contains an empty list.
/*!
\qmlclass Rectangle QDeclarative1Rectangle
+ \inqmlmodule QtQuick 1
\ingroup qml-basic-visual-elements
- \since 4.7
+ \since QtQuick 1.0
\brief The Rectangle item provides a filled rectangle with an optional border.
\inherits Item
}
/*!
- \qmlproperty int Rectangle::border.width
- \qmlproperty color Rectangle::border.color
+ \qmlproperty int QtQuick1::Rectangle::border.width
+ \qmlproperty color QtQuick1::Rectangle::border.color
The width and color used to draw the border of the rectangle.
}
/*!
- \qmlproperty Gradient Rectangle::gradient
+ \qmlproperty Gradient QtQuick1::Rectangle::gradient
The gradient to use to fill the rectangle.
/*!
- \qmlproperty real Rectangle::radius
+ \qmlproperty real QtQuick1::Rectangle::radius
This property holds the corner radius used to draw a rounded rectangle.
If radius is non-zero, the rectangle will be painted as a rounded rectangle, otherwise it will be
}
/*!
- \qmlproperty color Rectangle::color
+ \qmlproperty color QtQuick1::Rectangle::color
This property holds the color used to fill the rectangle.
The default color is white.
}
/*!
- \qmlproperty bool Rectangle::smooth
+ \qmlproperty bool QtQuick1::Rectangle::smooth
Set this property if you want the item to be smoothly scaled or
transformed. Smooth filtering gives better visual quality, but is slower. If
/*!
\qmlclass Repeater QDeclarative1Repeater
+ \inqmlmodule QtQuick 1
\ingroup qml-utility-elements
- \since 4.7
+ \since QtQuick 1.0
\inherits Item
\brief The Repeater element allows you to repeat an Item-based component using a model.
*/
/*!
- \qmlsignal Repeater::onItemAdded(int index, Item item)
+ \qmlsignal QtQuick1::Repeater::onItemAdded(int index, Item item)
\since Quick 1.1
This handler is called when an item is added to the repeater. The \a index
*/
/*!
- \qmlsignal Repeater::onItemRemoved(int index, Item item)
+ \qmlsignal QtQuick1::Repeater::onItemRemoved(int index, Item item)
\since Quick 1.1
This handler is called when an item is removed from the repeater. The \a index
}
/*!
- \qmlproperty any Repeater::model
+ \qmlproperty any QtQuick1::Repeater::model
The model providing data for the repeater.
}
/*!
- \qmlproperty Component Repeater::delegate
+ \qmlproperty Component QtQuick1::Repeater::delegate
\default
The delegate provides a template defining each item instantiated by the repeater.
}
/*!
- \qmlproperty int Repeater::count
+ \qmlproperty int QtQuick1::Repeater::count
This property holds the number of items in the repeater.
*/
}
/*!
- \qmlmethod Item Repeater::itemAt(index)
+ \qmlmethod Item QtQuick1::Repeater::itemAt(index)
\since Quick 1.1
Returns the \l Item that has been created at the given \a index, or \c null
/*!
\qmlclass Text QDeclarative1Text
+ \inqmlmodule QtQuick 1
\ingroup qml-basic-visual-elements
- \since 4.7
+ \since QtQuick 1.0
\brief The Text item allows you to add formatted text to a scene.
\inherits Item
}
/*!
- \qmlproperty bool Text::clip
+ \qmlproperty bool QtQuick1::Text::clip
This property holds whether the text is clipped.
Note that if the text does not fit in the bounding rectangle it will be abruptly chopped.
*/
/*!
- \qmlproperty bool Text::smooth
+ \qmlproperty bool QtQuick1::Text::smooth
This property holds whether the text is smoothly scaled or transformed.
*/
/*!
- \qmlsignal Text::onLinkActivated(string link)
+ \qmlsignal QtQuick1::Text::onLinkActivated(string link)
This handler is called when the user clicks on a link embedded in the text.
The link must be in rich text or HTML format and the
*/
/*!
- \qmlproperty string Text::font.family
+ \qmlproperty string QtQuick1::Text::font.family
Sets the family name of the font.
*/
/*!
- \qmlproperty bool Text::font.bold
+ \qmlproperty bool QtQuick1::Text::font.bold
Sets whether the font weight is bold.
*/
/*!
- \qmlproperty enumeration Text::font.weight
+ \qmlproperty enumeration QtQuick1::Text::font.weight
Sets the font's weight.
*/
/*!
- \qmlproperty bool Text::font.italic
+ \qmlproperty bool QtQuick1::Text::font.italic
Sets whether the font has an italic style.
*/
/*!
- \qmlproperty bool Text::font.underline
+ \qmlproperty bool QtQuick1::Text::font.underline
Sets whether the text is underlined.
*/
/*!
- \qmlproperty bool Text::font.strikeout
+ \qmlproperty bool QtQuick1::Text::font.strikeout
Sets whether the font has a strikeout style.
*/
/*!
- \qmlproperty real Text::font.pointSize
+ \qmlproperty real QtQuick1::Text::font.pointSize
Sets the font size in points. The point size must be greater than zero.
*/
/*!
- \qmlproperty int Text::font.pixelSize
+ \qmlproperty int QtQuick1::Text::font.pixelSize
Sets the font size in pixels.
*/
/*!
- \qmlproperty real Text::font.letterSpacing
+ \qmlproperty real QtQuick1::Text::font.letterSpacing
Sets the letter spacing for the font.
*/
/*!
- \qmlproperty real Text::font.wordSpacing
+ \qmlproperty real QtQuick1::Text::font.wordSpacing
Sets the word spacing for the font.
*/
/*!
- \qmlproperty enumeration Text::font.capitalization
+ \qmlproperty enumeration QtQuick1::Text::font.capitalization
Sets the capitalization for the text.
}
/*!
- \qmlproperty string Text::text
+ \qmlproperty string QtQuick1::Text::text
The text to display. Text supports both plain and rich text strings.
/*!
- \qmlproperty color Text::color
+ \qmlproperty color QtQuick1::Text::color
The text color.
}
/*!
- \qmlproperty enumeration Text::style
+ \qmlproperty enumeration QtQuick1::Text::style
Set an additional text style.
}
/*!
- \qmlproperty color Text::styleColor
+ \qmlproperty color QtQuick1::Text::styleColor
Defines the secondary color used by text styles.
/*!
- \qmlproperty enumeration Text::horizontalAlignment
- \qmlproperty enumeration Text::verticalAlignment
- \qmlproperty enumeration Text::effectiveHorizontalAlignment
+ \qmlproperty enumeration QtQuick1::Text::horizontalAlignment
+ \qmlproperty enumeration QtQuick1::Text::verticalAlignment
+ \qmlproperty enumeration QtQuick1::Text::effectiveHorizontalAlignment
Sets the horizontal and vertical alignment of the text within the Text items
width and height. By default, the text is vertically aligned to the top. Horizontal
}
/*!
- \qmlproperty enumeration Text::wrapMode
+ \qmlproperty enumeration QtQuick1::Text::wrapMode
Set this property to wrap the text to the Text item's width. The text will only
wrap if an explicit width has been set. wrapMode can be one of:
}
/*!
- \qmlproperty int Text::lineCount
+ \qmlproperty int QtQuick1::Text::lineCount
\since Quick 1.1
Returns the number of lines visible in the text item.
}
/*!
- \qmlproperty bool Text::truncated
+ \qmlproperty bool QtQuick1::Text::truncated
\since Quick 1.1
Returns true if the text has been truncated due to \l maximumLineCount
}
/*!
- \qmlproperty int Text::maximumLineCount
+ \qmlproperty int QtQuick1::Text::maximumLineCount
\since Quick 1.1
Set this property to limit the number of lines that the text item will show.
}
/*!
- \qmlproperty enumeration Text::textFormat
+ \qmlproperty enumeration QtQuick1::Text::textFormat
The way the text property should be displayed.
}
/*!
- \qmlproperty enumeration Text::elide
+ \qmlproperty enumeration QtQuick1::Text::elide
Set this property to elide parts of the text fit to the Text item's width.
The text will only elide if an explicit width has been set.
}
/*!
- \qmlproperty real Text::paintedWidth
+ \qmlproperty real QtQuick1::Text::paintedWidth
Returns the width of the text, including width past the width
which is covered due to insufficient wrapping if WrapMode is set.
}
/*!
- \qmlproperty real Text::paintedHeight
+ \qmlproperty real QtQuick1::Text::paintedHeight
Returns the height of the text, including height past the height
which is covered due to there being more text than fits in the set height.
}
/*!
- \qmlproperty real Text::lineHeight
+ \qmlproperty real QtQuick1::Text::lineHeight
\since Quick 1.1
Sets the line height for the text.
}
/*!
- \qmlproperty enumeration Text::lineHeightMode
+ \qmlproperty enumeration QtQuick1::Text::lineHeightMode
This property determines how the line height is specified.
The possible values are:
/*!
\qmlclass TextEdit QDeclarative1TextEdit
+ \inqmlmodule QtQuick 1
\ingroup qml-basic-visual-elements
- \since 4.7
+ \since QtQuick 1.0
\brief The TextEdit item displays multiple lines of editable formatted text.
\inherits Item
*/
/*!
- \qmlsignal TextEdit::onLinkActivated(string link)
+ \qmlsignal QtQuick1::TextEdit::onLinkActivated(string link)
\since Quick 1.1
This handler is called when the user clicks on a link embedded in the text.
}
/*!
- \qmlproperty string TextEdit::font.family
+ \qmlproperty string QtQuick1::TextEdit::font.family
Sets the family name of the font.
*/
/*!
- \qmlproperty bool TextEdit::font.bold
+ \qmlproperty bool QtQuick1::TextEdit::font.bold
Sets whether the font weight is bold.
*/
/*!
- \qmlproperty enumeration TextEdit::font.weight
+ \qmlproperty enumeration QtQuick1::TextEdit::font.weight
Sets the font's weight.
*/
/*!
- \qmlproperty bool TextEdit::font.italic
+ \qmlproperty bool QtQuick1::TextEdit::font.italic
Sets whether the font has an italic style.
*/
/*!
- \qmlproperty bool TextEdit::font.underline
+ \qmlproperty bool QtQuick1::TextEdit::font.underline
Sets whether the text is underlined.
*/
/*!
- \qmlproperty bool TextEdit::font.strikeout
+ \qmlproperty bool QtQuick1::TextEdit::font.strikeout
Sets whether the font has a strikeout style.
*/
/*!
- \qmlproperty real TextEdit::font.pointSize
+ \qmlproperty real QtQuick1::TextEdit::font.pointSize
Sets the font size in points. The point size must be greater than zero.
*/
/*!
- \qmlproperty int TextEdit::font.pixelSize
+ \qmlproperty int QtQuick1::TextEdit::font.pixelSize
Sets the font size in pixels.
*/
/*!
- \qmlproperty real TextEdit::font.letterSpacing
+ \qmlproperty real QtQuick1::TextEdit::font.letterSpacing
Sets the letter spacing for the font.
*/
/*!
- \qmlproperty real TextEdit::font.wordSpacing
+ \qmlproperty real QtQuick1::TextEdit::font.wordSpacing
Sets the word spacing for the font.
*/
/*!
- \qmlproperty enumeration TextEdit::font.capitalization
+ \qmlproperty enumeration QtQuick1::TextEdit::font.capitalization
Sets the capitalization for the text.
*/
/*!
- \qmlproperty string TextEdit::text
+ \qmlproperty string QtQuick1::TextEdit::text
The text to display. If the text format is AutoText the text edit will
automatically determine whether the text should be treated as
}
/*!
- \qmlproperty enumeration TextEdit::textFormat
+ \qmlproperty enumeration QtQuick1::TextEdit::textFormat
The way the text property should be displayed.
}
/*!
- \qmlproperty color TextEdit::color
+ \qmlproperty color QtQuick1::TextEdit::color
The text color.
}
/*!
- \qmlproperty color TextEdit::selectionColor
+ \qmlproperty color QtQuick1::TextEdit::selectionColor
The text highlight color, used behind selections.
*/
}
/*!
- \qmlproperty color TextEdit::selectedTextColor
+ \qmlproperty color QtQuick1::TextEdit::selectedTextColor
The selected text color, used in selections.
*/
}
/*!
- \qmlproperty enumeration TextEdit::horizontalAlignment
- \qmlproperty enumeration TextEdit::verticalAlignment
- \qmlproperty enumeration TextEdit::effectiveHorizontalAlignment
+ \qmlproperty enumeration QtQuick1::TextEdit::horizontalAlignment
+ \qmlproperty enumeration QtQuick1::TextEdit::verticalAlignment
+ \qmlproperty enumeration QtQuick1::TextEdit::effectiveHorizontalAlignment
Sets the horizontal and vertical alignment of the text within the TextEdit item's
width and height. By default, the text alignment follows the natural alignment
}
/*!
- \qmlproperty enumeration TextEdit::wrapMode
+ \qmlproperty enumeration QtQuick1::TextEdit::wrapMode
Set this property to wrap the text to the TextEdit item's width.
The text will only wrap if an explicit width has been set.
}
/*!
- \qmlproperty int TextEdit::lineCount
+ \qmlproperty int QtQuick1::TextEdit::lineCount
\since Quick 1.1
Returns the total number of lines in the textEdit item.
}
/*!
- \qmlproperty real TextEdit::paintedWidth
+ \qmlproperty real QtQuick1::TextEdit::paintedWidth
Returns the width of the text, including the width past the width
which is covered due to insufficient wrapping if \l wrapMode is set.
}
/*!
- \qmlproperty real TextEdit::paintedHeight
+ \qmlproperty real QtQuick1::TextEdit::paintedHeight
Returns the height of the text, including the height past the height
that is covered if the text does not fit within the set height.
}
/*!
- \qmlmethod rectangle TextEdit::positionToRectangle(position)
+ \qmlmethod rectangle QtQuick1::TextEdit::positionToRectangle(position)
Returns the rectangle at the given \a position in the text. The x, y,
and height properties correspond to the cursor that would describe
}
/*!
- \qmlmethod int TextEdit::positionAt(int x, int y)
+ \qmlmethod int QtQuick1::TextEdit::positionAt(int x, int y)
Returns the text position closest to pixel position (\a x, \a y).
}
/*!
- \qmlmethod void TextEdit::moveCursorSelection(int position, SelectionMode mode = TextEdit.SelectCharacters)
+ \qmlmethod void QtQuick1::TextEdit::moveCursorSelection(int position, SelectionMode mode = TextEdit.SelectCharacters)
\since Quick 1.1
Moves the cursor to \a position and updates the selection according to the optional \a mode
}
/*!
- \qmlproperty bool TextEdit::cursorVisible
+ \qmlproperty bool QtQuick1::TextEdit::cursorVisible
If true the text edit shows a cursor.
This property is set and unset when the text edit gets active focus, but it can also
}
/*!
- \qmlproperty int TextEdit::cursorPosition
+ \qmlproperty int QtQuick1::TextEdit::cursorPosition
The position of the cursor in the TextEdit.
*/
int QDeclarative1TextEdit::cursorPosition() const
}
/*!
- \qmlproperty Component TextEdit::cursorDelegate
+ \qmlproperty Component QtQuick1::TextEdit::cursorDelegate
The delegate for the cursor in the TextEdit.
If you set a cursorDelegate for a TextEdit, this delegate will be used for
}
/*!
- \qmlproperty int TextEdit::selectionStart
+ \qmlproperty int QtQuick1::TextEdit::selectionStart
The cursor position before the first character in the current selection.
}
/*!
- \qmlproperty int TextEdit::selectionEnd
+ \qmlproperty int QtQuick1::TextEdit::selectionEnd
The cursor position after the last character in the current selection.
}
/*!
- \qmlproperty string TextEdit::selectedText
+ \qmlproperty string QtQuick1::TextEdit::selectedText
This read-only property provides the text currently selected in the
text edit.
}
/*!
- \qmlproperty bool TextEdit::activeFocusOnPress
+ \qmlproperty bool QtQuick1::TextEdit::activeFocusOnPress
Whether the TextEdit should gain active focus on a mouse press. By default this is
set to true.
}
/*!
- \qmlproperty bool TextEdit::persistentSelection
+ \qmlproperty bool QtQuick1::TextEdit::persistentSelection
Whether the TextEdit should keep the selection visible when it loses active focus to another
item in the scene. By default this is set to true;
}
/*
- \qmlproperty real TextEdit::textMargin
+ \qmlproperty real QtQuick1::TextEdit::textMargin
The margin, in pixels, around the text in the TextEdit.
*/
}
/*!
- \qmlproperty bool TextEdit::selectByMouse
+ \qmlproperty bool QtQuick1::TextEdit::selectByMouse
Defaults to false.
/*!
- \qmlproperty enum TextEdit::mouseSelectionMode
+ \qmlproperty enum QtQuick1::TextEdit::mouseSelectionMode
\since Quick 1.1
Specifies how text should be selected using a mouse.
}
/*!
- \qmlproperty bool TextEdit::readOnly
+ \qmlproperty bool QtQuick1::TextEdit::readOnly
Whether the user can interact with the TextEdit item. If this
property is set to true the text cannot be edited by user interaction.
}
/*!
- \qmlproperty rectangle TextEdit::cursorRectangle
+ \qmlproperty rectangle QtQuick1::TextEdit::cursorRectangle
The rectangle where the text cursor is rendered
within the text edit. Read-only.
}
/*!
- \qmlmethod void TextEdit::deselect()
+ \qmlmethod void QtQuick1::TextEdit::deselect()
\since Quick 1.1
Removes active text selection.
}
/*!
- \qmlmethod void TextEdit::selectAll()
+ \qmlmethod void QtQuick1::TextEdit::selectAll()
Causes all text to be selected.
*/
}
/*!
- \qmlmethod void TextEdit::selectWord()
+ \qmlmethod void QtQuick1::TextEdit::selectWord()
Causes the word closest to the current cursor position to be selected.
*/
}
/*!
- \qmlmethod void TextEdit::select(int start, int end)
+ \qmlmethod void QtQuick1::TextEdit::select(int start, int end)
Causes the text from \a start to \a end to be selected.
}
/*!
- \qmlmethod void TextEdit::isRightToLeft(int start, int end)
+ \qmlmethod void QtQuick1::TextEdit::isRightToLeft(int start, int end)
Returns true if the natural reading direction of the editor text
found between positions \a start and \a end is right to left.
#ifndef QT_NO_CLIPBOARD
/*!
- \qmlmethod TextEdit::cut()
+ \qmlmethod QtQuick1::TextEdit::cut()
Moves the currently selected text to the system clipboard.
*/
}
/*!
- \qmlmethod TextEdit::copy()
+ \qmlmethod QtQuick1::TextEdit::copy()
Copies the currently selected text to the system clipboard.
*/
}
/*!
- \qmlmethod TextEdit::paste()
+ \qmlmethod QtQuick1::TextEdit::paste()
Replaces the currently selected text by the contents of the system clipboard.
*/
}
/*!
- \qmlproperty bool TextEdit::smooth
+ \qmlproperty bool QtQuick1::TextEdit::smooth
This property holds whether the text is smoothly scaled or transformed.
*/
/*!
- \qmlproperty bool TextEdit::canPaste
+ \qmlproperty bool QtQuick1::TextEdit::canPaste
\since QtQuick 1.1
Returns true if the TextEdit is writable and the content of the clipboard is
}
/*!
- \qmlproperty bool TextEdit::inputMethodComposing
+ \qmlproperty bool QtQuick1::TextEdit::inputMethodComposing
\since QtQuick 1.1
/*!
- \qmlmethod void TextEdit::openSoftwareInputPanel()
+ \qmlmethod void QtQuick1::TextEdit::openSoftwareInputPanel()
Opens software input panels like virtual keyboards for typing, useful for
customizing when you want the input keyboard to be shown and hidden in
}
/*!
- \qmlmethod void TextEdit::closeSoftwareInputPanel()
+ \qmlmethod void QtQuick1::TextEdit::closeSoftwareInputPanel()
Closes a software input panel like a virtual keyboard shown on the screen, useful
for customizing when you want the input keyboard to be shown and hidden in
/*!
\qmlclass TextInput QDeclarative1TextInput
+ \inqmlmodule QtQuick 1
\ingroup qml-basic-visual-elements
- \since 4.7
+ \since QtQuick 1.0
\brief The TextInput item displays an editable line of text.
\inherits Item
}
/*!
- \qmlproperty string TextInput::text
+ \qmlproperty string QtQuick1::TextInput::text
The text in the TextInput.
*/
}
/*!
- \qmlproperty string TextInput::font.family
+ \qmlproperty string QtQuick1::TextInput::font.family
Sets the family name of the font.
*/
/*!
- \qmlproperty bool TextInput::font.bold
+ \qmlproperty bool QtQuick1::TextInput::font.bold
Sets whether the font weight is bold.
*/
/*!
- \qmlproperty enumeration TextInput::font.weight
+ \qmlproperty enumeration QtQuick1::TextInput::font.weight
Sets the font's weight.
*/
/*!
- \qmlproperty bool TextInput::font.italic
+ \qmlproperty bool QtQuick1::TextInput::font.italic
Sets whether the font has an italic style.
*/
/*!
- \qmlproperty bool TextInput::font.underline
+ \qmlproperty bool QtQuick1::TextInput::font.underline
Sets whether the text is underlined.
*/
/*!
- \qmlproperty bool TextInput::font.strikeout
+ \qmlproperty bool QtQuick1::TextInput::font.strikeout
Sets whether the font has a strikeout style.
*/
/*!
- \qmlproperty real TextInput::font.pointSize
+ \qmlproperty real QtQuick1::TextInput::font.pointSize
Sets the font size in points. The point size must be greater than zero.
*/
/*!
- \qmlproperty int TextInput::font.pixelSize
+ \qmlproperty int QtQuick1::TextInput::font.pixelSize
Sets the font size in pixels.
*/
/*!
- \qmlproperty real TextInput::font.letterSpacing
+ \qmlproperty real QtQuick1::TextInput::font.letterSpacing
Sets the letter spacing for the font.
*/
/*!
- \qmlproperty real TextInput::font.wordSpacing
+ \qmlproperty real QtQuick1::TextInput::font.wordSpacing
Sets the word spacing for the font.
*/
/*!
- \qmlproperty enumeration TextInput::font.capitalization
+ \qmlproperty enumeration QtQuick1::TextInput::font.capitalization
Sets the capitalization for the text.
}
/*!
- \qmlproperty color TextInput::color
+ \qmlproperty color QtQuick1::TextInput::color
The text color.
*/
/*!
- \qmlproperty color TextInput::selectionColor
+ \qmlproperty color QtQuick1::TextInput::selectionColor
The text highlight color, used behind selections.
*/
}
/*!
- \qmlproperty color TextInput::selectedTextColor
+ \qmlproperty color QtQuick1::TextInput::selectedTextColor
The highlighted text color, used in selections.
*/
}
/*!
- \qmlproperty enumeration TextInput::horizontalAlignment
- \qmlproperty enumeration TextInput::effectiveHorizontalAlignment
+ \qmlproperty enumeration QtQuick1::TextInput::horizontalAlignment
+ \qmlproperty enumeration QtQuick1::TextInput::effectiveHorizontalAlignment
Sets the horizontal alignment of the text within the TextInput item's
width and height. By default, the text alignment follows the natural alignment
}
/*!
- \qmlproperty bool TextInput::readOnly
+ \qmlproperty bool QtQuick1::TextInput::readOnly
Sets whether user input can modify the contents of the TextInput.
}
/*!
- \qmlproperty int TextInput::maximumLength
+ \qmlproperty int QtQuick1::TextInput::maximumLength
The maximum permitted length of the text in the TextInput.
If the text is too long, it is truncated at the limit.
}
/*!
- \qmlproperty bool TextInput::cursorVisible
+ \qmlproperty bool QtQuick1::TextInput::cursorVisible
Set to true when the TextInput shows a cursor.
This property is set and unset when the TextInput gets active focus, so that other
}
/*!
- \qmlproperty int TextInput::cursorPosition
+ \qmlproperty int QtQuick1::TextInput::cursorPosition
The position of the cursor in the TextInput.
*/
int QDeclarative1TextInput::cursorPosition() const
}
/*!
- \qmlproperty int TextInput::selectionStart
+ \qmlproperty int QtQuick1::TextInput::selectionStart
The cursor position before the first character in the current selection.
Setting this and selectionEnd allows you to specify a selection in the
}
/*!
- \qmlproperty int TextInput::selectionEnd
+ \qmlproperty int QtQuick1::TextInput::selectionEnd
The cursor position after the last character in the current selection.
Setting this and selectionStart allows you to specify a selection in the
}
/*!
- \qmlmethod void TextInput::select(int start, int end)
+ \qmlmethod void QtQuick1::TextInput::select(int start, int end)
Causes the text from \a start to \a end to be selected.
}
/*!
- \qmlproperty string TextInput::selectedText
+ \qmlproperty string QtQuick1::TextInput::selectedText
This read-only property provides the text currently selected in the
text input.
}
/*!
- \qmlproperty bool TextInput::activeFocusOnPress
+ \qmlproperty bool QtQuick1::TextInput::activeFocusOnPress
Whether the TextInput should gain active focus on a mouse press. By default this is
set to true.
}
/*!
- \qmlproperty bool TextInput::autoScroll
+ \qmlproperty bool QtQuick1::TextInput::autoScroll
Whether the TextInput should scroll when the text is longer than the width. By default this is
set to true.
/*!
\qmlclass IntValidator QIntValidator
+ \inqmlmodule QtQuick 1
\ingroup qml-basic-visual-elements
This element provides a validator for integer values.
locale.
*/
/*!
- \qmlproperty int IntValidator::top
+ \qmlproperty int QtQuick1::IntValidator::top
This property holds the validator's highest acceptable value.
By default, this property's value is derived from the highest signed integer available (typically 2147483647).
*/
/*!
- \qmlproperty int IntValidator::bottom
+ \qmlproperty int QtQuick1::IntValidator::bottom
This property holds the validator's lowest acceptable value.
By default, this property's value is derived from the lowest signed integer available (typically -2147483647).
/*!
\qmlclass DoubleValidator QDoubleValidator
+ \inqmlmodule QtQuick 1
\ingroup qml-basic-visual-elements
This element provides a validator for non-integer numbers.
*/
/*!
- \qmlproperty real DoubleValidator::top
+ \qmlproperty real QtQuick1::DoubleValidator::top
This property holds the validator's maximum acceptable value.
By default, this property contains a value of infinity.
*/
/*!
- \qmlproperty real DoubleValidator::bottom
+ \qmlproperty real QtQuick1::DoubleValidator::bottom
This property holds the validator's minimum acceptable value.
By default, this property contains a value of -infinity.
*/
/*!
- \qmlproperty int DoubleValidator::decimals
+ \qmlproperty int QtQuick1::DoubleValidator::decimals
This property holds the validator's maximum number of digits after the decimal point.
By default, this property contains a value of 1000.
*/
/*!
- \qmlproperty enumeration DoubleValidator::notation
+ \qmlproperty enumeration QtQuick1::DoubleValidator::notation
This property holds the notation of how a string can describe a number.
The possible values for this property are:
/*!
\qmlclass RegExpValidator QRegExpValidator
+ \inqmlmodule QtQuick 1
\ingroup qml-basic-visual-elements
This element provides a validator, which counts as valid any string which
matches a specified regular expression.
*/
/*!
- \qmlproperty regExp RegExpValidator::regExp
+ \qmlproperty regExp QtQuick1::RegExpValidator::regExp
This property holds the regular expression used for validation.
*/
/*!
- \qmlproperty Validator TextInput::validator
+ \qmlproperty Validator QtQuick1::TextInput::validator
Allows you to set a validator on the TextInput. When a validator is set
the TextInput will only accept input which leaves the text property in
#endif // QT_NO_VALIDATOR
/*!
- \qmlproperty string TextInput::inputMask
+ \qmlproperty string QtQuick1::TextInput::inputMask
Allows you to set an input mask on the TextInput, restricting the allowable
text inputs. See QLineEdit::inputMask for further details, as the exact
}
/*!
- \qmlproperty bool TextInput::acceptableInput
+ \qmlproperty bool QtQuick1::TextInput::acceptableInput
This property is always true unless a validator or input mask has been set.
If a validator or input mask has been set, this property will only be true
}
/*!
- \qmlsignal TextInput::onAccepted()
+ \qmlsignal QtQuick1::TextInput::onAccepted()
This handler is called when the Return or Enter key is pressed.
Note that if there is a \l validator or \l inputMask set on the text
}
/*!
- \qmlproperty enumeration TextInput::echoMode
+ \qmlproperty enumeration QtQuick1::TextInput::echoMode
Specifies how the text should be displayed in the TextInput.
\list
}
/*!
- \qmlproperty Component TextInput::cursorDelegate
+ \qmlproperty Component QtQuick1::TextInput::cursorDelegate
The delegate for the cursor in the TextInput.
If you set a cursorDelegate for a TextInput, this delegate will be used for
}
/*!
- \qmlmethod rect TextInput::positionToRectangle(int pos)
+ \qmlmethod rect QtQuick1::TextInput::positionToRectangle(int pos)
This function takes a character position and returns the rectangle that the
cursor would occupy, if it was placed at that character position.
}
/*!
- \qmlmethod int TextInput::positionAt(int x, CursorPosition position = CursorBetweenCharacters)
+ \qmlmethod int QtQuick1::TextInput::positionAt(int x, CursorPosition position = CursorBetweenCharacters)
\since Quick 1.1
This function returns the character position at
}
/*!
- \qmlmethod void TextInput::deselect()
+ \qmlmethod void QtQuick1::TextInput::deselect()
\since Quick 1.1
Removes active text selection.
}
/*!
- \qmlmethod void TextInput::selectAll()
+ \qmlmethod void QtQuick1::TextInput::selectAll()
Causes all text to be selected.
*/
}
/*!
- \qmlmethod void TextInput::isRightToLeft(int start, int end)
+ \qmlmethod void QtQuick1::TextInput::isRightToLeft(int start, int end)
Returns true if the natural reading direction of the editor text
found between positions \a start and \a end is right to left.
#ifndef QT_NO_CLIPBOARD
/*!
- \qmlmethod TextInput::cut()
+ \qmlmethod QtQuick1::TextInput::cut()
Moves the currently selected text to the system clipboard.
*/
}
/*!
- \qmlmethod TextInput::copy()
+ \qmlmethod QtQuick1::TextInput::copy()
Copies the currently selected text to the system clipboard.
*/
}
/*!
- \qmlmethod TextInput::paste()
+ \qmlmethod QtQuick1::TextInput::paste()
Replaces the currently selected text by the contents of the system clipboard.
*/
#endif // QT_NO_CLIPBOARD
/*!
- \qmlmethod void TextInput::selectWord()
+ \qmlmethod void QtQuick1::TextInput::selectWord()
Causes the word closest to the current cursor position to be selected.
*/
}
/*!
- \qmlproperty bool TextInput::smooth
+ \qmlproperty bool QtQuick1::TextInput::smooth
This property holds whether the text is smoothly scaled or transformed.
*/
/*!
- \qmlproperty string TextInput::passwordCharacter
+ \qmlproperty string QtQuick1::TextInput::passwordCharacter
This is the character displayed when echoMode is set to Password or
PasswordEchoOnEdit. By default it is an asterisk.
}
/*!
- \qmlproperty string TextInput::displayText
+ \qmlproperty string QtQuick1::TextInput::displayText
This is the text displayed in the TextInput.
}
/*!
- \qmlproperty bool TextInput::selectByMouse
+ \qmlproperty bool QtQuick1::TextInput::selectByMouse
Defaults to false.
}
/*!
- \qmlproperty enum TextInput::mouseSelectionMode
+ \qmlproperty enum QtQuick1::TextInput::mouseSelectionMode
\since Quick 1.1
Specifies how text should be selected using a mouse.
}
/*!
- \qmlproperty bool TextInput::canPaste
+ \qmlproperty bool QtQuick1::TextInput::canPaste
\since QtQuick 1.1
Returns true if the TextInput is writable and the content of the clipboard is
}
/*!
- \qmlmethod void TextInput::moveCursorSelection(int position, SelectionMode mode = TextInput.SelectCharacters)
+ \qmlmethod void QtQuick1::TextInput::moveCursorSelection(int position, SelectionMode mode = TextInput.SelectCharacters)
\since Quick 1.1
Moves the cursor to \a position and updates the selection according to the optional \a mode
}
/*!
- \qmlmethod void TextInput::openSoftwareInputPanel()
+ \qmlmethod void QtQuick1::TextInput::openSoftwareInputPanel()
Opens software input panels like virtual keyboards for typing, useful for
customizing when you want the input keyboard to be shown and hidden in
}
/*!
- \qmlmethod void TextInput::closeSoftwareInputPanel()
+ \qmlmethod void QtQuick1::TextInput::closeSoftwareInputPanel()
Closes a software input panel like a virtual keyboard shown on the screen, useful
for customizing when you want the input keyboard to be shown and hidden in
}
/*!
- \qmlproperty bool TextInput::inputMethodComposing
+ \qmlproperty bool QtQuick1::TextInput::inputMethodComposing
\since QtQuick 1.1
/*!
\qmlclass VisualItemModel QDeclarative1VisualItemModel
+ \inqmlmodule QtQuick 1
\ingroup qml-working-with-data
- \since 4.7
+ \since QtQuick 1.0
\brief The VisualItemModel allows items to be provided to a view.
A VisualItemModel contains the visual items to be used in a view.
}
/*!
- \qmlproperty int VisualItemModel::count
+ \qmlproperty int QtQuick1::VisualItemModel::count
The number of items in the model. This property is readonly.
*/
/*!
\qmlclass VisualDataModel QDeclarative1VisualDataModel
+ \inqmlmodule QtQuick 1
\ingroup qml-working-with-data
\brief The VisualDataModel encapsulates a model and delegate
}
/*!
- \qmlproperty model VisualDataModel::model
+ \qmlproperty model QtQuick1::VisualDataModel::model
This property holds the model providing data for the VisualDataModel.
The model provides a set of data that is used to create the items
}
/*!
- \qmlproperty Component VisualDataModel::delegate
+ \qmlproperty Component QtQuick1::VisualDataModel::delegate
The delegate provides a template defining each item instantiated by a view.
The index is exposed as an accessible \c index property. Properties of the
}
/*!
- \qmlproperty QModelIndex VisualDataModel::rootIndex
+ \qmlproperty QModelIndex QtQuick1::VisualDataModel::rootIndex
QAbstractItemModel provides a hierarchical tree of data, whereas
QML only operates on list data. \c rootIndex allows the children of
/*!
- \qmlmethod QModelIndex VisualDataModel::modelIndex(int index)
+ \qmlmethod QModelIndex QtQuick1::VisualDataModel::modelIndex(int index)
QAbstractItemModel provides a hierarchical tree of data, whereas
QML only operates on list data. This function assists in using
}
/*!
- \qmlmethod QModelIndex VisualDataModel::parentModelIndex()
+ \qmlmethod QModelIndex QtQuick1::VisualDataModel::parentModelIndex()
QAbstractItemModel provides a hierarchical tree of data, whereas
QML only operates on list data. This function assists in using
}
/*!
- \qmlproperty object VisualDataModel::parts
+ \qmlproperty object QtQuick1::VisualDataModel::parts
The \a parts property selects a VisualDataModel which creates
delegates from the part named. This is used in conjunction with
/*!
\qmlclass Animation QDeclarative1AbstractAnimation
+ \inqmlmodule QtQuick 1
\ingroup qml-animation-transition
- \since 4.7
+ \since QtQuick 1.0
\brief The Animation element is the base of all QML animations.
The Animation element cannot be used directly in a QML file. It exists
}
/*!
- \qmlproperty bool Animation::running
+ \qmlproperty bool QtQuick1::Animation::running
This property holds whether the animation is currently running.
The \c running property can be set to declaratively control whether or not
}
/*!
- \qmlproperty bool Animation::paused
+ \qmlproperty bool QtQuick1::Animation::paused
This property holds whether the animation is currently paused.
The \c paused property can be set to declaratively control whether or not
}
/*!
- \qmlproperty bool Animation::alwaysRunToEnd
+ \qmlproperty bool QtQuick1::Animation::alwaysRunToEnd
This property holds whether the animation should run to completion when it is stopped.
If this true the animation will complete its current iteration when it
}
/*!
- \qmlproperty int Animation::loops
+ \qmlproperty int QtQuick1::Animation::loops
This property holds the number of times the animation should play.
By default, \c loops is 1: the animation will play through once and then stop.
}
/*!
- \qmlmethod Animation::start()
+ \qmlmethod QtQuick1::Animation::start()
\brief Starts the animation.
If the animation is already running, calling this method has no effect. The
}
/*!
- \qmlmethod Animation::pause()
+ \qmlmethod QtQuick1::Animation::pause()
\brief Pauses the animation.
If the animation is already paused, calling this method has no effect. The
}
/*!
- \qmlmethod Animation::resume()
+ \qmlmethod QtQuick1::Animation::resume()
\brief Resumes a paused animation.
If the animation is not paused, calling this method has no effect. The
}
/*!
- \qmlmethod Animation::stop()
+ \qmlmethod QtQuick1::Animation::stop()
\brief Stops the animation.
If the animation is not running, calling this method has no effect. The
}
/*!
- \qmlmethod Animation::restart()
+ \qmlmethod QtQuick1::Animation::restart()
\brief Restarts the animation.
This is a convenience method, and is equivalent to calling \c stop() and
}
/*!
- \qmlmethod Animation::complete()
+ \qmlmethod QtQuick1::Animation::complete()
\brief Stops the animation, jumping to the final property values.
If the animation is not running, calling this method has no effect. The
/*!
\qmlclass PauseAnimation QDeclarative1PauseAnimation
+ \inqmlmodule QtQuick 1
\ingroup qml-animation-transition
- \since 4.7
+ \since QtQuick 1.0
\inherits Animation
\brief The PauseAnimation element provides a pause for an animation.
}
/*!
- \qmlproperty int PauseAnimation::duration
+ \qmlproperty int QtQuick1::PauseAnimation::duration
This property holds the duration of the pause in milliseconds
The default value is 250.
/*!
\qmlclass ColorAnimation QDeclarative1ColorAnimation
+ \inqmlmodule QtQuick 1
\ingroup qml-animation-transition
- \since 4.7
+ \since QtQuick 1.0
\inherits PropertyAnimation
\brief The ColorAnimation element animates changes in color values.
}
/*!
- \qmlproperty color ColorAnimation::from
+ \qmlproperty color QtQuick1::ColorAnimation::from
This property holds the color value at which the animation should begin.
For example, the following animation is not applied until a color value
}
/*!
- \qmlproperty color ColorAnimation::to
+ \qmlproperty color QtQuick1::ColorAnimation::to
This property holds the color value at which the animation should end.
/*!
\qmlclass ScriptAction QDeclarative1ScriptAction
+ \inqmlmodule QtQuick 1
\ingroup qml-animation-transition
- \since 4.7
+ \since QtQuick 1.0
\inherits Animation
\brief The ScriptAction element allows scripts to be run during an animation.
}
/*!
- \qmlproperty script ScriptAction::script
+ \qmlproperty script QtQuick1::ScriptAction::script
This property holds the script to run.
*/
QDeclarativeScriptString QDeclarative1ScriptAction::script() const
}
/*!
- \qmlproperty string ScriptAction::scriptName
+ \qmlproperty string QtQuick1::ScriptAction::scriptName
This property holds the the name of the StateChangeScript to run.
This property is only valid when ScriptAction is used as part of a transition.
/*!
\qmlclass PropertyAction QDeclarative1PropertyAction
+ \inqmlmodule QtQuick 1
\ingroup qml-animation-transition
- \since 4.7
+ \since QtQuick 1.0
\inherits Animation
\brief The PropertyAction element allows immediate property changes during animation.
}
/*!
- \qmlproperty Object PropertyAction::target
- \qmlproperty list<Object> PropertyAction::targets
- \qmlproperty string PropertyAction::property
- \qmlproperty string PropertyAction::properties
+ \qmlproperty Object QtQuick1::PropertyAction::target
+ \qmlproperty list<Object> QtQuick1::PropertyAction::targets
+ \qmlproperty string QtQuick1::PropertyAction::property
+ \qmlproperty string QtQuick1::PropertyAction::properties
These properties determine the items and their properties that are
affected by this action.
}
/*!
- \qmlproperty list<Object> PropertyAction::exclude
+ \qmlproperty list<Object> QtQuick1::PropertyAction::exclude
This property holds the objects that should not be affected by this action.
\sa targets
}
/*!
- \qmlproperty any PropertyAction::value
+ \qmlproperty any QtQuick1::PropertyAction::value
This property holds the value to be set on the property.
If the PropertyAction is defined within a \l Transition or \l Behavior,
/*!
\qmlclass NumberAnimation QDeclarative1NumberAnimation
+ \inqmlmodule QtQuick 1
\ingroup qml-animation-transition
- \since 4.7
+ \since QtQuick 1.0
\inherits PropertyAnimation
\brief The NumberAnimation element animates changes in qreal-type values.
}
/*!
- \qmlproperty real NumberAnimation::from
+ \qmlproperty real QtQuick1::NumberAnimation::from
This property holds the starting value for the animation.
For example, the following animation is not applied until the \c x value
}
/*!
- \qmlproperty real NumberAnimation::to
+ \qmlproperty real QtQuick1::NumberAnimation::to
This property holds the end value for the animation.
If the NumberAnimation is defined within a \l Transition or \l Behavior,
/*!
\qmlclass Vector3dAnimation QDeclarative1Vector3dAnimation
+ \inqmlmodule QtQuick 1
\ingroup qml-animation-transition
- \since 4.7
+ \since QtQuick 1.0
\inherits PropertyAnimation
\brief The Vector3dAnimation element animates changes in QVector3d values.
}
/*!
- \qmlproperty real Vector3dAnimation::from
+ \qmlproperty real QtQuick1::Vector3dAnimation::from
This property holds the starting value for the animation.
If the Vector3dAnimation is defined within a \l Transition or \l Behavior,
}
/*!
- \qmlproperty real Vector3dAnimation::to
+ \qmlproperty real QtQuick1::Vector3dAnimation::to
This property holds the end value for the animation.
If the Vector3dAnimation is defined within a \l Transition or \l Behavior,
/*!
\qmlclass RotationAnimation QDeclarative1RotationAnimation
+ \inqmlmodule QtQuick 1
\ingroup qml-animation-transition
- \since 4.7
+ \since QtQuick 1.0
\inherits PropertyAnimation
\brief The RotationAnimation element animates changes in rotation values.
}
/*!
- \qmlproperty real RotationAnimation::from
+ \qmlproperty real QtQuick1::RotationAnimation::from
This property holds the starting value for the animation.
For example, the following animation is not applied until the \c angle value
}
/*!
- \qmlproperty real RotationAnimation::to
+ \qmlproperty real QtQuick1::RotationAnimation::to
This property holds the end value for the animation..
If the RotationAnimation is defined within a \l Transition or \l Behavior,
}
/*!
- \qmlproperty enumeration RotationAnimation::direction
+ \qmlproperty enumeration QtQuick1::RotationAnimation::direction
This property holds the direction of the rotation.
Possible values are:
/*!
\qmlclass SequentialAnimation QDeclarative1SequentialAnimation
+ \inqmlmodule QtQuick 1
\ingroup qml-animation-transition
- \since 4.7
+ \since QtQuick 1.0
\inherits Animation
\brief The SequentialAnimation element allows animations to be run sequentially.
/*!
\qmlclass ParallelAnimation QDeclarative1ParallelAnimation
+ \inqmlmodule QtQuick 1
\ingroup qml-animation-transition
- \since 4.7
+ \since QtQuick 1.0
\inherits Animation
\brief The ParallelAnimation element allows animations to be run in parallel.
/*!
\qmlclass PropertyAnimation QDeclarative1PropertyAnimation
+ \inqmlmodule QtQuick 1
\ingroup qml-animation-transition
- \since 4.7
+ \since QtQuick 1.0
\inherits Animation
\brief The PropertyAnimation element animates changes in property values.
}
/*!
- \qmlproperty int PropertyAnimation::duration
+ \qmlproperty int QtQuick1::PropertyAnimation::duration
This property holds the duration of the animation, in milliseconds.
The default value is 250.
}
/*!
- \qmlproperty real PropertyAnimation::from
+ \qmlproperty real QtQuick1::PropertyAnimation::from
This property holds the starting value for the animation.
If the PropertyAnimation is defined within a \l Transition or \l Behavior,
}
/*!
- \qmlproperty real PropertyAnimation::to
+ \qmlproperty real QtQuick1::PropertyAnimation::to
This property holds the end value for the animation.
If the PropertyAnimation is defined within a \l Transition or \l Behavior,
}
/*!
- \qmlproperty enumeration PropertyAnimation::easing.type
- \qmlproperty real PropertyAnimation::easing.amplitude
- \qmlproperty real PropertyAnimation::easing.overshoot
- \qmlproperty real PropertyAnimation::easing.period
+ \qmlproperty enumeration QtQuick1::PropertyAnimation::easing.type
+ \qmlproperty real QtQuick1::PropertyAnimation::easing.amplitude
+ \qmlproperty real QtQuick1::PropertyAnimation::easing.overshoot
+ \qmlproperty real QtQuick1::PropertyAnimation::easing.period
\brief the easing curve used for the animation.
To specify an easing curve you need to specify at least the type. For some curves you can also specify
}
/*!
- \qmlproperty string PropertyAnimation::properties
- \qmlproperty list<Object> PropertyAnimation::targets
- \qmlproperty string PropertyAnimation::property
- \qmlproperty Object PropertyAnimation::target
+ \qmlproperty string QtQuick1::PropertyAnimation::properties
+ \qmlproperty list<Object> QtQuick1::PropertyAnimation::targets
+ \qmlproperty string QtQuick1::PropertyAnimation::property
+ \qmlproperty Object QtQuick1::PropertyAnimation::target
These properties are used as a set to determine which properties should be animated.
The singular and plural forms are functionally identical, e.g.
}
/*!
- \qmlproperty list<Object> PropertyAnimation::exclude
+ \qmlproperty list<Object> QtQuick1::PropertyAnimation::exclude
This property holds the items not to be affected by this animation.
\sa PropertyAnimation::targets
*/
/*!
\qmlclass ParentAnimation QDeclarative1ParentAnimation
+ \inqmlmodule QtQuick 1
\ingroup qml-animation-transition
- \since 4.7
+ \since QtQuick 1.0
\inherits Animation
\brief The ParentAnimation element animates changes in parent values.
}
/*!
- \qmlproperty Item ParentAnimation::target
+ \qmlproperty Item QtQuick1::ParentAnimation::target
The item to reparent.
When used in a transition, if no target is specified, all
}
/*!
- \qmlproperty Item ParentAnimation::newParent
+ \qmlproperty Item QtQuick1::ParentAnimation::newParent
The new parent to animate to.
If the ParentAnimation is defined within a \l Transition or \l Behavior,
}
/*!
- \qmlproperty Item ParentAnimation::via
+ \qmlproperty Item QtQuick1::ParentAnimation::via
The item to reparent via. This provides a way to do an unclipped animation
when both the old parent and new parent are clipped.
/*!
\qmlclass AnchorAnimation QDeclarative1AnchorAnimation
+ \inqmlmodule QtQuick 1
\ingroup qml-animation-transition
- \since 4.7
+ \since QtQuick 1.0
\inherits Animation
\brief The AnchorAnimation element animates changes in anchor values.
}
/*!
- \qmlproperty list<Item> AnchorAnimation::targets
+ \qmlproperty list<Item> QtQuick1::AnchorAnimation::targets
The items to reanchor.
If no targets are specified all AnchorChanges will be
}
/*!
- \qmlproperty int AnchorAnimation::duration
+ \qmlproperty int QtQuick1::AnchorAnimation::duration
This property holds the duration of the animation, in milliseconds.
The default value is 250.
}
/*!
- \qmlproperty enumeration AnchorAnimation::easing.type
- \qmlproperty real AnchorAnimation::easing.amplitude
- \qmlproperty real AnchorAnimation::easing.overshoot
- \qmlproperty real AnchorAnimation::easing.period
+ \qmlproperty enumeration QtQuick1::AnchorAnimation::easing.type
+ \qmlproperty real QtQuick1::AnchorAnimation::easing.amplitude
+ \qmlproperty real QtQuick1::AnchorAnimation::easing.overshoot
+ \qmlproperty real QtQuick1::AnchorAnimation::easing.period
\brief the easing curve used for the animation.
To specify an easing curve you need to specify at least the type. For some curves you can also specify
/*!
\qmlclass Behavior QDeclarative1Behavior
+ \inqmlmodule QtQuick 1
\ingroup qml-animation-transition
- \since 4.7
+ \since QtQuick 1.0
\brief The Behavior element allows you to specify a default animation for a property change.
A Behavior defines the default animation to be applied whenever a
}
/*!
- \qmlproperty Animation Behavior::animation
+ \qmlproperty Animation QtQuick1::Behavior::animation
\default
This property holds the animation to run when the behavior is triggered.
/*!
- \qmlproperty bool Behavior::enabled
+ \qmlproperty bool QtQuick1::Behavior::enabled
This property holds whether the behavior will be triggered when the tracked
property changes value.
/*!
\qmlclass Binding QDeclarative1Bind
+ \inqmlmodule QtQuick 1
\ingroup qml-working-with-data
- \since 4.7
+ \since QtQuick 1.0
\brief The Binding element allows arbitrary property bindings to be created.
Sometimes it is necessary to bind to a property of an object that wasn't
}
/*!
- \qmlproperty bool Binding::when
+ \qmlproperty bool QtQuick1::Binding::when
This property holds when the binding is active.
This should be set to an expression that evaluates to true when you want the binding to be active.
}
/*!
- \qmlproperty Object Binding::target
+ \qmlproperty Object QtQuick1::Binding::target
The object to be updated.
*/
}
/*!
- \qmlproperty string Binding::property
+ \qmlproperty string QtQuick1::Binding::property
The property to be updated.
*/
}
/*!
- \qmlproperty any Binding::value
+ \qmlproperty any QtQuick1::Binding::value
The value to be set on the target object and property. This can be a
constant (which isn't very useful), or a bound expression.
/*!
\qmlclass Connections QDeclarative1Connections
+ \inqmlmodule QtQuick 1
\ingroup qml-utility-elements
- \since 4.7
+ \since QtQuick 1.0
\brief A Connections element describes generalized connections to signals.
A Connections object creates a connection to a QML signal.
}
/*!
- \qmlproperty Object Connections::target
+ \qmlproperty Object QtQuick1::Connections::target
This property holds the object that sends the signal.
If this property is not set, the \c target defaults to the parent of the Connection.
}
/*!
- \qmlproperty bool Connections::ignoreUnknownSignals
+ \qmlproperty bool QtQuick1::Connections::ignoreUnknownSignals
Normally, a connection to a non-existent signal produces runtime errors.
/*!
\qmlclass FontLoader QDeclarative1FontLoader
+ \inqmlmodule QtQuick 1
\ingroup qml-utility-elements
- \since 4.7
+ \since QtQuick 1.0
\brief The FontLoader element allows fonts to be loaded by name or URL.
The FontLoader element is used to load fonts by name or URL.
}
/*!
- \qmlproperty url FontLoader::source
+ \qmlproperty url QtQuick1::FontLoader::source
The url of the font to load.
*/
QUrl QDeclarative1FontLoader::source() const
}
/*!
- \qmlproperty string FontLoader::name
+ \qmlproperty string QtQuick1::FontLoader::name
This property holds the name of the font family.
It is set automatically when a font is loaded using the \c url property.
}
/*!
- \qmlproperty enumeration FontLoader::status
+ \qmlproperty enumeration QtQuick1::FontLoader::status
This property holds the status of font loading. It can be one of:
\list
/*!
\qmlclass ListModel QDeclarative1ListModel
+ \inqmlmodule QtQuick 1
\ingroup qml-working-with-data
- \since 4.7
+ \since QtQuick 1.0
\brief The ListModel element defines a free-form list data source.
The ListModel is a simple container of ListElement definitions, each containing data roles.
}
/*!
- \qmlproperty int ListModel::count
+ \qmlproperty int QtQuick1::ListModel::count
The number of data entries in the model.
*/
int QDeclarative1ListModel::count() const
}
/*!
- \qmlmethod ListModel::clear()
+ \qmlmethod QtQuick1::ListModel::clear()
Deletes all content from the model.
}
/*!
- \qmlmethod ListModel::remove(int index)
+ \qmlmethod QtQuick1::ListModel::remove(int index)
Deletes the content at \a index from the model.
}
/*!
- \qmlmethod ListModel::insert(int index, jsobject dict)
+ \qmlmethod QtQuick1::ListModel::insert(int index, jsobject dict)
Adds a new item to the list model at position \a index, with the
values in \a dict.
}
/*!
- \qmlmethod ListModel::move(int from, int to, int n)
+ \qmlmethod QtQuick1::ListModel::move(int from, int to, int n)
Moves \a n items \a from one position \a to another.
}
/*!
- \qmlmethod ListModel::append(jsobject dict)
+ \qmlmethod QtQuick1::ListModel::append(jsobject dict)
Adds a new item to the end of the list model, with the
values in \a dict.
}
/*!
- \qmlmethod object ListModel::get(int index)
+ \qmlmethod object QtQuick1::ListModel::get(int index)
Returns the item at \a index in the list model. This allows the item
data to be accessed or modified from JavaScript:
}
/*!
- \qmlmethod ListModel::set(int index, jsobject dict)
+ \qmlmethod QtQuick1::ListModel::set(int index, jsobject dict)
Changes the item at \a index in the list model with the
values in \a dict. Properties not appearing in \a dict
}
/*!
- \qmlmethod ListModel::setProperty(int index, string property, variant value)
+ \qmlmethod QtQuick1::ListModel::setProperty(int index, string property, variant value)
Changes the \a property of the item at \a index in the list model to \a value.
}
/*!
- \qmlmethod ListModel::sync()
+ \qmlmethod QtQuick1::ListModel::sync()
Writes any unsaved changes to the list model after it has been modified
from a worker script.
/*!
\qmlclass ListElement QDeclarative1ListElement
+ \inqmlmodule QtQuick 1
\ingroup qml-working-with-data
- \since 4.7
+ \since QtQuick 1.0
\brief The ListElement element defines a data item in a ListModel.
List elements are defined inside ListModel definitions, and represent items in a
/*!
\qmlclass Package QDeclarative1Package
+ \inqmlmodule QtQuick 1
\ingroup qml-working-with-data
\brief Package provides a collection of named items.
/*!
\qmlclass PropertyChanges QDeclarative1PropertyChanges
+ \inqmlmodule QtQuick 1
\ingroup qml-state-elements
- \since 4.7
+ \since QtQuick 1.0
\brief The PropertyChanges element describes new property bindings or values for a state.
PropertyChanges is used to define the property values or bindings in a
*/
/*!
- \qmlproperty Object PropertyChanges::target
+ \qmlproperty Object QtQuick1::PropertyChanges::target
This property holds the object which contains the properties to be changed.
*/
}
/*!
- \qmlproperty bool PropertyChanges::restoreEntryValues
+ \qmlproperty bool QtQuick1::PropertyChanges::restoreEntryValues
This property holds whether the previous values should be restored when
leaving the state.
}
/*!
- \qmlproperty bool PropertyChanges::explicit
+ \qmlproperty bool QtQuick1::PropertyChanges::explicit
If explicit is set to true, any potential bindings will be interpreted as
once-off assignments that occur when the state is entered.
/*!
\qmlclass SmoothedAnimation QDeclarative1SmoothedAnimation
+ \inqmlmodule QtQuick 1
\ingroup qml-animation-transition
- \since 4.7
+ \since QtQuick 1.0
\inherits NumberAnimation
\brief The SmoothedAnimation element allows a property to smoothly track a value.
}
/*!
- \qmlproperty enumeration SmoothedAnimation::reversingMode
+ \qmlproperty enumeration QtQuick1::SmoothedAnimation::reversingMode
Sets how the SmoothedAnimation behaves if an animation direction is reversed.
}
/*!
- \qmlproperty int SmoothedAnimation::duration
+ \qmlproperty int QtQuick1::SmoothedAnimation::duration
This property holds the animation duration, in msecs, used when tracking the source.
}
/*!
- \qmlproperty real SmoothedAnimation::velocity
+ \qmlproperty real QtQuick1::SmoothedAnimation::velocity
This property holds the average velocity allowed when tracking the 'to' value.
}
/*!
- \qmlproperty int SmoothedAnimation::maximumEasingTime
+ \qmlproperty int QtQuick1::SmoothedAnimation::maximumEasingTime
This property specifies the maximum time, in msecs, any "eases" during the follow should take.
Setting this property causes the velocity to "level out" after at a time. Setting
/*!
\qmlclass SpringAnimation QDeclarative1SpringAnimation
+ \inqmlmodule QtQuick 1
\ingroup qml-animation-transition
\inherits NumberAnimation
- \since 4.7
+ \since QtQuick 1.0
\brief The SpringAnimation element allows a property to track a value in a spring-like motion.
}
/*!
- \qmlproperty real SpringAnimation::velocity
+ \qmlproperty real QtQuick1::SpringAnimation::velocity
This property holds the maximum velocity allowed when tracking the source.
}
/*!
- \qmlproperty real SpringAnimation::spring
+ \qmlproperty real QtQuick1::SpringAnimation::spring
This property describes how strongly the target is pulled towards the
source. The default value is 0 (that is, the spring-like motion is disabled).
}
/*!
- \qmlproperty real SpringAnimation::damping
+ \qmlproperty real QtQuick1::SpringAnimation::damping
This property holds the spring damping value.
This value describes how quickly the spring-like motion comes to rest.
/*!
- \qmlproperty real SpringAnimation::epsilon
+ \qmlproperty real QtQuick1::SpringAnimation::epsilon
This property holds the spring epsilon.
The epsilon is the rate and amount of change in the value which is close enough
}
/*!
- \qmlproperty real SpringAnimation::modulus
+ \qmlproperty real QtQuick1::SpringAnimation::modulus
This property holds the modulus value. The default value is 0.
Setting a \a modulus forces the target value to "wrap around" at the modulus.
}
/*!
- \qmlproperty real SpringAnimation::mass
+ \qmlproperty real QtQuick1::SpringAnimation::mass
This property holds the "mass" of the property being moved.
The value is 1.0 by default.
/*!
\qmlclass State QDeclarative1State
+ \inqmlmodule QtQuick 1
\ingroup qml-state-elements
- \since 4.7
+ \since QtQuick 1.0
\brief The State element defines configurations of objects and properties.
A \e state is a set of batched changes from the default configuration.
}
/*!
- \qmlproperty string State::name
+ \qmlproperty string QtQuick1::State::name
This property holds the name of the state.
Each state should have a unique name within its item.
}
/*!
- \qmlproperty bool State::when
+ \qmlproperty bool QtQuick1::State::when
This property holds when the state should be applied.
This should be set to an expression that evaluates to \c true when you want the state to
}
/*!
- \qmlproperty string State::extend
+ \qmlproperty string QtQuick1::State::extend
This property holds the state that this state extends.
When a state extends another state, it inherits all the changes of that state.
}
/*!
- \qmlproperty list<Change> State::changes
+ \qmlproperty list<Change> QtQuick1::State::changes
This property holds the changes to apply for this state
\default
/*!
\qmlclass StateGroup QDeclarative1StateGroup
+ \inqmlmodule QtQuick 1
\ingroup qml-state-elements
- \since 4.7
+ \since QtQuick 1.0
\brief The StateGroup element provides state support for non-Item elements.
Item (and all derived elements) provides built in support for states and transitions
}
/*!
- \qmlproperty list<State> StateGroup::states
+ \qmlproperty list<State> QtQuick1::StateGroup::states
This property holds a list of states defined by the state group.
\qml
}
/*!
- \qmlproperty list<Transition> StateGroup::transitions
+ \qmlproperty list<Transition> QtQuick1::StateGroup::transitions
This property holds a list of transitions defined by the state group.
\qml
}
/*!
- \qmlproperty string StateGroup::state
+ \qmlproperty string QtQuick1::StateGroup::state
This property holds the name of the current state of the state group.
/*!
\preliminary
\qmlclass ParentChange QDeclarative1ParentChange
+ \inqmlmodule QtQuick 1
\ingroup qml-state-elements
\brief The ParentChange element allows you to reparent an Item in a state change.
}
/*!
- \qmlproperty real ParentChange::x
- \qmlproperty real ParentChange::y
- \qmlproperty real ParentChange::width
- \qmlproperty real ParentChange::height
- \qmlproperty real ParentChange::scale
- \qmlproperty real ParentChange::rotation
+ \qmlproperty real QtQuick1::ParentChange::x
+ \qmlproperty real QtQuick1::ParentChange::y
+ \qmlproperty real QtQuick1::ParentChange::width
+ \qmlproperty real QtQuick1::ParentChange::height
+ \qmlproperty real QtQuick1::ParentChange::scale
+ \qmlproperty real QtQuick1::ParentChange::rotation
These properties hold the new position, size, scale, and rotation
for the item in this state.
*/
}
/*!
- \qmlproperty Item ParentChange::target
+ \qmlproperty Item QtQuick1::ParentChange::target
This property holds the item to be reparented
*/
}
/*!
- \qmlproperty Item ParentChange::parent
+ \qmlproperty Item QtQuick1::ParentChange::parent
This property holds the new parent for the item in this state.
*/
/*!
\qmlclass StateChangeScript QDeclarative1StateChangeScript
+ \inqmlmodule QtQuick 1
\ingroup qml-state-elements
\brief The StateChangeScript element allows you to run a script in a state.
}
/*!
- \qmlproperty script StateChangeScript::script
+ \qmlproperty script QtQuick1::StateChangeScript::script
This property holds the script to run when the state is current.
*/
QDeclarativeScriptString QDeclarative1StateChangeScript::script() const
}
/*!
- \qmlproperty string StateChangeScript::name
+ \qmlproperty string QtQuick1::StateChangeScript::name
This property holds the name of the script. This name can be used by a
ScriptAction to target a specific script.
/*!
\qmlclass AnchorChanges QDeclarative1AnchorChanges
+ \inqmlmodule QtQuick 1
\ingroup qml-state-elements
\brief The AnchorChanges element allows you to change the anchors of an item in a state.
};
/*!
- \qmlproperty Item AnchorChanges::target
+ \qmlproperty Item QtQuick1::AnchorChanges::target
This property holds the \l Item for which the anchor changes will be applied.
*/
}
/*!
- \qmlproperty AnchorLine AnchorChanges::anchors.left
- \qmlproperty AnchorLine AnchorChanges::anchors.right
- \qmlproperty AnchorLine AnchorChanges::anchors.horizontalCenter
- \qmlproperty AnchorLine AnchorChanges::anchors.top
- \qmlproperty AnchorLine AnchorChanges::anchors.bottom
- \qmlproperty AnchorLine AnchorChanges::anchors.verticalCenter
- \qmlproperty AnchorLine AnchorChanges::anchors.baseline
+ \qmlproperty AnchorLine QtQuick1::AnchorChanges::anchors.left
+ \qmlproperty AnchorLine QtQuick1::AnchorChanges::anchors.right
+ \qmlproperty AnchorLine QtQuick1::AnchorChanges::anchors.horizontalCenter
+ \qmlproperty AnchorLine QtQuick1::AnchorChanges::anchors.top
+ \qmlproperty AnchorLine QtQuick1::AnchorChanges::anchors.bottom
+ \qmlproperty AnchorLine QtQuick1::AnchorChanges::anchors.verticalCenter
+ \qmlproperty AnchorLine QtQuick1::AnchorChanges::anchors.baseline
These properties change the respective anchors of the item.
/*!
\qmlclass SystemPalette QDeclarative1SystemPalette
+ \inqmlmodule QtQuick 1
\ingroup qml-utility-elements
- \since 4.7
+ \since QtQuick 1.0
\brief The SystemPalette element provides access to the Qt palettes.
The SystemPalette element provides access to the Qt application
}
/*!
- \qmlproperty color SystemPalette::window
+ \qmlproperty color QtQuick1::SystemPalette::window
The window (general background) color of the current color group.
\sa QPalette::ColorRole
}
/*!
- \qmlproperty color SystemPalette::windowText
+ \qmlproperty color QtQuick1::SystemPalette::windowText
The window text (general foreground) color of the current color group.
\sa QPalette::ColorRole
}
/*!
- \qmlproperty color SystemPalette::base
+ \qmlproperty color QtQuick1::SystemPalette::base
The base color of the current color group.
\sa QPalette::ColorRole
}
/*!
- \qmlproperty color SystemPalette::text
+ \qmlproperty color QtQuick1::SystemPalette::text
The text color of the current color group.
\sa QPalette::ColorRole
}
/*!
- \qmlproperty color SystemPalette::alternateBase
+ \qmlproperty color QtQuick1::SystemPalette::alternateBase
The alternate base color of the current color group.
\sa QPalette::ColorRole
}
/*!
- \qmlproperty color SystemPalette::button
+ \qmlproperty color QtQuick1::SystemPalette::button
The button color of the current color group.
\sa QPalette::ColorRole
}
/*!
- \qmlproperty color SystemPalette::buttonText
+ \qmlproperty color QtQuick1::SystemPalette::buttonText
The button text foreground color of the current color group.
\sa QPalette::ColorRole
}
/*!
- \qmlproperty color SystemPalette::light
+ \qmlproperty color QtQuick1::SystemPalette::light
The light color of the current color group.
\sa QPalette::ColorRole
}
/*!
- \qmlproperty color SystemPalette::midlight
+ \qmlproperty color QtQuick1::SystemPalette::midlight
The midlight color of the current color group.
\sa QPalette::ColorRole
}
/*!
- \qmlproperty color SystemPalette::dark
+ \qmlproperty color QtQuick1::SystemPalette::dark
The dark color of the current color group.
\sa QPalette::ColorRole
}
/*!
- \qmlproperty color SystemPalette::mid
+ \qmlproperty color QtQuick1::SystemPalette::mid
The mid color of the current color group.
\sa QPalette::ColorRole
}
/*!
- \qmlproperty color SystemPalette::shadow
+ \qmlproperty color QtQuick1::SystemPalette::shadow
The shadow color of the current color group.
\sa QPalette::ColorRole
}
/*!
- \qmlproperty color SystemPalette::highlight
+ \qmlproperty color QtQuick1::SystemPalette::highlight
The highlight color of the current color group.
\sa QPalette::ColorRole
}
/*!
- \qmlproperty color SystemPalette::highlightedText
+ \qmlproperty color QtQuick1::SystemPalette::highlightedText
The highlighted text color of the current color group.
\sa QPalette::ColorRole
}
/*!
- \qmlproperty enumeration SystemPalette::colorGroup
+ \qmlproperty enumeration QtQuick1::SystemPalette::colorGroup
The color group of the palette. This can be one of:
/*!
\qmlclass Timer QDeclarative1Timer
+ \inqmlmodule QtQuick 1
\ingroup qml-utility-elements
- \since 4.7
+ \since QtQuick 1.0
\brief The Timer item triggers a handler at a specified interval.
A Timer can be used to trigger an action either once, or repeatedly
}
/*!
- \qmlproperty int Timer::interval
+ \qmlproperty int QtQuick1::Timer::interval
Sets the \a interval between triggers, in milliseconds.
}
/*!
- \qmlproperty bool Timer::running
+ \qmlproperty bool QtQuick1::Timer::running
If set to true, starts the timer; otherwise stops the timer.
For a non-repeating timer, \a running is set to false after the
}
/*!
- \qmlproperty bool Timer::repeat
+ \qmlproperty bool QtQuick1::Timer::repeat
If \a repeat is true the timer is triggered repeatedly at the
specified interval; otherwise, the timer will trigger once at the
}
/*!
- \qmlproperty bool Timer::triggeredOnStart
+ \qmlproperty bool QtQuick1::Timer::triggeredOnStart
When a timer is started, the first trigger is usually after the specified
interval has elapsed. It is sometimes desirable to trigger immediately
}
/*!
- \qmlmethod Timer::start()
+ \qmlmethod QtQuick1::Timer::start()
\brief Starts the timer.
If the timer is already running, calling this method has no effect. The
}
/*!
- \qmlmethod Timer::stop()
+ \qmlmethod QtQuick1::Timer::stop()
\brief Stops the timer.
If the timer is not running, calling this method has no effect. The
}
/*!
- \qmlmethod Timer::restart()
+ \qmlmethod QtQuick1::Timer::restart()
\brief Restarts the timer.
If the Timer is not running it will be started, otherwise it will be
}
/*!
- \qmlsignal Timer::onTriggered()
+ \qmlsignal QtQuick1::Timer::onTriggered()
This handler is called when the Timer is triggered.
*/
/*!
\qmlclass Transition QDeclarative1Transition
+ \inqmlmodule QtQuick 1
\ingroup qml-animation-transition
- \since 4.7
+ \since QtQuick 1.0
\brief The Transition element defines animated transitions that occur on state changes.
A Transition defines the animations to be applied when a \l State change occurs.
}
/*!
- \qmlproperty string Transition::from
- \qmlproperty string Transition::to
+ \qmlproperty string QtQuick1::Transition::from
+ \qmlproperty string QtQuick1::Transition::to
These properties indicate the state changes that trigger the transition.
}
/*!
- \qmlproperty bool Transition::reversible
+ \qmlproperty bool QtQuick1::Transition::reversible
This property holds whether the transition should be automatically reversed when the conditions that triggered this transition are reversed.
The default value is false.
}
/*!
- \qmlproperty list<Animation> Transition::animations
+ \qmlproperty list<Animation> QtQuick1::Transition::animations
\default
This property holds a list of the animations to be run for this transition.
/*!
\class QDeclarativeView
- \since 4.7
+ \since QtQuick 1.0
\brief The QDeclarativeView class provides a widget for displaying a Qt Declarative user interface.
QDeclarativeItem objects can be placed on a standard QGraphicsScene and
/*!
\qmlclass XmlRole QDeclarative1XmlListModelRole
+ \inqmlmodule QtQuick 1
\ingroup qml-working-with-data
- \since 4.7
+ \since QtQuick 1.0
\brief The XmlRole element allows you to specify a role for an XmlListModel.
\sa {QtDeclarative}
*/
/*!
- \qmlproperty string XmlRole::name
+ \qmlproperty string QtQuick1::XmlRole::name
The name for the role. This name is used to access the model data for this role.
*/
/*!
- \qmlproperty string XmlRole::query
+ \qmlproperty string QtQuick1::XmlRole::query
The relative XPath expression query for this role. The query must be relative; it cannot start
with a '/'.
*/
/*!
- \qmlproperty bool XmlRole::isKey
+ \qmlproperty bool QtQuick1::XmlRole::isKey
Defines whether this is a key role.
Key roles are used to to determine whether a set of values should
/*!
\qmlclass XmlListModel QDeclarative1XmlListModel
+ \inqmlmodule QtQuick 1
\ingroup qml-working-with-data
- \since 4.7
+ \since QtQuick 1.0
\brief The XmlListModel element is used to specify a read-only model using XPath expressions.
XmlListModel is used to create a read-only model from XML data. It can be used as a data source
}
/*!
- \qmlproperty list<XmlRole> XmlListModel::roles
+ \qmlproperty list<XmlRole> QtQuick1::XmlListModel::roles
The roles to make available for this model.
*/
}
/*!
- \qmlproperty int XmlListModel::count
+ \qmlproperty int QtQuick1::XmlListModel::count
The number of data entries in the model.
*/
int QDeclarative1XmlListModel::count() const
}
/*!
- \qmlproperty url XmlListModel::source
+ \qmlproperty url QtQuick1::XmlListModel::source
The location of the XML data source.
If both \c source and \l xml are set, \l xml is used.
}
/*!
- \qmlproperty string XmlListModel::xml
+ \qmlproperty string QtQuick1::XmlListModel::xml
This property holds the XML data for this model, if set.
The text is assumed to be UTF-8 encoded.
}
/*!
- \qmlproperty string XmlListModel::query
+ \qmlproperty string QtQuick1::XmlListModel::query
An absolute XPath query representing the base query for creating model items
from this model's XmlRole objects. The query should start with '/' or '//'.
*/
}
/*!
- \qmlproperty string XmlListModel::namespaceDeclarations
+ \qmlproperty string QtQuick1::XmlListModel::namespaceDeclarations
The namespace declarations to be used in the XPath queries.
The namespaces should be declared as in XQuery. For example, if a requested document
}
/*!
- \qmlmethod object XmlListModel::get(int index)
+ \qmlmethod object QtQuick1::XmlListModel::get(int index)
Returns the item at \a index in the model.
}
/*!
- \qmlproperty enumeration XmlListModel::status
+ \qmlproperty enumeration QtQuick1::XmlListModel::status
Specifies the model loading status, which can be one of the following:
\list
}
/*!
- \qmlproperty real XmlListModel::progress
+ \qmlproperty real QtQuick1::XmlListModel::progress
This indicates the current progress of the downloading of the XML data
source. This value ranges from 0.0 (no data downloaded) to
}
/*!
- \qmlmethod void XmlListModel::errorString()
+ \qmlmethod void QtQuick1::XmlListModel::errorString()
Returns a string description of the last error that occurred
if \l status is XmlListModel::Error.
}
/*!
- \qmlmethod XmlListModel::reload()
+ \qmlmethod QtQuick1::XmlListModel::reload()
Reloads the model.