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

90 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
Jihadist
266b6795da fix build without UiTools 2023-01-11 21:56:17 +03:00
yanis60
920037d387
Page free space calculation has been updated 2023-01-09 09:42:19 +00:00
Alexander Arin
ba9abc7877
Merge pull request #398 from yanis60/master
improved borders
2022-10-26 01:20:33 +03:00
Arin Alex
a865e92a23 Fixed some deprecation warnings 2022-07-19 00:43:54 +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
Alexander Arin
c7eec9160d QT_VERSION < 0x060000 -> (QT_VERSION < QT_VERSION_CHECK(5, 15, 1))
page order has been fixed when TOC page is present and some pages are not printable
2021-12-16 00:13:39 +03:00
Rodrigo Torres
67d8146b9c WIP 2021-08-24 04:22:30 -03: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
fralx
acab0853f5 TableBuilder has been fixed 2020-05-25 13:22:02 +03:00
Arin Alexander
20d0637f70 Dialog designer has been fixed 2020-03-24 23:42:05 +03:00
Arin Alexander
cdab55a5fd TableBuilder has been fixed 2020-02-16 16:47:26 +03:00
Arin Alexander
2cb39f1f90 Building with qtscriptengine has been fixed 2020-02-05 09:08:54 +03:00
Arin Alexander
0b422bee3b Memory leak has been fixed 2020-02-04 17:16:48 +03:00
Arin Alex
3b360e0f71 Qt4 build fixed 2019-09-09 22:33:13 +03:00
Arin Alex
fde44e67c1 Nested scripts have been fixed 2019-09-09 21:25:08 +03:00
Rodrigo Torres
c549035c76 Fix compilation
Qt4 still have one remaining compiler error
2019-08-10 18:45:27 -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
ed902b4ef1 Script editor has been changed for preview mode 2019-03-02 01:08:20 +03:00
Arin Alexander
1c2aed14f4 TableBuilder has been fixed 2019-02-27 22:34:34 +03:00
Arin Alexander
e0ef984fca Building for different script engine has been fixed 2019-02-19 02:23:53 +03:00
Arin Alexander
0a0e1504fa Script object naming has been fixed 2019-02-18 18:31:32 +03:00
Arin Alexander
3aee2b62d7 TOC Refactored 2019-02-12 22:45:35 +03:00
fralx
505f1398e3
Merge pull request #149 from f3nix/gcc-warnings-2
Fix GCC 8 warning: catching polymorphic type by value [-Wcatch-value=]
2019-02-06 00:30:24 +03:00
Arin Alexander
867448d0fd Layout spacing property has been added to layouts 2019-02-05 23:25:18 +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
2ed1b4b05f TableBuilder has been fixed 2019-02-05 19:54:36 +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
Mateusz Skowroński
8b09176b59 Fix GCC 8 warning: catching polymorphic type by value [-Wcatch-value=] 2018-12-23 18:06:57 +01:00
Arin Alex
4c5a6b0183 currencyUSBasedFormat has been fixed 2018-08-21 23:08:29 +03:00
Arin Alexander
16249c7f05 Endless cycle if null value has been fixed 2018-07-12 00:00:19 +03:00
Arin Alexander
77f26a846b typo fixed 2018-05-22 11:13:36 +03:00
Arin Alexander
2151a549e8 QQmlEngine -> QJSEngine 2018-05-08 10:52:23 +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 Alex
d1f4a15321 ReportPage item propagate to script engine has been fixed
Completer has been refactored
2018-02-15 02:21:00 +03:00
Arin Alexander
5b81a75d3c ScriptEngineContext fixed 2018-01-26 18:04:58 +03:00
Arin Alexander
67aea4f1ff Merge branch 'master' into develop
# Conflicts:
#	limereport/lrscriptenginemanager.cpp
2017-12-22 12:36:46 +03:00
Spiek
d8080af875 implement new Script Function sectotimeFormat 2017-12-21 11:27:58 +01:00