Defines class MaskDrawingContext.
QString activityToModelType() const
Returns model type corresponding to current activity.
MaskEditorFlags::MaskValue m_mask_value
bool isPolygonMode() const
int activityToRow() const
Returns model row corresponding to given activity. All shapes, except ROI, will be added on top of ea...
bool isInZoomMode() const
void setDrawingInProgress(bool value)
MaskEditorFlags::Activity getActivityType() const
void setActivityType(MaskEditorFlags::Activity value)
bool isActivityRequiresDrawingCancel(MaskEditorFlags::Activity proposed_new_activity) const
Returns true, if proposed activity requires the cancel of drawing i.e. there is an ungoing polygon dr...
bool isVerticalLineMode() const
bool isRectangleShapeMode() const
bool isMaskAllMode() const
bool m_drawing_in_progress
bool isHorizontalLineMode() const
bool isRectangleMode() const
MaskEditorFlags::Activity m_current_activity
bool getMaskValue() const
bool isDrawingInProgress() const
bool isEllipseMode() const
void setMaskValue(MaskEditorFlags::MaskValue value)
bool isSelectionMode() const