diff options
author | Roopesh Chander <roop@forwardbias.in> | 2009-10-29 19:24:59 +0530 |
---|---|---|
committer | Roopesh Chander <roop@forwardbias.in> | 2009-10-29 19:24:59 +0530 |
commit | beab27f6a906d6556b9b229e1565dd0b47a4186d (patch) | |
tree | 6c7efbffb53c0a5d46344ae54087336c0c4ce227 /resizeuihelper.cpp | |
parent | 3cc54f83ff44e0ffd17713ab8c9c2c458dc2fb1e (diff) |
resizing of a scrap after it's added
Diffstat (limited to 'resizeuihelper.cpp')
-rw-r--r-- | resizeuihelper.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/resizeuihelper.cpp b/resizeuihelper.cpp index 0c8d0f7..5719098 100644 --- a/resizeuihelper.cpp +++ b/resizeuihelper.cpp @@ -66,6 +66,11 @@ bool ResizeUiHelper::resizeGripEnabled(GripId grip) const { return m_gripsEnabled[int(grip)]; } +void ResizeUiHelper::setAllResizeGripsEnabled(bool enabled) { + for (int i = int(ResizeUiHelper::TopLeft); i <= int(ResizeUiHelper::Left); i++) + setResizeGripEnabled(GripId(i), enabled); +} + void ResizeUiHelper::setGripSize(QSizeF sz) { m_gripSize = sz; } |