From d09ae57d0fb3e668566b4d1d52d25725c6c51c8a Mon Sep 17 00:00:00 2001 From: Arin Alexander Date: Tue, 5 Feb 2019 01:00:32 +0300 Subject: [PATCH] New signal preparedForRender has been added to band --- limereport/lrbanddesignintf.cpp | 2 ++ limereport/lrbanddesignintf.h | 1 + 2 files changed, 3 insertions(+) diff --git a/limereport/lrbanddesignintf.cpp b/limereport/lrbanddesignintf.cpp index 25db826..af4c72f 100644 --- a/limereport/lrbanddesignintf.cpp +++ b/limereport/lrbanddesignintf.cpp @@ -1053,6 +1053,8 @@ void BandDesignIntf::updateItemSize(DataSourceManager* dataManager, RenderPass p spaceBorder += m_bottomSpace; restoreLinks(); snapshotItemsLayout(); + BandDesignIntf* patternBand = dynamic_cast(patternItem()); + if (patternBand) emit(patternBand->preparedForRender()); arrangeSubItems(pass, dataManager); if (autoHeight()){ if (!keepTopSpace()) { diff --git a/limereport/lrbanddesignintf.h b/limereport/lrbanddesignintf.h index c550143..dcdeac8 100644 --- a/limereport/lrbanddesignintf.h +++ b/limereport/lrbanddesignintf.h @@ -258,6 +258,7 @@ public: void setBootomSpace(int bootomSpace); signals: void bandRendered(BandDesignIntf* band); + void preparedForRender(); void bandRegistred(); protected: void trimToMaxHeight(int maxHeight);