New signal preparedForRender has been added to band

This commit is contained in:
Arin Alexander 2019-02-05 01:00:32 +03:00
parent 3cfd3c968f
commit d09ae57d0f
2 changed files with 3 additions and 0 deletions

View File

@ -1053,6 +1053,8 @@ void BandDesignIntf::updateItemSize(DataSourceManager* dataManager, RenderPass p
spaceBorder += m_bottomSpace;
restoreLinks();
snapshotItemsLayout();
BandDesignIntf* patternBand = dynamic_cast<BandDesignIntf*>(patternItem());
if (patternBand) emit(patternBand->preparedForRender());
arrangeSubItems(pass, dataManager);
if (autoHeight()){
if (!keepTopSpace()) {

View File

@ -258,6 +258,7 @@ public:
void setBootomSpace(int bootomSpace);
signals:
void bandRendered(BandDesignIntf* band);
void preparedForRender();
void bandRegistred();
protected:
void trimToMaxHeight(int maxHeight);