mirror of
				https://github.com/python-LimeReport/LimeReport.git
				synced 2025-11-04 07:31:23 +03:00 
			
		
		
		
	columnCount and columnsFillDirection properties have been added to DataHeaderBand, DataFooterBand, SubDetailHeaderBand and SubDetailFooterBand
This commit is contained in:
		@@ -62,6 +62,7 @@ class DataHeaderBand : public BandDesignIntf
 | 
				
			|||||||
    Q_OBJECT
 | 
					    Q_OBJECT
 | 
				
			||||||
    Q_PROPERTY(bool reprintOnEachPage READ reprintOnEachPage WRITE setReprintOnEachPage)
 | 
					    Q_PROPERTY(bool reprintOnEachPage READ reprintOnEachPage WRITE setReprintOnEachPage)
 | 
				
			||||||
    Q_PROPERTY(int columnsCount READ columnsCount WRITE setColumnsCount)
 | 
					    Q_PROPERTY(int columnsCount READ columnsCount WRITE setColumnsCount)
 | 
				
			||||||
 | 
					    Q_PROPERTY(BandColumnsLayoutType columnsFillDirection  READ columnsFillDirection WRITE setColumnsFillDirection)
 | 
				
			||||||
    Q_PROPERTY(bool printAlways READ printAlways() WRITE setPrintAlways())
 | 
					    Q_PROPERTY(bool printAlways READ printAlways() WRITE setPrintAlways())
 | 
				
			||||||
    Q_PROPERTY(bool repeatOnEachRow READ repeatOnEachRow WRITE setRepeatOnEachRow)
 | 
					    Q_PROPERTY(bool repeatOnEachRow READ repeatOnEachRow WRITE setRepeatOnEachRow)
 | 
				
			||||||
public:
 | 
					public:
 | 
				
			||||||
@@ -78,6 +79,8 @@ private:
 | 
				
			|||||||
class DataFooterBand : public BandDesignIntf
 | 
					class DataFooterBand : public BandDesignIntf
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    Q_OBJECT
 | 
					    Q_OBJECT
 | 
				
			||||||
 | 
					    Q_PROPERTY(int columnsCount READ columnsCount WRITE setColumnsCount)
 | 
				
			||||||
 | 
					    Q_PROPERTY(BandColumnsLayoutType columnsFillDirection  READ columnsFillDirection WRITE setColumnsFillDirection)	
 | 
				
			||||||
    Q_PROPERTY(bool printAlways READ printAlways() WRITE setPrintAlways())
 | 
					    Q_PROPERTY(bool printAlways READ printAlways() WRITE setPrintAlways())
 | 
				
			||||||
public:
 | 
					public:
 | 
				
			||||||
    DataFooterBand(QObject* owner=0, QGraphicsItem* parent=0);
 | 
					    DataFooterBand(QObject* owner=0, QGraphicsItem* parent=0);
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -56,6 +56,8 @@ protected:
 | 
				
			|||||||
class SubDetailHeaderBand : public BandDesignIntf
 | 
					class SubDetailHeaderBand : public BandDesignIntf
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    Q_OBJECT
 | 
					    Q_OBJECT
 | 
				
			||||||
 | 
					    Q_PROPERTY(int columnsCount READ columnsCount WRITE setColumnsCount)
 | 
				
			||||||
 | 
					    Q_PROPERTY(BandColumnsLayoutType columnsFillDirection  READ columnsFillDirection WRITE setColumnsFillDirection)	
 | 
				
			||||||
    Q_PROPERTY(bool printAlways READ printAlways WRITE setPrintAlways)
 | 
					    Q_PROPERTY(bool printAlways READ printAlways WRITE setPrintAlways)
 | 
				
			||||||
public:
 | 
					public:
 | 
				
			||||||
    SubDetailHeaderBand(QObject* owner = 0, QGraphicsItem* parent=0);
 | 
					    SubDetailHeaderBand(QObject* owner = 0, QGraphicsItem* parent=0);
 | 
				
			||||||
@@ -69,6 +71,8 @@ private:
 | 
				
			|||||||
class SubDetailFooterBand : public BandDesignIntf
 | 
					class SubDetailFooterBand : public BandDesignIntf
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    Q_OBJECT
 | 
					    Q_OBJECT
 | 
				
			||||||
 | 
					    Q_PROPERTY(int columnsCount READ columnsCount WRITE setColumnsCount)
 | 
				
			||||||
 | 
					    Q_PROPERTY(BandColumnsLayoutType columnsFillDirection  READ columnsFillDirection WRITE setColumnsFillDirection)	
 | 
				
			||||||
    Q_PROPERTY(bool printAlways READ printAlways() WRITE setPrintAlways())
 | 
					    Q_PROPERTY(bool printAlways READ printAlways() WRITE setPrintAlways())
 | 
				
			||||||
public:
 | 
					public:
 | 
				
			||||||
    SubDetailFooterBand(QObject* owner = 0, QGraphicsItem* parent=0);
 | 
					    SubDetailFooterBand(QObject* owner = 0, QGraphicsItem* parent=0);
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user