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

Fix: geometry changing for locked items is prevented

This commit is contained in:
Arin Alexander
2019-06-29 18:11:00 +03:00
parent 9bf0ba0ded
commit 11cb534608
3 changed files with 15 additions and 15 deletions

View File

@@ -98,7 +98,7 @@ class BaseDesignIntf :
Q_PROPERTY(int borderLineSize READ borderLineSize WRITE setBorderLineSize)
Q_PROPERTY(bool isVisible READ isVisible WRITE setItemVisible DESIGNABLE false)
Q_PROPERTY(QColor borderColor READ borderColor WRITE setBorderColor)
Q_PROPERTY(bool geometryLocked READ isItemGeometryLocked WRITE setItemGeometryLocked)
Q_PROPERTY(bool geometryLocked READ isGeometryLocked WRITE setGeometryLocked)
friend class ReportRender;
public:
@@ -305,8 +305,8 @@ public:
void setFillTransparentInDesignMode(bool fillTransparentInDesignMode);
void emitPosChanged(QPointF oldPos, QPointF newPos);
bool isItemGeometryLocked() const;
void setItemGeometryLocked(bool itemLocked);
bool isGeometryLocked() const;
void setGeometryLocked(bool itemLocked);
protected: