diff options
Diffstat (limited to 'src/libs/extensionsystem/pluginview.cpp')
-rw-r--r-- | src/libs/extensionsystem/pluginview.cpp | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/src/libs/extensionsystem/pluginview.cpp b/src/libs/extensionsystem/pluginview.cpp index bb5d6b98ed..a5763e2067 100644 --- a/src/libs/extensionsystem/pluginview.cpp +++ b/src/libs/extensionsystem/pluginview.cpp @@ -44,6 +44,7 @@ /*! \class ExtensionSystem::PluginView + \inmodule QtCreator \brief The PluginView class implements a widget that shows a list of all plugins and their state. @@ -67,6 +68,11 @@ for example by a double-click. */ +/*! + \fn void PluginView::pluginSettingsChanged(ExtensionSystem::PluginSpec *spec) + The settings for the plugin list entry corresponding to \a spec changed. +*/ + Q_DECLARE_METATYPE(ExtensionSystem::PluginSpec*) using namespace Utils; @@ -321,8 +327,8 @@ private: using namespace ExtensionSystem::Internal; /*! - Constructs a PluginView that gets the list of plugins from the - given plugin \a manager with a given \a parent widget. + Constructs a plugin view with \a parent that displays a list of plugins + from a plugin manager. */ PluginView::PluginView(QWidget *parent) : QWidget(parent) @@ -383,18 +389,27 @@ PluginSpec *PluginView::currentPlugin() const return pluginForIndex(m_categoryView->currentIndex()); } +/*! + Sets the \a filter for listing plugins. +*/ void PluginView::setFilter(const QString &filter) { m_sortModel->setFilterFixedString(filter); m_categoryView->expandAll(); } +/*! + Sets the list filtering to \a showHidden. +*/ void PluginView::setShowHidden(bool showHidden) { m_sortModel->setShowHidden(showHidden); m_categoryView->expandAll(); } +/*! + Returns whether hidden plugins are listed. +*/ bool PluginView::isShowingHidden() const { return m_sortModel->isShowingHidden(); |