0
0
mirror of https://github.com/fralx/LimeReport.git synced 2024-12-24 00:33:02 +03:00
LimeReport/limereport/bands/lrtearoffband.h
Андрей Лухнов 0fca7169d3 Define code style and format all source file using clang-format-14
except those placed in 3rdparty directories.
2024-09-19 21:09:38 +03:00

22 lines
509 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