mirror of
https://github.com/python-LimeReport/LimeReport.git
synced 2024-12-27 05:38:11 +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
|