0
0
mirror of https://github.com/fralx/LimeReport.git synced 2024-12-28 10:28:10 +03:00
LimeReport/limereport/bands/lrtearoffband.h
2018-09-09 21:54:33 +03:00

22 lines
499 B
C++

#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