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

36 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
Rodrigo Torres
fabb63ada2 Update copyright year 2021-08-18 14:21:36 -03:00
Arin Alexander
2efe2afa72 Build fixed 2019-10-16 13:43:23 +03:00
Arin Alexander
ccec7b4164 Invalidating data sources have been improved 2019-10-16 02:06:38 +03:00
Arin Alexander
51b2effa3c Added ability to create CSV data source 2019-04-04 04:37:18 +03:00
Arin Alexander
3bd49b6ffd getFieldByRowIndex() has been added 2019-02-19 02:43:16 +03:00
Arin Alexander
87d0bd5f28 Changes tracking has been fixed 2019-02-05 21:51:46 +03:00
Arin Alexander
5bff155fa6 Finish 1.4.122
# Conflicts:
#	limereport/lrdatasourcemanager.cpp
#	limereport/lrreportdesignwindow.cpp
#	limereport/lrreportengine.cpp
2019-01-31 21:07:39 +03:00
Arin Alexander
df9253929f Datasources changes tracking has been added 2019-01-31 21:01:55 +03:00
Arin Alexander
e5a0d2943d IDataSource extracted to own file 2019-01-24 22:10:15 +03:00
Arin Alexander
af589e31ba New functionality has been added to the report's variables 2017-09-26 00:19:59 +03:00
Arin Alexander
8f0f44bd64 The update of data sources was added if they contain changed variables 2017-09-19 22:00:52 +03: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
992c53e19a TOC generation has been changed 2017-08-31 02:53:34 +03:00
fralx
fa96013d82 Merge pull request #71 from asmaloney/missing-initialization
Add missing initializers
2017-04-10 11:18:26 +03:00
Andy Maloney
aa5b4c6a66 Add missing initializers 2017-04-08 21:38:23 -04:00
Andy Maloney
64331fbaeb Corrects spelling of method name 2017-04-08 12:53:05 -04:00
Arin Alexander
ce3a905c55 Database connections have been refactored
keepDbCredentials property has been added to Connection
setPassPharse(QString& passPharse) method has been added to ReportEngine
IDbCredentialsProvider interface has been added
registerDbCredentialsProvider(IDbCredentialsProvider *provider) has been
added to IDataSourceManager
2017-02-16 04:24:34 +03:00
Arin Alexander
8fb3fb5aba LimeReport will not delete external connections 2017-02-15 00:10:02 +03:00
Arin Alexander
8659818a30 Connection will be restored if server is gone away or drop limereport connection 2017-02-11 00:24:59 +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 Alexander
65d7bc7774 Merge branch 'master' into 1.4 2016-11-17 00:38:00 +03:00
Arin Alexander
2fb47a5830 Connect connection has been refactored 2016-11-17 00:37:37 +03:00
Arin Alex
71aaaac34d Merge branch 'master' into 1.4 2016-11-08 01:09:54 +03:00
Arin Alex
0055790bcd setDefaultDatabasePath() has been added to DataSourceManager 2016-11-08 01:09:35 +03:00
Arin Alexander
e4457787f5 Merge branch 'master' into 1.4 2016-10-03 22:56:58 +04:00
Arin Alexander
46e89b8e9d Fix #51 4.6 build 2016-10-03 22:56:48 +04:00
Arin Alex
9243036750 Merge branch 'master' into 1.4 2016-07-07 23:52:51 +03:00
Arin Alex
885cd91daa singnal queryTextChanged(const QString& queryName, const QString& queryText) has been added to QueryDesc
singnal queryTextChanged(const QString& queryName, const QString& queryText) has been added to QueryDesc
2016-07-07 23:52:07 +03:00
Arin Alexander
b55582fad2 Merge branch 'master' into 1.4
# Conflicts:
#	limereport/lrreportengine.cpp
#	limereport/lrreportengine_p.h
2016-06-25 00:33:44 +04:00
Arin Alex
a8b193de05 Errors messages have been modified 2016-06-24 23:22:16 +03:00
Arin Alexander
fecf863f7c Version 1.4 initial commit 2016-06-10 19:05:18 +04:00
Arin Alex
5455b53404 Report variables have been refactored 2016-06-07 00:45:35 +03:00
Arin Alexander
6a25ac752f Field list for CallbackDatasource in TextItem has been fixed 2016-04-14 00:05:17 +04:00
newsages
598d4f10ed Change to subforder project model. 2016-03-21 02:12:30 +01:00