Core::IFeatureProvider Class
class Core::IFeatureProviderKlasa IFeatureProvider definiuje interfejs służący do zarządzania funkcjami w kreatorach. Więcej...
| Header: | #include <coreplugin/featureprovider.h> |
Szczegółowy opis
Funkcje udostępniane przez obiekt z puli obiektów implementujący interfejs IFeatureProvider będą uwzględniane przez kreatory implementujące interfejs IWizardFactory.
Ten zestaw funkcji, udostępniany przez wszystkie instancje klasy IFeatureProvider w puli obiektów, jest porównywany z ustawieniem IWizardFactory::requiredFeatures() i tylko wtedy, gdy wszystkie wymagane funkcje są dostępne, kreator jest wyświetlany podczas tworzenia nowego pliku lub projektu.
Jeśli utworzono kreatory oparte na JSON, zestaw funkcji jest porównywany z ustawieniem ` featuresRequired ` opisanym w sekcji „Dodawanie nowych kreatorów niestandardowych ” w podręczniku „ Qt Creator ”.
Wtyczka QtSupport tworzy instancję interfejsu IFeatureProvider i udostępnia funkcje specyficzne dla Qt dla dostępnych wersji tego środowiska.
Zobacz także 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.