Script API

The whole API is under the namespace "Banana". The following objects can be accessed by the script at run time:

Banana.application

The object Banana.application represent the running application.

Banana.document

The object Banana.document represent the current document opened in the application. If any document is opened this object is of type Undefined.

Banana.Converter

The class Banana.Converter contains methods useful to convert data from and to various formats.

Banana.Report

The class Banana.Report enable you to create reports, preview and print them in Banana Accounting.

Banana.Ui

The class Banana.Ui contains predefined dialogs to interact with the user, and methods to load dialogs from .ui or .qml.

 

Help us improve the documentation

We welcome feedback on how to improve this page.

Tell us what theme needs a better explanation or how to clarify a topic.