From 6a55e6c0c28eb8bf15dcba53229227fb4062c445 Mon Sep 17 00:00:00 2001 From: Arin Alexander Date: Fri, 7 Oct 2016 00:57:38 +0400 Subject: [PATCH] columnCount and columnsFillDirection properties have been added to DataHeaderBand, DataFooterBand, SubDetailHeaderBand and SubDetailFooterBand --- limereport/bands/lrdataband.h | 3 +++ limereport/bands/lrsubdetailband.h | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/limereport/bands/lrdataband.h b/limereport/bands/lrdataband.h index d19d4b9..c6061b3 100644 --- a/limereport/bands/lrdataband.h +++ b/limereport/bands/lrdataband.h @@ -62,6 +62,7 @@ class DataHeaderBand : public BandDesignIntf Q_OBJECT Q_PROPERTY(bool reprintOnEachPage READ reprintOnEachPage WRITE setReprintOnEachPage) Q_PROPERTY(int columnsCount READ columnsCount WRITE setColumnsCount) + Q_PROPERTY(BandColumnsLayoutType columnsFillDirection READ columnsFillDirection WRITE setColumnsFillDirection) Q_PROPERTY(bool printAlways READ printAlways() WRITE setPrintAlways()) Q_PROPERTY(bool repeatOnEachRow READ repeatOnEachRow WRITE setRepeatOnEachRow) public: @@ -78,6 +79,8 @@ private: class DataFooterBand : public BandDesignIntf { Q_OBJECT + Q_PROPERTY(int columnsCount READ columnsCount WRITE setColumnsCount) + Q_PROPERTY(BandColumnsLayoutType columnsFillDirection READ columnsFillDirection WRITE setColumnsFillDirection) Q_PROPERTY(bool printAlways READ printAlways() WRITE setPrintAlways()) public: DataFooterBand(QObject* owner=0, QGraphicsItem* parent=0); diff --git a/limereport/bands/lrsubdetailband.h b/limereport/bands/lrsubdetailband.h index 499e5e3..ad379b3 100644 --- a/limereport/bands/lrsubdetailband.h +++ b/limereport/bands/lrsubdetailband.h @@ -56,6 +56,8 @@ protected: class SubDetailHeaderBand : public BandDesignIntf { Q_OBJECT + Q_PROPERTY(int columnsCount READ columnsCount WRITE setColumnsCount) + Q_PROPERTY(BandColumnsLayoutType columnsFillDirection READ columnsFillDirection WRITE setColumnsFillDirection) Q_PROPERTY(bool printAlways READ printAlways WRITE setPrintAlways) public: SubDetailHeaderBand(QObject* owner = 0, QGraphicsItem* parent=0); @@ -69,6 +71,8 @@ private: class SubDetailFooterBand : public BandDesignIntf { Q_OBJECT + Q_PROPERTY(int columnsCount READ columnsCount WRITE setColumnsCount) + Q_PROPERTY(BandColumnsLayoutType columnsFillDirection READ columnsFillDirection WRITE setColumnsFillDirection) Q_PROPERTY(bool printAlways READ printAlways() WRITE setPrintAlways()) public: SubDetailFooterBand(QObject* owner = 0, QGraphicsItem* parent=0);