}
/*!
- If \a script is a simple enum expression (eg. Text.AlignLeft),
+ If \a script is a simple enumeration expression (eg. Text.AlignLeft),
returns the integer equivalent (eg. 1), and sets \a ok to true.
Otherwise sets \a ok to false.
\section1 Enums
The Qt object contains the enums available in the \l {Qt Namespace}. For example, you can access
-the \l Qt::LeftButton and \l Qt::RightButton enum values as \c Qt.LeftButton and \c Qt.RightButton.
+the \l Qt::LeftButton and \l Qt::RightButton enumeration values as \c Qt.LeftButton and \c Qt.RightButton.
\section1 Types
\list
\li New \l{Image::}{horizontalAlignment} and \l{Image::}{verticalAlignment} properties to set
the image alignment.
- \li New \c Image.Pad enum value for \l{Image::}{fillMode} that does not transform the image,
- unlike other \l{Image::}{fillMode} enum values.
+ \li New \c Image.Pad enumeration value for \l{Image::}{fillMode} that does not transform the image,
+ unlike other \l{Image::}{fillMode} enumeration values.
\li Modifying the \l{Image::}{sourceSize} now fits the image to the size, maintaining aspect
ratio.
\endlist
\li New transition support for animating the adding, removing and moving of items in a ListView
or GridView. See the ViewTransition documentation for details.
\li New \c verticalLayoutDirection property enables items to be laid out from bottom-to-top
- using the new \c BottomToTop enum value.
+ using the new \c BottomToTop enumeration value.
\li New \c headerItem and \c footerItem properties provide access to the instantiated header and
footer items.
\li The \c cacheBuffer property now has a non-zero default.
}
/*!
- \qmlattachedmethod enum QtQuick2::Drag::drop()
+ \qmlattachedmethod enumeration QtQuick2::Drag::drop()
Ends a drag sequence by sending a drop event to the target item.
}
/*!
- \qmlproperty enum QtQuick2::DragEvent::action
+ \qmlproperty enumeration QtQuick2::DragEvent::action
This property holds the action that the \l source is to perform on an accepted drop.
/*!
\qmlmethod void QtQuick2::DragEvent::accept()
- \qmlmethod void QtQuick2::DragEvent::accept(enum action)
+ \qmlmethod void QtQuick2::DragEvent::accept(enumeration action)
Accepts the drag event.
}
/*!
- \qmlproperty enum QtQuick2::TextEdit::mouseSelectionMode
+ \qmlproperty enumeration QtQuick2::TextEdit::mouseSelectionMode
Specifies how text should be selected using a mouse.
}
/*!
- \qmlproperty enum QtQuick2::TextInput::mouseSelectionMode
+ \qmlproperty enumeration QtQuick2::TextInput::mouseSelectionMode
Specifies how text should be selected using a mouse.
}
/*!
- \qmlproperty enum QtQuick2::PathArc::direction
+ \qmlproperty enumeration QtQuick2::PathArc::direction
Defines the direction of the arc. Possible values are
PathArc.Clockwise (default) and PathArc.Counterclockwise.