mirror of
https://github.com/python-LimeReport/LimeReport.git
synced 2025-12-14 17:20:57 +03:00
Splittable band has been fixed
This commit is contained in:
@@ -82,6 +82,18 @@ private:
|
||||
BandDesignIntf* m_band;
|
||||
};
|
||||
|
||||
class InitializedValue{
|
||||
public:
|
||||
InitializedValue(): m_value(-1), m_isInitialized(false){}
|
||||
InitializedValue(qreal value): m_value(value), m_isInitialized(true){}
|
||||
qreal value() const { return m_value;}
|
||||
void setValue( qreal value){ m_value = value; m_isInitialized = true;}
|
||||
bool isValid() const{ return m_isInitialized;}
|
||||
private:
|
||||
qreal m_value;
|
||||
bool m_isInitialized;
|
||||
};
|
||||
|
||||
class BandDesignIntf : public ItemsContainerDesignInft
|
||||
{
|
||||
Q_OBJECT
|
||||
@@ -225,6 +237,7 @@ public:
|
||||
bool useAlternateBackgroundColor() const;
|
||||
void setUseAlternateBackgroundColor(bool useAlternateBackgroundColor);
|
||||
void replaceGroupsFunction(BandDesignIntf *band);
|
||||
qreal bottomSpace() const;
|
||||
signals:
|
||||
void bandRendered(BandDesignIntf* band);
|
||||
protected:
|
||||
@@ -279,8 +292,9 @@ private:
|
||||
bool m_printAlways;
|
||||
bool m_repeatOnEachRow;
|
||||
QMap<QString,BaseDesignIntf*> m_slicedItems;
|
||||
QColor m_alternateBackgroundColor;
|
||||
bool m_useAlternateBackgroundColor;
|
||||
QColor m_alternateBackgroundColor;
|
||||
bool m_useAlternateBackgroundColor;
|
||||
InitializedValue m_bottomSpace;
|
||||
};
|
||||
|
||||
class DataBandDesignIntf : public BandDesignIntf{
|
||||
|
||||
Reference in New Issue
Block a user