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

Changing the language from the script has been added

This commit is contained in:
Arin Alexander
2017-09-01 02:02:51 +03:00
parent 992c53e19a
commit 5c3c032ea3
6 changed files with 300 additions and 5 deletions

View File

@@ -67,6 +67,8 @@ class ReportEnginePrivate : public QObject, public ICollectionContainer, public
public:
static void printReport(ItemsReaderIntf::Ptr reader, QPrinter &printer);
static void printReport(ReportPages pages, QPrinter &printer);
Q_INVOKABLE QStringList aviableReportTranslations();
Q_INVOKABLE void setReportTranslation(const QString& languageName);
public:
explicit ReportEnginePrivate(QObject *parent = 0);
virtual ~ReportEnginePrivate();