mirror of
https://github.com/fralx/LimeReport.git
synced 2024-12-24 16:44:39 +03:00
Merge tag '1.5.27' into develop
Finish 1.5.27
This commit is contained in:
commit
0f3966242d
@ -128,7 +128,7 @@ RCC_DIR = $${ARCH_DIR}/$${BUILD_TYPE}/rcc
|
||||
|
||||
LIMEREPORT_VERSION_MAJOR = 1
|
||||
LIMEREPORT_VERSION_MINOR = 5
|
||||
LIMEREPORT_VERSION_RELEASE = 26
|
||||
LIMEREPORT_VERSION_RELEASE = 27
|
||||
|
||||
LIMEREPORT_VERSION = '$${LIMEREPORT_VERSION_MAJOR}.$${LIMEREPORT_VERSION_MINOR}.$${LIMEREPORT_VERSION_RELEASE}'
|
||||
DEFINES *= LIMEREPORT_VERSION_STR=\\\"$${LIMEREPORT_VERSION}\\\"
|
||||
|
@ -241,6 +241,13 @@ void BandDesignIntf::setBackgroundOpacity(int value)
|
||||
}
|
||||
}
|
||||
|
||||
bool BandDesignIntf::isNeedUpdateSize(RenderPass pass) const{
|
||||
foreach(BaseDesignIntf* item, childBaseItems()){
|
||||
if (item->isNeedUpdateSize(pass)) return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
void BandDesignIntf::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
|
||||
{
|
||||
prepareRect(painter, option, widget);
|
||||
|
@ -263,7 +263,8 @@ public:
|
||||
void setBootomSpace(int bootomSpace);
|
||||
void updateBandMarkerGeometry();
|
||||
int shiftItems() const;
|
||||
void setShiftItems(int shiftItems);
|
||||
void setShiftItems(int shiftItems);
|
||||
bool isNeedUpdateSize(RenderPass) const;
|
||||
|
||||
signals:
|
||||
void bandRendered(BandDesignIntf* band);
|
||||
|
@ -1569,7 +1569,7 @@ void BaseDesignIntf::objectLoadFinished()
|
||||
void BaseDesignIntf::parentObjectLoadFinished()
|
||||
{}
|
||||
|
||||
QList<BaseDesignIntf *> BaseDesignIntf::childBaseItems()
|
||||
QList<BaseDesignIntf *> BaseDesignIntf::childBaseItems() const
|
||||
{
|
||||
QList<BaseDesignIntf *> resList;
|
||||
foreach(QGraphicsItem * item, childItems()) {
|
||||
|
@ -244,7 +244,7 @@ public:
|
||||
virtual void parentObjectLoadFinished();
|
||||
virtual void beforeDelete();
|
||||
|
||||
QList<BaseDesignIntf*> childBaseItems();
|
||||
QList<BaseDesignIntf*> childBaseItems() const;
|
||||
QList<BaseDesignIntf*> allChildBaseItems();
|
||||
BaseDesignIntf* childByName(const QString& name);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user