0
0
mirror of https://github.com/fralx/LimeReport.git synced 2025-09-23 16:39:07 +03:00

Border color property has been added

This commit is contained in:
Arin Alexander
2016-04-06 21:35:13 +04:00
parent f67602af43
commit eb6e174080
2 changed files with 23 additions and 2 deletions

View File

@@ -93,6 +93,7 @@ class BaseDesignIntf :
Q_PROPERTY(QString parentName READ parentReportItemName WRITE setParentReportItem DESIGNABLE false)
Q_PROPERTY(int borderLineSize READ borderLineSize WRITE setBorderLineSize)
Q_PROPERTY(bool isVisible READ isVisible WRITE setVisible DESIGNABLE false)
Q_PROPERTY(QColor borderColor READ borderColor WRITE setBorderColor)
public:
enum BGMode { TransparentMode,OpaqueMode};
@@ -241,6 +242,9 @@ public:
QPointF modifyPosForAlignedItem(const QPointF &pos);
void turnOnJoinMarker(bool value);
virtual bool isBand(){return false;}
QColor borderColor() const;
void setBorderColor(const QColor &borderColor);
protected:
//ICollectionContainer
@@ -341,6 +345,7 @@ private:
QString m_itemTypeName;
ItemAlign m_itemAlign;
bool m_changingItemAlign;
QColor m_borderColor;
signals:
void geometryChanged(QObject* object, QRectF newGeometry, QRectF oldGeometry);
void posChanged(QObject* object, QPointF newPos, QPointF oldPos);