Files
LimeReport/limereport
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
..
2021-11-02 22:30:29 +03:00
2021-08-18 14:21:36 -03:00
2022-10-31 21:20:24 +03:00
WIP
2021-08-23 02:07:08 -03:00
WIP
2021-08-23 02:07:08 -03:00
2022-08-23 01:31:12 +03:00
2022-03-10 20:35:48 +01:00
2022-10-31 21:20:24 +03:00
2022-06-13 19:18:57 +01:00
2021-08-18 14:21:36 -03:00
2021-08-18 14:21:36 -03:00
2021-08-18 14:21:36 -03:00
2023-02-07 00:32:58 +03:00
2021-08-18 14:21:36 -03:00
2021-08-18 14:21:36 -03:00
2022-10-31 21:20:24 +03:00
2023-02-07 18:44:00 +03:00
2016-11-02 01:34:45 +03:00
2017-09-27 13:04:56 +03:00
2021-08-18 14:21:36 -03:00
2016-11-04 01:25:46 +03:00
WIP
2021-08-23 02:07:08 -03:00
2021-11-02 22:30:29 +03:00
2021-08-18 14:21:36 -03:00
2021-08-18 14:21:36 -03:00
WIP
2021-08-24 04:22:30 -03:00
WIP
2021-08-24 02:37:40 -03:00
2021-08-18 14:21:36 -03:00
2021-08-18 14:21:36 -03:00
2021-08-18 14:21:36 -03:00
2021-08-18 14:21:36 -03:00
2022-10-31 21:20:24 +03:00