Commit Graph

65 Commits

Author SHA1 Message Date
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
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
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
Alexander Arin
37b929459b Completer refactored 2021-11-03 00:40:16 +03:00
Alexander Arin
8efb6792a3 support of Qt6 2021-11-02 22:30:29 +03:00
Rodrigo Torres
67d8146b9c WIP 2021-08-24 04:22:30 -03:00
Rodrigo Torres
fa6cbef6a7 WIP 2021-08-24 02:37:40 -03:00
Rodrigo Torres
fabb63ada2 Update copyright year 2021-08-18 14:21:36 -03:00
Arin Alexandex
2777cbb744 #289 Data source renaming has been fixed 2020-08-16 17:54:44 +03:00
Arin Alexander
ec625fabf4 "Designer crash when open, close and open database connection" issue has been fixed 2020-07-24 10:11:24 +03:00
Arin Alexander
1ae5c2fa82 DataSourceManager::clear() has been fixed 2020-06-27 11:23:36 +03:00
Arin Alexander
ccf8134012 Using variables in the connection describer has been extended 2020-05-08 14:19:02 +03:00
Arin Alexander
ccec7b4164 Invalidating data sources have been improved 2019-10-16 02:06:38 +03:00
Arin Alexander
69369e3b0c Ruler has been fixed 2019-06-27 10:45:26 +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
d85b8bbd87 Typo has been fixed 2019-02-06 20:46:38 +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
568139aabf Merge branch 'develop' into feature/Variables_with_params 2019-01-31 21:15:13 +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
22eb936d1c Parameter "nobind" has been added to variable 2019-01-30 22:49:20 +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 Alexander
eacc5c645e Build has been fixed 2018-05-07 22:52:28 +03:00
Arin Alexander
fbbf6af33d Build has been fixed 2018-03-22 23:00:51 +03:00
Arin Alexander
6ad35d63be Easyprofiler added 2018-02-28 23:19:14 +03:00
Arin Alexander
598bee200f Group bands have been fixed
Port property has been added to connection describer

# Conflicts:
#	limereport/lrreportrender.cpp
2018-01-18 20:34:27 +03:00
Arin Alexander
f64a918ffe Port property has been added to connection describer 2018-01-18 20:13:18 +03:00
Arin Alexander
435074064b Dark theme has been added 2017-12-11 16:48:00 +03:00
Arin Alexander
23641333da QueryHolder fixed 2017-10-27 22:58:10 +03:00
Arin Alexander
b88f1a1b27 QueryHolder fixed 2017-10-27 22:56:56 +03:00
Arin Alexander
6fccf0da0e Databrowser fixed 2017-10-27 21:11:43 +04:00
Arin Alexander
9980966f21 Databrowser fixed 2017-10-27 21:10:59 +04:00
Arin Alexander
d0e10863b9 Finish 1.4.47 2017-10-24 01:54:57 +03:00
Arin Alexander
845c609c86 Database connection fixed 2017-10-24 01:49:30 +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
6e350fa0b8 Finish 1.4.41
# Conflicts:
#	limereport/lrdatasourcemanager.cpp
#	limereport/lrscriptenginemanager.cpp
2017-09-19 22:08:04 +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
Arin Alexander
54c5bc65ed TOC has been added 2017-08-18 22:55:29 +03:00
Arin Alexander
5e8305f44f #IS_LAST_PAGEFOOTER & #IS_FIRST_PAGEFOOTER variables have been added 2017-07-21 20:35:33 +03:00
Arin Alexander
1354c4a253 Russian translation has been fixed 2017-06-28 16:58:01 +03:00
Arin Alexander
0786ee1f32 Group function pattern has been fixed 2017-06-07 23:47:43 +03:00
Andy Maloney
64331fbaeb Corrects spelling of method name 2017-04-08 12:53:05 -04:00
Arin Alexander
9ab3cb5803 Fix subquery loading 2017-03-03 00:55:35 +03:00
Arin Alexander
ef712cca5f Fixed the error occurred during loading a report if the report contains data sources with identical names to data sources added by application 2017-03-03 00:30:54 +03:00
Arin Alex
3975406487 Check connection has been fixed 2017-02-21 22:16:09 +03: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