What's New in Qt QuickQt 4.7.4 includes QtQuick 1.1QtQuick 1.1 is a minor feature update. import QtQuick 1.1 to use the new features. PinchAreaPinchArea provides support for the common two finger pinch gesture. LayoutMirroring attached propertyLayout mirroring is useful when you need to support both left-to-right and right-to-left layout versions of your application that target different language areas. TextAdded the following properties: horizontalAlignment now accepts Text.AlignJustify alignment mode. TextEditAdded the following properties, methods and signal handlers:
TextInputAdded the following properties and methods:
Image, BorderImage and AnimatedImageAdded the following properties: ItemAdded the following properties: FlickableAdded the following methods: MouseAreaAdded the following property: ListView and GridViewAdded the following properties and methods: Flow, Grid and RowAdded the following property: RepeaterAdded the following methods and signal handlers: Component
Qt
Other changes
Qt 4.7.1QtQuick namespaceIn prior Qt releases, all the Qt Quick elements were available in the Qt namespace. Starting with Qt 4.7.1, the elements are also available in the QtQuick namespace, which improves naming consistency, and allows the development of Qt Quick to occur at a faster rate than Qt's usual minor release schedule. The change for developers is very simple - where you previously wrote import Qt 4.7, just replace it with import QtQuick 1.0, like this: import QtQuick 1.0 Text { text: "Welcome to QtQuick 1.0!" } import Qt 4.7 continues to work so existing applications won't break even if they aren't updated, but it is recommended that all import statements be modified to the new form. |
Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. | Qt 4.8 | |
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD. | ||
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter ou par MP ! |
Copyright © 2000-2012 - www.developpez.com