QAbstractExtensionFactory Class ReferenceThe QAbstractExtensionFactory class provides an interface for extension factories in Qt Designer. Далее... #include <QAbstractExtensionFactory> Inherited by: QExtensionFactory. Открытые функции
Подробное описаниеThe QAbstractExtensionFactory class provides an interface for extension factories in Qt Designer. QAbstractExtensionFactory is not intended to be instantiated directly; use the QExtensionFactory instead. In Qt Designer, extension factories are used to look up and create named extensions as they are required. For that reason, when implementing a custom extension, you must also create a QExtensionFactory, i.e a class that is able to make an instance of your extension, and register it using Qt Designer's extension manager. When an extension is required, Qt Designer's extension manager will run through all its registered factories calling QExtensionFactory::createExtension() for each until the first one that is able to create the requested extension for the selected object, is found. This factory will then make an instance of the extension. See also QExtensionFactory and QExtensionManager. Описание функций-членовQAbstractExtensionFactory::~QAbstractExtensionFactory () [virtual]Destroys the extension factory. QObject * QAbstractExtensionFactory::extension ( QObject * object, const QString & iid ) const [pure virtual]Returns the extension specified by iid for the given object. |
Попытка перевода Qt документации. Если есть желание присоединиться, или если есть замечания или пожелания, то заходите на форум: Перевод Qt документации на русский язык... Люди внесшие вклад в перевод: Команда переводчиков |