0
0
mirror of https://github.com/fralx/LimeReport.git synced 2025-11-20 06:30:03 +03:00

Watermark property has been added to TextItem and ImageItem

This commit is contained in:
Arin Alex
2018-03-22 17:17:04 +03:00
parent ec9eef654a
commit 24c9fa1827
5 changed files with 25 additions and 2 deletions

View File

@@ -282,6 +282,9 @@ public:
Q_INVOKABLE QString setItemPosX(qreal xValue);
Q_INVOKABLE QString setItemPosY(qreal yValue);
bool isWatermark() const;
void setWatermark(bool watermark);
protected:
//ICollectionContainer
@@ -396,6 +399,7 @@ private:
QColor m_borderColor;
ReportSettings* m_reportSettings;
QString m_patternName;
bool m_watermark;
signals:
void geometryChanged(QObject* object, QRectF newGeometry, QRectF oldGeometry);
void posChanged(QObject* object, QPointF newPos, QPointF oldPos);