mirror of
https://github.com/python-LimeReport/LimeReport.git
synced 2024-12-24 12:34:39 +03:00
New signal preparedForRender has been added to band
This commit is contained in:
parent
3cfd3c968f
commit
d09ae57d0f
@ -1053,6 +1053,8 @@ void BandDesignIntf::updateItemSize(DataSourceManager* dataManager, RenderPass p
|
|||||||
spaceBorder += m_bottomSpace;
|
spaceBorder += m_bottomSpace;
|
||||||
restoreLinks();
|
restoreLinks();
|
||||||
snapshotItemsLayout();
|
snapshotItemsLayout();
|
||||||
|
BandDesignIntf* patternBand = dynamic_cast<BandDesignIntf*>(patternItem());
|
||||||
|
if (patternBand) emit(patternBand->preparedForRender());
|
||||||
arrangeSubItems(pass, dataManager);
|
arrangeSubItems(pass, dataManager);
|
||||||
if (autoHeight()){
|
if (autoHeight()){
|
||||||
if (!keepTopSpace()) {
|
if (!keepTopSpace()) {
|
||||||
|
@ -258,6 +258,7 @@ public:
|
|||||||
void setBootomSpace(int bootomSpace);
|
void setBootomSpace(int bootomSpace);
|
||||||
signals:
|
signals:
|
||||||
void bandRendered(BandDesignIntf* band);
|
void bandRendered(BandDesignIntf* band);
|
||||||
|
void preparedForRender();
|
||||||
void bandRegistred();
|
void bandRegistred();
|
||||||
protected:
|
protected:
|
||||||
void trimToMaxHeight(int maxHeight);
|
void trimToMaxHeight(int maxHeight);
|
||||||
|
Loading…
Reference in New Issue
Block a user