Loading...
Searching...
No Matches
JS::JsUtils Class Reference
Inheritance diagram for JS::JsUtils:
Public Member Functions | |
| bool | fileExists (QString path) |
| bool | isFile (QString path) |
| bool | isDir (QString path) |
| bool | canReadFile (QString path) |
| bool | canWriteFile (QString path) |
| QByteArray | readFile (QString path) |
| void | writeFile (QString path, QByteArray content) |
| QStringList | listFiles (QString path, QString filters) |
| QStringList | listDirectories (QString path) |
| void | shell (QString cmd, QJSValue onFinish) |
| void | openFileDialog (QString title, QString filters, QString folder, QJSValue onAccept) |
| void | saveFileDialog (QString title, QString filters, QString folder, QString defaultName, QJSValue onAccept) |
| QString | layoutTextLines (QString text, QString font, int pointSize, int maxWidth) |
| QString | uuid () |
| QString | urlToLocalFile (QString url) |
| QVariantMap | imageSize (QString path) |
| QString | environmentVariable (QString name) |
| QTime | toTime (TimeVal v) |
| double | toMilliseconds (TimeVal v) |
| bool | isInfinite (TimeVal v) |
| TimeVal | timevalFromMilliseconds (double ms) |
| QObject * | settings (QString uid) |
| double | timestamp () const noexcept |
The documentation for this class was generated from the following files:
- score-plugin-js/JS/Qml/Utils.hpp
- score-plugin-js/JS/Qml/Utils.cpp