本页内容

ExtensionSystem::PluginErrorView Class

class ExtensionSystem::PluginErrorView

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

Header: #include <extensionsystem/pluginerrorview.h>

公共函数

PluginErrorView(QWidget *parent = nullptr)
void update(ExtensionSystem::PluginSpec *spec)

详细说明

可用于在使用插件管理器的应用程序中进行集成。

另请参阅 ExtensionSystem::PluginView 。

成员函数文档

PluginErrorView::PluginErrorView(QWidget *parent = nullptr)

使用给定的parent 控件构建一个新的错误视图。

void PluginErrorView::update(ExtensionSystem::PluginSpec *spec)

读取指定的spec ,并在PluginErrorView 中显示其状态和错误信息。

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.