0
0
mirror of https://github.com/fralx/LimeReport.git synced 2025-01-11 17:18:10 +03:00
LimeReport/limereport/bands/lrtearoffband.h

22 lines
509 B
C
Raw Normal View History

2017-09-27 13:04:56 +03:00
#ifndef LRTEAROFFBAND_H
#define LRTEAROFFBAND_H
#include "lrbanddesignintf.h"
namespace LimeReport {
class TearOffBand: public BandDesignIntf {
Q_OBJECT
public:
TearOffBand(QObject* owner = 0, QGraphicsItem* parent = 0);
virtual BaseDesignIntf* createSameTypeItem(QObject* owner = 0, QGraphicsItem* parent = 0);
protected:
QColor bandColor() const;
bool isUnique() const { return true; }
bool isFooter() const { return true; }
};
} // namespace LimeReport
#endif // TEAROFFBAND_H