Avogadro::QtGui::ScriptLoader#

class ScriptLoader : public QObject#

The ScriptLoader class finds and verifies different types of python utility scripts.

For example, finding all the “charge” scripts auto chargeScripts = ScriptLoader::scriptList(“charge”);

Public Functions

explicit ScriptLoader(QObject *parent_ = nullptr)#
~ScriptLoader() override#

Public Static Functions

static QMultiMap<QString, QString> scriptList(const QString &type)#
Returns:

A map of name -> path for all scripts of the requested

  • type

static bool queryProgramName(const QString &scriptFilePath, QString &displayName)#