Loading...
Searching...
No Matches
Media::Settings::PluginTabSpec Struct Reference

Public Attributes

QString pathsLabel
 Label of the paths editor, e.g. "VST3 paths".
 
std::function< QStringList()> getPaths
 Current search paths from the settings model.
 
std::function< void(QStringList)> commitPaths
 
std::function< void(QObject *, std::function< void(QStringList)>)> onPathsChanged
 
std::function< std::vector< PluginTabRow >()> rows
 Current plug-in list of the format's application plug-in.
 
std::function< void(QObject *, std::function< void()>)> onPluginsChanged
 
std::function< void()> rescan
 Forget everything and scan the current paths again.
 

Member Data Documentation

◆ commitPaths

std::function<void(QStringList)> Media::Settings::PluginTabSpec::commitPaths

Commit an edited path list. Note: applied (and rescanned) immediately; the settings dialog's Cancel button does not revert it - same behavior as the historical VST tab, whose dispatcher was never rolled back either.

◆ onPathsChanged

std::function<void(QObject*, std::function<void(QStringList)>)> Media::Settings::PluginTabSpec::onPathsChanged

Called with (context, callback); must invoke callback(paths) whenever the settings model's path list changes

◆ onPluginsChanged

std::function<void(QObject*, std::function<void()>)> Media::Settings::PluginTabSpec::onPluginsChanged

Called with (context, callback); must invoke callback() whenever the plug-in list changes


The documentation for this struct was generated from the following file: