0
0
mirror of https://github.com/fralx/LimeReport.git synced 2025-11-20 06:30:03 +03:00

oldPrintMode property has been added for previous versions compatibility

This commit is contained in:
Arin Alexander
2016-05-26 23:19:12 +04:00
parent 2132bc9e34
commit 8d3dd7c09b
3 changed files with 39 additions and 10 deletions

View File

@@ -50,6 +50,7 @@ class PageItemDesignIntf : public LimeReport::BaseDesignIntf
Q_PROPERTY(PageSize pageSize READ pageSize WRITE setPageSize )
Q_PROPERTY(int gridStep READ gridStep WRITE setGridStep)
Q_PROPERTY(bool fullPage READ fullPage WRITE setFullPage)
Q_PROPERTY(bool oldPrintMode READ oldPrintMode WRITE setOldPrintMode)
friend class ReportRender;
public:
enum Orientation { Portrait, Landscape };
@@ -108,6 +109,9 @@ public:
bool fullPage() const;
void setFullPage(bool fullPage);
bool oldPrintMode() const;
void setOldPrintMode(bool oldPrintMode);
protected slots:
void bandDeleted(QObject* band);
void bandGeometryChanged(QObject* /*object*/, QRectF newGeometry, QRectF oldGeometry);
@@ -133,6 +137,7 @@ private:
bool m_sizeChainging;
QList<BandDesignIntf*> m_bands;
bool m_fullPage;
bool m_oldPrintMode;
};
}
#endif // LRPAGEITEM_H