什么是QML

来源:互联网 发布:深度卷及网络 编辑:程序博客网 时间:2024/05/16 15:57

翻译原文:

QML is a declarative languagethat allows user interfaces to be described in terms of their visual componentsand how they interact and relate with one another. It is a highly readablelanguage that was designed to enable components to be interconnected in adynamic manner, and it allows components to be easily reused and customizedwithin a user interface. Using the QtQuick module, designers anddevelopers can easily build fluid animated user interfaces in QML, and have theoption of connecting these user interfaces to any back-end C++ libraries.

What is QML?

QML is a userinterface specification and programming language. It allows developers anddesigners alike to create highly performant, fluidly animated and visuallyappealing applications. QML offers a highly readable, declarative, JSON-likesyntax with support for imperative JavaScript expressions combined with dynamicproperty bindings.

The QML languageand engine infrastructure is provided by the Qt QML module. Forin-depth information about the QML language, please see the Qt QML moduledocumentation.

What is Qt Quick?

Qt Quick is thestandard library of types and functionality for QML. It includes visual types,interactive types, animations, models and views, particle effects and shadereffects. A QML application developer can get access to all of thatfunctionality with a single import statement.

The QtQuick QML library is provided by the Qt Quick module. Forin-depth information about the various QML types and other functionalityprovided by Qt Quick, please see the Qt Quick moduledocumentation.

QML User Interfaces

For creating orcustomizing graphical user interfaces, Qt Quick adds visual types, animationtypes, and other QML types in addition to the standard QML types from QtQML. Qt Quick Designer isintegrated within Qt Creator and supports QtQuick 2 from Qt Creator version 2.7 and onwards.

  •  
    •  

Mobile Devices

Several Qt modulesprovide QML APIs for networked and mobile devices. The QML types accessBluetooth, Near-Field Communications (NFC), and GPS-enabled devices.

  • Qt Positioning
  • Qt Bluetooth
  • Qt NFC

For moreinformation, visit the Networking and Connectivity and Mobile APIs pages.


翻译中文:

QML是允许将用户界面描述的可视化组件以及它们之间如何相互作用和相互联系的一种声明式语言。它是一个高度可读的语言,是为了使组件在一个动态的方式相互联系,和它允许组件很容易重用和定制的用户界面。使用QtQuick模块,设计人员和开发人员可轻松构建QML流体动画的用户界面,并且连接这些用户界面可以选择任何一种后台的c++库。

什么是QML?

QML是用户接口规范和编程语言。它允许开发人员和设计人员创建高性能,流畅的动画和有视觉吸引力的应用程序。QML提供了一个高度可读的,声明类似与json的语法并且支持JavaScript表达式。

QML语言和引擎提供的基础是Qt QML模块。想深入了解QML语言的信息,请参见Qt QML文档。

 Qt qucik是什么?

Qt Qucik是QML的标准类型库和相关功能描述。它包括视觉类型,互动类型,动画,模型和视图、粒子效果和着色效果。使用QML开发应用程序开发人员可以单一的导入语句则可以访问所有的功能。QtQuick为 QML提供的Qt快速模块库。深入的了解各种QML类型信息和其他Qt qucik,功能请参见Qt Qucik模块。

QML用户界面

创建或定制的图形用户界面,Qt Quick增加视觉类型,动画类型,和其他QML类型除了标准的Qt、 QML类型。Qt Quick设计是集成在Qt Creator和支持QtQuick 2从Qt Creator版本2.7开始的。

 移动设备

 Qt模块为网络和移动设备提供QML API。QML类型同时访问蓝牙,通信(NFC)和GPS相关设备。


注:翻译的不好请大家多指正,会更加鼓励我,谢谢大家-QFGL翻译,  联系QQ:2120263292  欢迎开发软件 交流     

0 0