mirror of
https://github.com/fralx/LimeReport.git
synced 2024-12-24 16:44:39 +03:00
Renaming bands has been fixed
This commit is contained in:
parent
264c0921f3
commit
eca9e7a1b0
@ -300,6 +300,11 @@ void BandDesignIntf::setParentBandName(const QString &parentBandName)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
QString BandDesignIntf::parentBandName(){
|
||||||
|
if (!m_parentBand) return m_parentBandName;
|
||||||
|
else return m_parentBand->objectName();
|
||||||
|
}
|
||||||
|
|
||||||
bool BandDesignIntf::isConnectedToBand(BandDesignIntf::BandsType bandType) const
|
bool BandDesignIntf::isConnectedToBand(BandDesignIntf::BandsType bandType) const
|
||||||
{
|
{
|
||||||
foreach(BandDesignIntf* band,childBands()) if (band->bandType()==bandType) return true;
|
foreach(BandDesignIntf* band,childBands()) if (band->bandType()==bandType) return true;
|
||||||
|
@ -146,7 +146,7 @@ public:
|
|||||||
void setParentBand(BandDesignIntf* band);
|
void setParentBand(BandDesignIntf* band);
|
||||||
|
|
||||||
void setParentBandName(const QString& parentBandName);
|
void setParentBandName(const QString& parentBandName);
|
||||||
QString parentBandName(){return m_parentBandName;}
|
QString parentBandName();
|
||||||
|
|
||||||
bool isConnectedToBand(BandDesignIntf::BandsType bandType) const;
|
bool isConnectedToBand(BandDesignIntf::BandsType bandType) const;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user