0
0
mirror of https://github.com/fralx/LimeReport.git synced 2025-09-23 08:29:07 +03:00

QJSEngine has been added

This commit is contained in:
Arin Alex
2016-11-01 20:42:45 +03:00
parent 3bf993eb5a
commit 2034aa15c8
15 changed files with 595 additions and 60 deletions

View File

@@ -66,7 +66,7 @@ void ScriptBrowser::updateFunctionTree()
{
ScriptEngineManager* sm = reportEditor()->scriptManager();
QMap<QString,QTreeWidgetItem*> categ;
foreach(ScriptFunctionDesc fd, sm->functionsDescriber()){
foreach(ScriptFunctionDesc fd, sm->functionsDescribers()){
QString functionCategory = (fd.category!="") ? fd.category : tr("NO CATEGORY");
if (categ.contains(functionCategory)){
QTreeWidgetItem* item = new QTreeWidgetItem(categ.value(fd.category),QStringList(fd.name));