IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

Qt Quick QML Types

Provides graphical QML types.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

Qt Quick QML Types▲

The https:// module provides graphical primitive types. These types are only available in a QML document if that document imports the QtQuick namespace.

To use the module, import the QtQuick module with the following statement:

 
Sélectionnez
import QtQuick

Visit the https:// module documentation for more information about the concepts that are central to QtQuick.

Submodules▲

Qt Quick includes several submodules that contain additional types:

  • https:// - a submodule containing a JavaScript interface for an SQLite database

  • https:// - provides a particle system for QML applications

  • https:// - provides a set of reusable UI components

  • https:// - contains types that are used to arrange items in the user interface

  • https:// - types for testing QML applications.

  • https:// - provides types for applying one or more simple graphical effects to Qt Quick items.

Value Types▲

There are a number of value types that are supported by default in the QML language.

In addition, the QtQuick import provides the following value types:

Object Types▲

Most object types provided by the QtQuick import are based on the https:// type, which itself derives from https://. https:// provided by the Qt QML module (such as https:// and https://) are also available when you import QtQuick.

Contents▲

  • https://: Enables accessibility of QML items.

  • https://: Animates changes in anchor values.

  • https://: Specifies how to change the anchors of an item in a state.

  • https://: Plays animations stored as a series of images.

  • https://: Draws a sprite animation.

  • https://: Is the base of all QML animations.

  • https://: Enables manual control of animations.

  • https://: Is the base of all QML animators.

  • https://: Provides access to global application state properties shared by many QML components.

  • https://: Defines a default animation for a property change.

  • https://: Paints a border based on an image.

  • https://: Defines a mesh with vertices arranged like those of a BorderImage.

  • https://: Provides a 2D canvas item enabling drawing via JavaScript.

  • https://: Provides an opaque CanvasGradient interface.

  • https://: Contains image pixel data in RGBA order.

  • https://: Provides ordered and indexed access to the components of each pixel in image data.

  • https://: Notification that a Window is about to be closed.

  • https://: Animates changes in color values.

  • https://: The set of colors by roles.

  • https://: Positions its children in a column.

  • https://: Provides 2D context for shapes on a Canvas item.

  • https://: Defines a validator for non-integer numbers.

  • https://: For specifying drag and drop events for moved Items.

  • https://: Provides information about a drag event.

  • https://: Handler for dragging.

  • https://: For specifying drag and drop handling in an area.

  • https://: Provides a property to manipulate the appearance of Enter key on an on-screen keyboard.

  • https://: Provides a surface that can be "flicked".

  • https://: Provides a surface that can be flipped.

  • https://: Positions its children side by side, wrapping as necessary.

  • https://: Explicitly creates a focus scope.

  • https://: Allows fonts to be loaded by URL.

  • https://: Provides metrics for a given font.

  • https://: Triggers a handler at every animation frame update.

  • https://: The parameter given with the gestureStarted signal.

  • https://: Defines a gradient fill.

  • https://: Defines the color at a position in a Gradient.

  • https://: Provides information about the scenegraph backend and the graphics API used by Qt Quick.

  • https://: Positions its children in grid formation.

  • https://: Defines a mesh with vertices arranged in a grid.

  • https://: For specifying a grid view of items provided by a model.

  • https://: Handler for mouse and tablet hover.

  • https://: Displays an image.

  • https://: Provides access to QInputMethod for QML applications.

  • https://: Defines a validator for integer values.

  • https://: A basic visual QML type.

  • https://: Contains the results from a call to Item::grabToImage().

  • https://: Provides information about a key event.

  • https://: Supports key navigation by arrow keys.

  • https://: Provides key handling to Items.

  • https://: Property used to mirror layout behavior.

  • https://: Provides a list view of items provided by a model.

  • https://: Allows dynamic loading of a subtree from a URL or Component.

  • https://: Provides a way to apply a 4x4 tranformation matrix to an Item.

  • https://: Enables simple mouse handling.

  • https://: Provides information about a mouse event.

  • https://: Abstract handler for multi-point Pointer Events.

  • https://: Enables handling of multiple touch points.

  • https://: Animates changes in qreal-type values.

  • https://: The OpacityAnimator type animates the opacity of an Item.

  • https://: Contains color groups for each QML item state.

  • https://: Enables animations to be run in parallel.

  • https://: Animates changes in parent values.

  • https://: Specifies how to reparent an Item in a state change.

  • https://: Defines a path for use by PathView and Shape.

  • https://: Defines an arc with the given radii and center.

  • https://: Animates an item along a path.

  • https://: Defines an arc with the given radius.

  • https://: Specifies how to set an attribute at a given position in a Path.

  • https://: Defines a cubic Bezier curve with two control points.

  • https://: Defines a point on a Catmull-Rom curve.

  • https://: PathElement is the base path type.

  • https://: Specifies how to manually animate along a path.

  • https://: Defines a straight line.

  • https://: Moves the Path's position.

  • https://: Defines a set of polylines through a list of lists of coordinates.

  • https://: Manipulates the way a path is interpreted.

  • https://: Defines a polyline through a list of coordinates.

  • https://: Defines a quadratic Bezier curve with a control point.

  • https://: Defines a path using an SVG path data string.

  • https://: Defines a string in a specified font.

  • https://: Lays out model-provided items on a path.

  • https://: Provides a pause for an animation.

  • https://: Enables simple pinch gesture handling.

  • https://: For specifying information about a pinch event.

  • https://: Handler for pinch gestures.

  • https://: Handler for reacting to a single touchpoint.

  • https://: QML equivalent for QPointingDevice.

  • https://: Abstract handler for pointer events with device-specific constraints.

  • https://: QML equivalent for QPointerEvent.

  • https://: Abstract handler for pointer events.

  • https://: Provides attached properties that contain details on where an item exists in a positioner.

  • https://: Specifies immediate property changes during animation.

  • https://: Animates changes in property values.

  • https://: Describes new property bindings or values for a state.

  • https://: Paints a filled rectangle with an optional border.

  • https://: Provides a string validator.

  • https://: Instantiates a number of Item-based components using a provided model.

  • https://: Provides a way to rotate an Item.

  • https://: Animates changes in rotation values.

  • https://: The RotationAnimator type animates the rotation of an Item.

  • https://: Positions its children in a row.

  • https://: Provides a way to scale an Item.

  • https://: The ScaleAnimator type animates the scale factor of an Item.

  • https://: The Screen attached object provides information about the Screen an Item or Window is displayed on.

  • https://: Defines scripts to be run during an animation.

  • https://: Allows animations to be run sequentially.

  • https://: Applies custom shaders to a rectangle.

  • https://: Renders a Qt Quick item into a texture and displays it.

  • https://: Provides keyboard shortcuts.

  • https://: Abstract handler for single-point Pointer Events.

  • https://: Allows a property to smoothly track a value.

  • https://: Allows a property to track a value in a spring-like motion.

  • https://: Specifies sprite animations.

  • https://: Draws a sprite animation.

  • https://: Defines configurations of objects and properties.

  • https://: Specifies how to run a script in a state.

  • https://: Provides built-in state support for non-Item types.

  • https://: Provides access to the Qt palettes.

  • https://: Provides a table view of items to display data from a model.

  • https://: Handler for taps and clicks.

  • https://: Specifies how to add formatted text to a scene.

  • https://: Displays multiple lines of editable formatted text.

  • https://: Displays an editable line of text.

  • https://: Provides metrics for a given font and text.

  • https://: Describes a touch point in a MultiPointTouchArea.

  • https://: For specifying advanced transformations on Items.

  • https://: Defines animated transitions that occur on state changes.

  • https://: Provides a way to move an Item without changing its x or y properties.

  • https://: Provides a tree view to display data from a QAbstractItemModel.

  • https://: The UniformAnimator type animates a uniform of a ShaderEffect.

  • https://: Animates changes in QVector3d values.

  • https://: Specifies items under transition in a view.

  • https://: Provides information about a mouse wheel event.

  • https://: Handler for the mouse wheel.

  • https://: Creates a new top-level window.

  • https://: The XAnimator type animates the x position of an Item.

  • https://: The YAnimator type animates the y position of an Item.

  • https://: Qml equivalent for QEventPoint.

  • https://: An event point.

  • https://: QML equivalent for QPointingDeviceUniqueId.

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+   

Ce document est disponible sous la licence https:// telle que publiée par la Free Software Foundation.