0
0
mirror of https://github.com/fralx/LimeReport.git synced 2025-10-04 12:07:24 +03:00

removeGap property has been added to PageFooterBand

This commit is contained in:
Arin Alexander
2020-04-17 12:28:59 +03:00
parent d738d23446
commit a4acb912a5
9 changed files with 39 additions and 9 deletions

View File

@@ -40,6 +40,7 @@ class PageFooter : public BandDesignIntf
Q_OBJECT
Q_PROPERTY(bool printOnFirstPage READ printOnFirstPage WRITE setPrintOnFirstPage)
Q_PROPERTY(bool printOnLastPage READ printOnLastPage WRITE setPrintOnLastPage)
Q_PROPERTY(bool removeGap READ removeGap WRITE setRemoveGap)
public:
PageFooter(QObject* owner = 0, QGraphicsItem* parent=0);
virtual BaseDesignIntf* createSameTypeItem(QObject* owner=0, QGraphicsItem* parent=0);
@@ -48,6 +49,8 @@ public:
void setPrintOnLastPage(bool printOnLastPage);
bool printOnFirstPage() const;
void setPrintOnFirstPage(bool printOnFirstPage);
bool removeGap() const;
void setRemoveGap(bool removeGap);
protected:
QColor bandColor() const;
@@ -56,6 +59,7 @@ protected:
private:
bool m_printOnFirstPage;
bool m_printOnLastPage;
bool m_removeGap;
};
}