Core::IFeatureProvider Class
class Core::IFeatureProviderKlassen IFeatureProvider definierar ett gränssnitt för hantering av funktioner i guider. Mer...
| Header: | #include <coreplugin/featureprovider.h> |
Detaljerad beskrivning
De funktioner som tillhandahålls av ett objekt i objektpoolen som implementerar IFeatureProvider kommer att respekteras av guider som implementerar IWizardFactory.
Denna uppsättning funktioner, som tillhandahålls av alla instanser av IFeatureProvider i objektpoolen, jämförs med inställningen IWizardFactory::requiredFeatures(), och endast om alla nödvändiga funktioner är tillgängliga visas guiden när en ny fil eller ett nytt projekt skapas.
Om du har skapat JSON-baserade guider kontrolleras funktionsuppsättningen mot inställningen för featuresRequired som beskrivs i avsnittet Lägga till nya anpassade guider i handboken Qt Creator.
QtSupport-plugin skapar en instans av IFeatureProvider och tillhandahåller Qt-specifika funktioner för de tillgängliga versionerna av Qt.
Se även 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.