PluginView Class
class ExtensionSystem::PluginViewThe PluginView class implements a widget that shows a list of all plugins and their state. More...
Header: | #include <extensionsystem/pluginview.h> |
Inherits: | QWidget |
Public Functions
PluginView(QWidget *parent = nullptr) | |
ExtensionSystem::PluginSpec * | currentPlugin() const |
void | setFilter(const QString &filter) |
Signals
void | currentPluginChanged(ExtensionSystem::PluginSpec *spec) |
void | pluginActivated(ExtensionSystem::PluginSpec *spec) |
void | pluginsChanged(const QSet<ExtensionSystem::PluginSpec *> &spec, bool enabled) |
Detailed Description
This class can be embedded for example in a dialog in the application that uses the plugin manager. The class also provides notifications for interaction with the list.
See also ExtensionSystem::PluginDetailsView and ExtensionSystem::PluginErrorView.
Member Function Documentation
[explicit]
PluginView::PluginView(QWidget *parent = nullptr)
Constructs a plugin view with parent that displays a list of plugins from a plugin manager.
ExtensionSystem::PluginSpec *PluginView::currentPlugin() const
Returns the current selection in the list of plugins.
[signal]
void PluginView::currentPluginChanged(ExtensionSystem::PluginSpec *spec)
The current selection in the plugin list has changed to the plugin corresponding to spec.
[signal]
void PluginView::pluginActivated(ExtensionSystem::PluginSpec *spec)
The plugin list entry corresponding to spec has been activated, for example by a double-click.
[signal]
void PluginView::pluginsChanged(const QSet<ExtensionSystem::PluginSpec *> &spec, bool enabled)
The value of enabled for the plugin list entry corresponding to spec changed.
void PluginView::setFilter(const QString &filter)
Sets the filter for listing plugins.
© 2024 The Qt Company Ltd. 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.