swift
|
Shows all available plugins in a nice list and lets user enable, disable and configure each of them. More...
Signals | |
void | pluginStateChanged (const QString &identifier, bool enabled) |
Emitted when user enables/disables the particular plugin. | |
void | pluginConfigRequested (const QString &identifier) |
Emitted when user clicks the "Settings" button. | |
Public Member Functions | |
CPluginSelector (QWidget *parent=nullptr) | |
Constructor. | |
void | addPlugin (const QString &identifier, const QString &name, bool hasConfig=false, bool enabled=true) |
Adds the new plugin to the list. More... | |
void | setEnabled (const QString &identifier, bool enabled) |
Enables/disabled the given plugin. | |
Shows all available plugins in a nice list and lets user enable, disable and configure each of them.
Definition at line 22 of file pluginselector.h.
void swift::gui::CPluginSelector::addPlugin | ( | const QString & | identifier, |
const QString & | name, | ||
bool | hasConfig = false , |
||
bool | enabled = true |
||
) |
Adds the new plugin to the list.
identifier | Identifier of the plugin |
name | Name of the plugin |
hasConfig | Defines whether the plugin has the corresponding config plugin or not |
enabled | Defines whether the plugin is initially enabled or not |
Definition at line 30 of file pluginselector.cpp.