Qt Labs Platform QML 類型

The experimental Qt Labs Platform module provides QML types for native platform extensions. These QML types work in conjunction with Qt Quick and Qt Quick Controls .

可以使用以下 import 語句在 .qml 文件中把 QML 類型導入應用程序:

import Qt.labs.platform 1.1
					
					

QML 類型

ColorDialog

本機顔色對話框

Dialog

Base class of native dialogs

FileDialog

A native file dialog

FolderDialog

A native folder dialog

FontDialog

A native font dialog

Menu

A native menu

MenuBar

A native menubar

MenuItem

A native menu item

MenuItemGroup

A group for managing native menu items

MenuSeparator

A native menu separator

MessageDialog

A native message dialog

StandardPaths

Provides access to the standard system paths

SystemTrayIcon

係統托盤圖標

注意: Types in Qt.labs modules are not guaranteed to remain compatible in future versions.