0
0
mirror of https://github.com/fralx/LimeReport.git synced 2025-11-07 00:21:24 +03:00

The update of data sources was added if they contain changed variables

This commit is contained in:
Arin Alexander
2017-09-19 21:02:55 +03:00
parent c9b6078fa8
commit 1af031f19c
6 changed files with 82 additions and 3 deletions

View File

@@ -319,6 +319,7 @@ public:
Q_INVOKABLE QVariant getVariable(const QString& name);
Q_INVOKABLE QVariant getField(const QString& field);
Q_INVOKABLE QVariant getFieldByKeyField(const QString& datasourceName, const QString& valueFieldName, const QString& keyFieldName, QVariant keyValue);
Q_INVOKABLE void reopenDatasource(const QString& datasourceName);
Q_INVOKABLE QVariant color(const QString& color){ return QColor(color);}
Q_INVOKABLE void addTableOfContensItem(const QString& uniqKey, const QString& content, int indent = 0);
Q_INVOKABLE void clearTableOfContens();
@@ -390,6 +391,7 @@ private:
bool createGetFieldByKeyFunction();
bool createAddTableOfContensItemFunction();
bool createClearTableOfContensFunction();
bool createReopenDatasourceFunction();
private:
ScriptEngineManager();
ScriptEngineType* m_scriptEngine;