.TH "sources/ui/imagecropdialog.h" 3 "Version 0.200.1-dev" "QElectroTech" \" -*- nroff -*-
.ad l
.nh
.SH NAME
sources/ui/imagecropdialog.h
.SH SYNOPSIS
.br
.PP
\fR#include <QDialog>\fP
.br
\fR#include <QImage>\fP
.br
\fR#include <QRect>\fP
.br
\fR#include <QWidget>\fP
.br

.SS "Classes"

.in +1c
.ti -1c
.RI "class \fBCropAreaWidget\fP"
.br
.RI "The \fBCropAreaWidget\fP class Displays the image scaled to fit a reasonable dialog size, with a draggable, resizable crop rectangle overlaid on top -- the area outside it dimmed, the usual visual convention for "this part goesaway" during a crop, so it's never ambiguous which region survives\&. All internal geometry (the crop rect, drag handling, hit-testing) works in display-space pixel coordinates; only \fBcropRect()\fP converts back to the original, full-resolution image's own coordinates for the caller, the same original-vs-display distinction already used for colour sampling in \fBImageTransparentColorDialog\fP\&. "
.ti -1c
.RI "class \fBImageCropDialog\fP"
.br
.RI "The \fBImageCropDialog\fP class Self-contained modal dialog wrapping \fBCropAreaWidget\fP with OK/Cancel -- the same reasoning as \fBImageTransparentColorDialog\fP: this needs neither undo-during-drag nor coexistence with other tools, only a rectangle the user drags out against a pixmap already in hand\&. "
.in -1c
.SH "Author"
.PP 
Generated automatically by Doxygen for QElectroTech from the source code\&.
