mirror of
https://github.com/python-LimeReport/LimeReport.git
synced 2025-10-02 03:53:21 +03:00
Tear-off band has been added
Tear-off band has been added Tear-off band has been added
This commit is contained in:
@@ -38,12 +38,22 @@ namespace LimeReport{
|
||||
class PageFooter : public LimeReport::BandDesignIntf
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_PROPERTY(bool printOnFirstPage READ printOnFirstPage WRITE setPrintOnFirstPage)
|
||||
Q_PROPERTY(bool printOnLastPage READ printOnLastPage WRITE setPrintOnLastPage)
|
||||
public:
|
||||
PageFooter(QObject* owner = 0, QGraphicsItem* parent=0);
|
||||
virtual BaseDesignIntf* createSameTypeItem(QObject* owner=0, QGraphicsItem* parent=0);
|
||||
virtual bool isFooter() const {return true;}
|
||||
bool printOnLastPage() const;
|
||||
void setPrintOnLastPage(bool printOnLastPage);
|
||||
bool printOnFirstPage() const;
|
||||
void setPrintOnFirstPage(bool printOnFirstPage);
|
||||
|
||||
protected:
|
||||
QColor bandColor() const;
|
||||
private:
|
||||
bool m_printOnLastPage;
|
||||
bool m_printOnFirstPage;
|
||||
};
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user