C
ApplicationScreens QML Type
适用于多屏的应用程序容器。更多内容...
| Import Statement: | import QtQuickUltralite.Layers |
| Since: | Qt Quick Ultralite 2.7 |
| Inherits: |
详细说明
ApplicationScreens 类型可包含多个Screen 项,用于在具有多个显示输出的设备上显示QML。
使用示例:
ApplicationScreens { Screen { outputDevice: "Primary screen" ItemLayer { anchors.fill: parent Rectangle { anchors.fill: parent color: "red" } } } Screen { outputDevice: "Secondary screen" ItemLayer { anchors.fill: parent Rectangle { anchors.fill: parent color: "green" } } } }
注意: 并非所有参考板的硬件都支持此 功能。有关详细信息,请参阅“支持的功能”表。
注意:此 类型专用于Qt Quick Ultralite。另请参阅兼容性页面。
另请参阅 Screen 。
在某些 Qt 许可证下可用。
了解更多。