1 #ifndef QTMVVM_QQMLMVVMMESSAGE_H 2 #define QTMVVM_QQMLMVVMMESSAGE_H 4 #include <QtCore/QObject> 6 #include <QtQml/QQmlParserStatus> 7 #include <QtQml/QJSValue> 8 #include <QtQml/QJSEngine> 10 #include <QtMvvmCore/Messages> 26 class QQmlMvvmMessage :
public QObject 74 bool addQtVersion =
true,
85 const QVariantMap &viewProperties = {},
87 const QString &cancelText = {});
93 const QUrl &dir = {});
99 const QUrl &dir = {});
105 const QUrl &dir = {});
111 const QUrl &dir = {});
123 #endif // QTMVVM_QQMLMVVMMESSAGE_H static void getSaveFile(const QJSValue &onResult, const QString &title={}, const QStringList &supportedMimeTypes={}, const QUrl &dir={})
A QML version of the QtMvvm::getSaveFile method.
static void critical(const QString &title, const QString &text, const QJSValue &onResult={}, const QString &okText={})
A QML version of the QtMvvm::critical method.
static void warning(const QString &title, const QString &text, const QJSValue &onResult={}, const QString &okText={})
A QML version of the QtMvvm::warning method.
The QML import for the QtMvvmCore QML module.
static void getOpenFile(const QJSValue &onResult={}, const QString &title={}, const QStringList &supportedMimeTypes={}, const QUrl &dir={})
A QML version of the QtMvvm::getOpenFile method.
static void getOpenFiles(const QJSValue &onResult, const QString &title={}, const QStringList &supportedMimeTypes={}, const QUrl &dir={})
A QML version of the QtMvvm::getOpenFiles method.
A QML signelton to access the QtMvvm namespace methods for showing simple dialogs.
static void question(const QString &title, const QString &text, const QJSValue &onResult={}, const QString &yesText={}, const QString &noText={})
A QML version of the QtMvvm::question method.
static void getInput(const QString &title, const QString &text, const QString &inputType, const QJSValue &onResult={}, const QVariant &defaultValue={}, const QVariantMap &viewProperties={}, const QString &okText={}, const QString &cancelText={})
A QML version of the QtMvvm::getInput method.
static void getExistingDirectory(const QJSValue &onResult={}, const QString &title={}, const QUrl &dir={})
A QML version of the QtMvvm::getExistingDirectory method.
static void about(const QString &description, const QUrl &websiteUrl=QUrl(), const QString &licenseName=QString(), const QUrl &licenseUrl=QUrl(), const QString &companyName=QString(), bool addQtVersion=true, const QStringList &extraTopInfos=QStringList(), const QString &extraBottomInfos=QString())
A QML version of the QtMvvm::about method.
static void information(const QString &title, const QString &text, const QJSValue &onResult={}, const QString &okText={})
A QML version of the QtMvvm::information method.
The primary namespace of the QtMvvm library.