本页内容

ExtensionSystem Namespace

ExtensionSystem 命名空间提供了属于核心插件系统的类。更多内容...

Header: #include <ExtensionSystem>

类

函数

Result invoke(QObject *target, const char *slot, const Args &... args)

详细说明

基本扩展系统包含插件管理器及其支持类,以及插件提供者必须实现的IPlugin 接口。

类

类IPlugin

IPlugin 类是一个抽象基类,每个插件都必须实现一次。更多...

classPluginArgumentDescription

PluginArgumentDescriptions 类保存着插件所处理的命令行参数描述列表。更多内容...

类PluginDependency

PluginDependency 类包含插件依赖项的 ID 及其所需的兼容版本号。更多...

classPluginDetailsView

PluginDetailsView 类实现了一个小部件,用于显示PluginSpec 中的内容。更多内容...

PluginErrorView类

PluginErrorView 类实现了一个小部件,用于显示PluginSpec 的状态和错误信息。更多...

PluginManager类

PluginManager 类实现了核心插件系统,用于管理插件、其生命周期以及已注册的对象。更多...

PluginSpec类

PluginSpec 类包含插件嵌入式元数据的信息以及插件当前状态的相关信息。更多...

PluginView类

PluginView 类实现了一个小部件,用于显示所有插件及其状态的列表。更多...

函数文档

template <typename Result, typename... Args> Result ExtensionSystem::invoke(QObject *target, const char *slot, const Args &... args)

通过 Qt 的元方法系统,在target 上调用slot ,并按名称传入参数args 。

返回该元调用结果。

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.