useAlternateBackgroundColor property has been added

This commit is contained in:
Arin Alexander
2017-03-04 00:21:21 +03:00
parent 4c6c0dfd3b
commit 242dbe75d2
6 changed files with 58 additions and 12 deletions

View File

@@ -219,6 +219,8 @@ public:
void setRepeatOnEachRow(bool repeatOnEachRow);
QColor alternateBackgroundColor() const;
void setAlternateBackgroundColor(const QColor &alternateBackgroundColor);
bool useAlternateBackgroundColor() const;
void setUseAlternateBackgroundColor(bool useAlternateBackgroundColor);
signals:
void bandRendered(BandDesignIntf* band);
@@ -276,7 +278,8 @@ private:
bool m_printAlways;
bool m_repeatOnEachRow;
QMap<QString,BaseDesignIntf*> m_slicedItems;
QColor m_alternateBackgroundColor;
QColor m_alternateBackgroundColor;
bool m_useAlternateBackgroundColor;
};
class DataBandDesignIntf : public BandDesignIntf{