Scripting API
脚本API
The following table summarizes the global JavaScript objects that you can use in controller and component scripts.
下表总结了可以在控制器和组件脚本中使用的全局JavaScript对象。
Provides methods for accessing common desktop services 提供访问常见桌面服务的方法 | |
Provides a dialog that allows users to select files or directories 提供一个对话框,允许用户选择文件或目录 | |
Provides access to the installer status and pages from Qt Script 提供从Qt脚本访问安装程序状态和页面的功能 | |
Provides a modal dialog for informing the user or asking the user a question and receiving an answer 提供一个模态对话框,用于通知用户或向用户提问并接收答案 | |
Provides enums for accessing QSettings format in Windows 提供用于在Windows中访问QSettings格式的枚举 | |
Provides buttons that can be used on installer pages 提供可在安装程序页面上使用的按钮 | |
Represents the current component that the Qt Script belongs to 表示Qt脚本所属的当前组件 | |
Provides methods for logging and debugging 提供日志记录和调试方法 | |
Enables interaction with the installer UI 启用与安装程序UI的交互 | |
Provides access to core functionality of the Qt Installer Framework 提供对Qt安装程序框架核心功能的访问 | |
Provides compatibility with QtScript 提供与QtScript的兼容性 | |
Provides information about the operating system 提供有关操作系统的信息 |
© 2021 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. The Qt Company, Qt and their respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.