Core::IFeatureProvider Class
class Core::IFeatureProviderIFeatureProvider 类定义了一个用于管理向导功能的接口。更多内容...
| Header: | #include <coreplugin/featureprovider.h> |
详细说明
实现 IFeatureProvider 接口的对象池中,由对象提供的功能将由实现IWizardFactory 接口的向导予以采纳。
系统会将对象池中所有 IFeatureProvider 实例提供的功能集与IWizardFactory::requiredFeatures() 进行比对,只有当所有必需功能均可用时,在创建新文件或项目时才会显示该向导。
如果您创建了基于 JSON 的向导,则会根据《Qt Creator 手册》中“添加新的自定义向导”一节所述的featuresRequired 设置来检查该功能集。
QtSupport 插件会创建一个 IFeatureProvider 实例,并为可用的 Qt 版本提供 Qt 特定的功能。
另请参阅 Core::IWizardFactory 。
Copyright © The Qt Company Ltd. and other contributors. 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. Qt and 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.