Class Avogadro::QtGui::ScriptLoader#

class ScriptLoader : public QObject#

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

Public Functions

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

Public Static Functions

static QMap<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)#