A general configuration widget for direct report output. More...
#include <bpsreportconfigwidget.h>
Inheritance diagram for BpsReportConfigWidget:Public Member Functions | |
| BpsReportConfigWidget (BpsDatastore *aDatastore, QWidget *aParent=0) | |
| void | setReportProperties (const QVariantMap &aProperties) |
| Set the report properties. | |
A general configuration widget for direct report output.
| BpsReportConfigWidget::BpsReportConfigWidget | ( | BpsDatastore * | aDatastore, |
| QWidget * | aParent = 0 |
||
| ) |
| [in] | aDatastore | The datastore to use. |
| [in] | aParent | The parent widget. |
| void BpsReportConfigWidget::setReportProperties | ( | const QVariantMap & | aProperties | ) |
Set the report properties.
The regular report properties are preset by the values stored in the report, but can be overwritten by values of aProperties: name, paper, orientation, papersize, margins, emptyok, usedselections and script.
Besides those standard properties, also the following common properties will be predefined and can be overwritten by values of aProperties:
| Property | Preset value |
|---|---|
application | Text reportconfig |
sid | The value of property name |
datastore | The current datastore object |
selections | An empty object |
| [in] | aProperties | The properties to be added or overwritten. |