Class Avogadro::QtGui::InterfaceWidget#

class Avogadro::QtGui::InterfaceWidget : public JsonWidget#

The InterfaceWidget class provides a user interface for running external scripts.



InterfaceWidget creates a GUI to represent the options given by an script, turning JSON from the script into a form and passing the results back to the script via command-line

See also


Public Functions

explicit InterfaceWidget(const QString &scriptFilePath, QWidget *parent_ = nullptr)#

Construct a widget that dynamically generates a GUI to configure the script specified by scriptFilePath.

~InterfaceWidget() override#
void setInterfaceScript(const QString &scriptFilePath)#

Use the script pointed to by scriptFilePath.


scriptFilePath – Absolute path to script.

inline const QtGui::InterfaceScript &interfaceScript() const#

Access to the underlying input script object.