mirror of
https://github.com/python-LimeReport/LimeReport.git
synced 2025-10-22 10:27:32 +03:00
Finish 1.4.89
This commit is contained in:
@@ -398,6 +398,19 @@ int BandDesignIntf::minChildIndex(BandDesignIntf::BandsType bandType){
|
||||
return curIndex;
|
||||
}
|
||||
|
||||
int BandDesignIntf::minChildIndex(QSet<BandDesignIntf::BandsType> ignoredBands)
|
||||
{
|
||||
int curIndex = bandIndex();
|
||||
foreach(BandDesignIntf* childBand, childBands()){
|
||||
if (!ignoredBands.contains(childBand->bandType()) && childBand->bandIndex() < bandIndex()){
|
||||
curIndex = std::min(curIndex, childBand->maxChildIndex(ignoredBands));
|
||||
}
|
||||
}
|
||||
return curIndex;
|
||||
}
|
||||
|
||||
|
||||
|
||||
QList<BandDesignIntf *> BandDesignIntf::childrenByType(BandDesignIntf::BandsType type)
|
||||
{
|
||||
QList<BandDesignIntf*> resList;
|
||||
|
Reference in New Issue
Block a user