PluginView Class
(ExtensionSystem::PluginView)The PluginView class implements a widget that shows a list of all plugins and their state. More...
Header: | #include <PluginView> |
Public Functions
PluginView(QWidget *parent = nullptr) | |
ExtensionSystem::PluginSpec * | currentPlugin() const |
bool | isShowingHidden() const |
void | setFilter(const QString &filter) |
void | setShowHidden(bool showHidden) |
Signals
void | currentPluginChanged(ExtensionSystem::PluginSpec *spec) |
void | pluginActivated(ExtensionSystem::PluginSpec *spec) |
void | pluginSettingsChanged(ExtensionSystem::PluginSpec *spec) |
Detailed Description
The PluginView class implements a widget that shows a list of all plugins and their state.
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
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)
bool PluginView::isShowingHidden() const
Returns whether hidden plugins are listed.
[signal]
void PluginView::pluginActivated(ExtensionSystem::PluginSpec *spec)
[signal]
void PluginView::pluginSettingsChanged(ExtensionSystem::PluginSpec *spec)
void PluginView::setFilter(const QString &filter)
Sets the filter for listing plugins.
void PluginView::setShowHidden(bool showHidden)
Sets the list filtering to showHidden.