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

Added timeout before changing geometry

This commit is contained in:
Arin Alexander
2020-12-29 23:56:54 +03:00
parent 3c2388dce5
commit 698f7a0171
3 changed files with 17 additions and 2 deletions

View File

@@ -403,6 +403,9 @@ private:
Qt::CursorShape getPossibleCursor(int cursorFlags);
void updatePossibleDirectionFlags();
private slots:
void onChangeGeometryTimeOut();
private:
QPointF m_startPos;
int m_resizeHandleSize;
@@ -463,6 +466,9 @@ private:
UnitType m_unitType;
bool m_itemGeometryLocked;
bool m_isChangingPos;
bool m_isMoveable;
QTimer m_timer;
signals:
void geometryChanged(QObject* object, QRectF newGeometry, QRectF oldGeometry);
void posChanging(QObject* object, QPointF newPos, QPointF oldPos);