createPreviewScene(QObject *parent = 0); from now return QGraphicsScene*

This commit is contained in:
Arin Alexander
2019-03-11 22:12:35 +03:00
parent 5f56f36a49
commit ee77ad5e5f
5 changed files with 22 additions and 14 deletions

View File

@@ -42,6 +42,7 @@
#include "lrreportdesignwindowintrerface.h"
class QPrinter;
class QGraphicsScene;
namespace LimeReport {
@@ -83,7 +84,7 @@ public:
bool printReport(QMap<QString, QPrinter*> printers, bool printToAllPrinters = false);
bool printPages(ReportPages pages, QPrinter *printer);
void printToFile(const QString& fileName);
PageDesignIntf *createPreviewScene(QObject *parent = 0);
QGraphicsScene* createPreviewScene(QObject *parent = 0);
bool printToPDF(const QString& fileName);
bool exportReport(QString exporterName, const QString &fileName = "", const QMap<QString, QVariant>& params = QMap<QString, QVariant>());
void previewReport(PreviewHints hints = PreviewBarsUserSetting);