Qt Quick
是一个用于帮助开发者设计直?/p>
,
现代
,
流畅的用户界面的技术集
,
近年来被广泛?/p>
用于手机
,
媒体播放?/p>
,
机顶盒和其他手提设备
.Qt Quick
中包含了大量的用户界面元?/p>
,
及描
述这些用户界面的陈述?/p>
(declarative)
语言
,
和一个语言运行?/p>
.
在典型的
Qt
应用程序中有一
系列
C++ API
与这些高层次特性整?/p>
.Qt Creator2.1
的整合开发环?/p>
(IDE)
包含了开?/p>
Qt
Quick
应用程序的必要工?/p>
.
声明元素时要带有名称和两个花括号
.
元素可能被嵌入到其他元素?/p>
,
从而在两个元素间创
建了父子关系
.
基本
QML
元素
?/p>
Item
-
被其?/p>
QML
元素继承的基本项
Basic item element inherited by QML
elements
?/p>
Component
-
导入时封装了
QML
元素
Encapsulates QML elements during
importing
?/p>
QtObject
-
仅容纳一?/p>
objectName
属性的基本元素
Basic element containing only
the objectName property
图形
?/p>
Rectangle
-
一个矩形元?/p>
A rectangle element
?/p>
Image
-
屏幕上的一个位?/p>
For incorporating bitmaps into a scene
?/p>
BorderImage
-
可使用图片作为边?/p>
Allows the use of images as borders
?/p>
AnimatedImage
-
未播放动画而存储的一系列?/p>
For playing animations stored in
a series of frames
?/p>
Gradient
-
定义颜色渐变
For defining a color gradient
?/p>
GradientStop
-
?/p>
Gradient
定义一个颜?/p>
Used to define a color within
a
Gradient
?/p>
SystemPalette
-
提供访问
Qt
调色板的接口
Provides access to the Qt palettes
文字处理
?/p>
Text
-
向屏幕上插入格式化的文字
For inserting formatted text into a scene
?/p>
TextInput
-
获取用户键盘输入
Captures user key input
?/p>
TextEdit
-
显示多行可编辑的格式化文?/p>
Displays multiple lines of editable
formatted text
?/p>
IntValidator
-
验证整数
Validates values as integers