KDEUI
kpixmapregionselectordialog.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef KPIXMAPREGIONSELECTORDIALOG_H
00021 #define KPIXMAPREGIONSELECTORDIALOG_H
00022
00023 #include <kdialog.h>
00024
00025 class KPixmapRegionSelectorWidget;
00026
00027 class QImage;
00028
00042 class KDEUI_EXPORT KPixmapRegionSelectorDialog : public KDialog
00043 {
00044 public:
00050 explicit KPixmapRegionSelectorDialog( QWidget *parent = 0 );
00051
00055 ~KPixmapRegionSelectorDialog();
00056
00061 KPixmapRegionSelectorWidget *pixmapRegionSelectorWidget() const;
00062
00070 static QRect getSelectedRegion( const QPixmap &pixmap, QWidget *parent = 0L );
00071
00080 static QRect getSelectedRegion( const QPixmap &pixmap, int aspectRatioWidth,
00081 int aspectRatioHeight, QWidget *parent = 0L );
00082
00090 static QImage getSelectedImage( const QPixmap &pixmap, QWidget *parent = 0L );
00091
00100 static QImage getSelectedImage( const QPixmap &pixmap, int aspectRatioWidth,
00101 int aspectRatioHeight, QWidget *parent = 0L );
00102
00103 private:
00104 class Private;
00105 Private* const d;
00106
00107 Q_DISABLE_COPY( KPixmapRegionSelectorDialog )
00108 };
00109
00110
00111 #endif