0
0
mirror of https://github.com/fralx/LimeReport.git synced 2024-12-23 16:22:58 +03:00
Commit Graph

49 Commits

Author SHA1 Message Date
Андрей Лухнов
0fca7169d3 Define code style and format all source file using clang-format-14
except those placed in 3rdparty directories.
2024-09-19 21:09:38 +03:00
Dmitry Zagorodnev
4c1c0c49e6 Add: added a function to get an arbitrary role of a model item
Example:
$D{appdata.Column_1}
$S{
var vRow = line('DataBand1') - 1;
// 8 - Qt::BackgroundRole
var vColor = getFieldByRowIndexEx('appdata.Column_1', vRow, 8);

THIS.backgroundColor = LimeReport.color('lightgray');
if(vColor > '')
{
	THIS.backgroundColor = vColor;
}
''
}

Added several functions to get extended information from the model

- getFieldByRowIndexEx2(fieldName, rowIndex, roleName), default:
Qt::DisplayRole

- getHeaderData(fieldName, roleName), default: Qt::DisplayRole

- getHeaderColumnNameByIndex(datasourceName, columnIndex), default:
Qt::UserRole or Qt::DisplayRole

- getColumnCount(datasourceName), default: -1
2024-03-26 13:41:22 +03:00
Alexander Arin
ba9abc7877
Merge pull request #398 from yanis60/master
improved borders
2022-10-26 01:20:33 +03:00
Arin Alex
64193a18d0 QRegularExpression usage has been fixed
Qt6 drag&drop has been fixed
2022-07-16 02:35:34 +03:00
yanis60
392b3acdfa 29/03 2022-03-29 12:33:34 +00:00
Rodrigo Torres
fabb63ada2 Update copyright year 2021-08-18 14:21:36 -03:00
Arin Alexander
0a32845f82 Memory leak has been fixed 2021-05-24 22:14:24 +03:00
Arin Alexander
03963f3685 getPageFreeSpace(page) has been added to script function manager 2021-04-12 20:22:34 +03:00
Arin Alexander
9aadc5b077 TableBuilder has been fixed 2020-06-04 21:58:33 +03:00
Arin Alexander
cdab55a5fd TableBuilder has been fixed 2020-02-16 16:47:26 +03:00
Arin Alexander
0b422bee3b Memory leak has been fixed 2020-02-04 17:16:48 +03:00
Arin Alex
fde44e67c1 Nested scripts have been fixed 2019-09-09 21:25:08 +03:00
Arin Alexander
e03175f678 dateFormat and dateTimeFormat functions have been improved 2019-07-01 17:01:55 +03:00
Arin Alexander
5f56f36a49 addBookmark() && findPageIndexByBookmark() have been added to the script 2019-03-06 22:16:30 +03:00
Arin Alexander
e0ef984fca Building for different script engine has been fixed 2019-02-19 02:23:53 +03:00
Arin Alexander
3aee2b62d7 TOC Refactored 2019-02-12 22:45:35 +03:00
Arin Alexander
65a3a36770 TableBuilder has been fixed 2019-02-05 22:34:38 +03:00
Arin Alexander
87d0bd5f28 Changes tracking has been fixed 2019-02-05 21:51:46 +03:00
Arin Alexander
5a5c9e76df DatasourceFunctions have been extended 2019-02-05 01:04:23 +03:00
Arin Alexander
22dd686470 Some additional datasource management functions have been added 2019-01-31 22:30:41 +03:00
Arin Alexander
ab8d64e48e Data source management functions have been added to ScriptManager 2019-01-30 22:50:22 +03:00
Arin Alexander
f48e414114 moveQObjectToScript() has been added to ScriptManager 2019-01-30 01:53:21 +03:00
Arin Alexander
77f26a846b typo fixed 2018-05-22 11:13:36 +03:00
Arin Alexander
537fec13fd Group functions fixed for qtscriptengine 2018-04-12 22:41:34 +03:00
Arin Alex
01e36f3bbe build without qtscriptengine fixed 2018-03-22 02:38:42 +03:00
Arin Alex
4c162e0e47 Group functions have been changed 2018-03-14 11:22:03 +03:00
Arin Alexander
67aea4f1ff Merge branch 'master' into develop
# Conflicts:
#	limereport/lrscriptenginemanager.cpp
2017-12-22 12:36:46 +03:00
Arin Alexander
09754e6906 QJSEngine will be used if Qt version 5.6 and higher 2017-12-14 02:28:57 +03:00
Mateusz Skowroński
f42dde6211 Fix typos. s/contens/contents. 2017-11-04 19:17:49 +01:00
Arin Alexander
40bafebbbd Qt4 build fixed 2017-10-26 13:24:06 +04:00
Arin Alexander
1af031f19c The update of data sources was added if they contain changed variables 2017-09-19 21:02:55 +03:00
Arin Alexander
5c3c032ea3 Changing the language from the script has been added 2017-09-01 02:02:51 +03:00
Arin Alexander
992c53e19a TOC generation has been changed 2017-08-31 02:53:34 +03:00
Arin Alexander
2c50a9a791 init commit 2017-08-25 18:01:59 +03:00
Arin Alexander
f68a8fff65 addTableOfContensItem function has been modified 2017-08-19 01:18:39 +03:00
Arin Alexander
54c5bc65ed TOC has been added 2017-08-18 22:55:29 +03:00
Arin Alexander
d89fcc53a8 Prevent multi run initscript
Prevent multi run initscript

Prevent multi run initscript &
Build without HAVE_UI_LOADER has been fixed
2017-04-21 00:12:25 +03:00
Arin Alexander
7b04b6efca Dialog Designer intergration has been finished 2017-04-14 02:43:34 +03:00
Arin Alexander
0692435b26 Dialog designers tool bar integration has been added 2017-04-11 11:23:34 +03:00
Arin Alexander
cd2e748a9b QtDesigner integration has been added
QtDesigner intergration has been added
2017-04-10 18:45:54 +03:00
Arin Alexander
7406789cbb QJSEngine -> QQmlEngine 2017-02-11 00:21:03 +03:00
Arin Alexander
c37a310918 Merge branch '1.4' into 1.4_QJSEngine
# Conflicts:
#	limereport/lritemdesignintf.cpp
#	limereport/lrreportrender.cpp
#	limereport/lrscriptenginemanager.cpp
2017-02-08 19:21:08 +03:00
Arin Alexander
afc8ad77b2 Group functions have been refactored. From now they can use script expression in value parameter 2017-01-28 03:49:26 +03:00
Arin Alex
2034aa15c8 QJSEngine has been added 2016-11-01 20:42:45 +03:00
Arin Alexander
0a2d906a89 Merge branch 'master' into 1.4
# Conflicts:
#	limereport/lrscriptenginemanager.h
2016-08-12 22:15:50 +04:00
Arin Alexander
71fe049ff4 ScriptEngineManager::addFunction has been fixed 2016-08-12 22:14:05 +04:00
Arin Alexander
fecf863f7c Version 1.4 initial commit 2016-06-10 19:05:18 +04:00
Arin Alexander
133b1c4054 <QScriptEngine> --> <QtScript/QScriptEngine> 2016-05-27 00:07:27 +04:00
newsages
598d4f10ed Change to subforder project model. 2016-03-21 02:12:30 +01:00