22 #ifndef __KPIXMAPREGIONSELECTORDIALOG_H__
23 #define __KPIXMAPREGIONSELECTORDIALOG_H__
25 #include <kdialogbase.h>
26 #include <libtdepim/kpixmapregionselectorwidget.h>
28 #include <tdemacros.h>
66 {
return m_pixmapSelectorWidget; }
75 static TQRect getSelectedRegion(
const TQPixmap &pixmap, TQWidget *parent =
nullptr );
85 static TQRect getSelectedRegion(
const TQPixmap &pixmap,
int aspectRatioWidth,
int aspectRatioHeight, TQWidget *parent =
nullptr );
94 static TQImage getSelectedImage(
const TQPixmap &pixmap, TQWidget *parent =
nullptr );
104 static TQImage getSelectedImage(
const TQPixmap &pixmap,
int aspectRatioWidth,
int aspectRatioHeight, TQWidget *parent =
nullptr );
KPIM::KPixmapRegionSelectorWidget * pixmapRegionSelectorWidget() const
TDEPIM classes for drag and drop of mails.
A dialog that uses a KPixmapRegionSelectorWidget to allow the user to select a region of an image.