mirror of
https://github.com/fralx/LimeReport.git
synced 2025-10-09 05:57:14 +03:00
init commit
This commit is contained in:
@@ -178,6 +178,13 @@ QString BandDesignIntf::translateBandName(const BaseDesignIntf* item) const{
|
||||
}
|
||||
}
|
||||
|
||||
void BandDesignIntf::copyBookmarks(BandDesignIntf* sourceBand)
|
||||
{
|
||||
foreach(QString key, sourceBand->bookmarks()){
|
||||
addBookmark(key,sourceBand->getBookMark(key));
|
||||
}
|
||||
}
|
||||
|
||||
void BandDesignIntf::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
|
||||
{
|
||||
|
||||
@@ -801,6 +808,12 @@ qreal BandDesignIntf::bottomSpace() const
|
||||
return m_bottomSpace.isValid() ? m_bottomSpace.value() : height()-findMaxBottom();
|
||||
}
|
||||
|
||||
QVariant BandDesignIntf::getBookMark(const QString& key){
|
||||
if (m_bookmarks.contains(key))
|
||||
return m_bookmarks.value(key);
|
||||
else return QVariant();
|
||||
}
|
||||
|
||||
void BandDesignIntf::slotPropertyObjectNameChanged(const QString &, const QString& newName)
|
||||
{
|
||||
update();
|
||||
|
Reference in New Issue
Block a user