mirror of
https://github.com/fralx/LimeReport.git
synced 2025-09-23 08:29:07 +03:00
Watermark fixed
This commit is contained in:
@@ -543,6 +543,12 @@ void TextItem::setTextLayoutDirection(const Qt::LayoutDirection &textLayoutDirec
|
||||
}
|
||||
}
|
||||
|
||||
void TextItem::setWatermark(bool watermark)
|
||||
{
|
||||
setBackgroundMode(TransparentMode);
|
||||
BaseDesignIntf::setWatermark(watermark);
|
||||
}
|
||||
|
||||
|
||||
QString TextItem::followTo() const
|
||||
{
|
||||
|
@@ -164,6 +164,8 @@ public:
|
||||
void setTextIndent(const qreal &textIndent);
|
||||
Qt::LayoutDirection textLayoutDirection() const;
|
||||
void setTextLayoutDirection(const Qt::LayoutDirection &textLayoutDirection);
|
||||
|
||||
void setWatermark(bool watermark);
|
||||
|
||||
protected:
|
||||
void updateLayout();
|
||||
|
@@ -272,6 +272,8 @@ public:
|
||||
void setZValueProperty(qreal value);
|
||||
QString patternName() const;
|
||||
void setPatternName(const QString &patternName);
|
||||
bool isWatermark() const;
|
||||
virtual void setWatermark(bool watermark);
|
||||
|
||||
Q_INVOKABLE QString setItemWidth(qreal width);
|
||||
Q_INVOKABLE QString setItemHeight(qreal height);
|
||||
@@ -282,9 +284,6 @@ public:
|
||||
Q_INVOKABLE QString setItemPosX(qreal xValue);
|
||||
Q_INVOKABLE QString setItemPosY(qreal yValue);
|
||||
|
||||
bool isWatermark() const;
|
||||
void setWatermark(bool watermark);
|
||||
|
||||
protected:
|
||||
|
||||
//ICollectionContainer
|
||||
|
Reference in New Issue
Block a user