Documents > BPS V2 C++ API
BpsReportConfigWidget Class Reference

A general configuration widget for direct report output. More...

#include <bpsreportconfigwidget.h>

+ Inheritance diagram for BpsReportConfigWidget:

List of all members.

Public Member Functions

 BpsReportConfigWidget (BpsDatastore *aDatastore, QWidget *aParent=0)
void setReportProperties (const QVariantMap &aProperties)
 Set the report properties.

Detailed Description

A general configuration widget for direct report output.


Constructor & Destructor Documentation

BpsReportConfigWidget::BpsReportConfigWidget ( BpsDatastore aDatastore,
QWidget *  aParent = 0 
)
Parameters:
[in]aDatastoreThe datastore to use.
[in]aParentThe parent widget.

Member Function Documentation

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:

PropertyPreset value
application Text reportconfig
sid The value of property name
datastore The current datastore object
selections An empty object
Parameters:
[in]aPropertiesThe properties to be added or overwritten.

The documentation for this class was generated from the following file: