0
0
mirror of https://github.com/fralx/LimeReport.git synced 2025-10-03 03:57:31 +03:00

printAlways has been moved to BandDesignIntf & printAlways property has been added to DataHeaderBand & DataFooterBand

This commit is contained in:
Arin Alexander
2016-07-21 00:14:39 +03:00
parent c7b0a6d0e1
commit 942dc47b8f
6 changed files with 35 additions and 12 deletions

View File

@@ -59,14 +59,10 @@ class SubDetailHeaderBand : public BandDesignIntf
public:
SubDetailHeaderBand(QObject* owner = 0, QGraphicsItem* parent=0);
bool isUnique() const;
void setPrintAlways(bool value){m_printAlways=value;}
bool printAlways(){return m_printAlways;}
protected:
QColor bandColor() const;
private:
BaseDesignIntf* createSameTypeItem(QObject* owner=0, QGraphicsItem* parent=0);
private:
bool m_printAlways;
};
class SubDetailFooterBand : public BandDesignIntf
@@ -75,8 +71,6 @@ class SubDetailFooterBand : public BandDesignIntf
Q_PROPERTY(bool printAlways READ printAlways() WRITE setPrintAlways())
public:
SubDetailFooterBand(QObject* owner = 0, QGraphicsItem* parent=0);
void setPrintAlways(bool value){m_printAlways=value;}
bool printAlways(){return m_printAlways;}
virtual bool isUnique() const;
bool isFooter() const{return true;}
protected:
@@ -84,7 +78,6 @@ protected:
private:
BaseDesignIntf* createSameTypeItem(QObject* owner=0, QGraphicsItem* parent=0);
private:
bool m_printAlways;
};
}