mirror of
https://github.com/fralx/LimeReport.git
synced 2024-12-25 09:04:39 +03:00
491f7b49d7
I'm presuming that TearOffBand::isUnique() is supposed to override the base class's isUnique(), but it was missing a const...
21 lines
462 B
C++
21 lines
462 B
C++
#ifndef TEAROFFBAND_H
|
|
#define TEAROFFBAND_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;
|
|
virtual bool isUnique() const {return true;}
|
|
};
|
|
|
|
} // namespace LimeReport
|
|
|
|
#endif // TEAROFFBAND_H
|