mirror of
https://github.com/python-LimeReport/LimeReport.git
synced 2025-09-23 16:49:07 +03:00
createPreviewScene(QObject *parent = 0); from now return QGraphicsScene*
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user