KPIM::KPixmapRegionSelectorDialog Class Reference
A dialog that uses a KPixmapRegionSelectorWidget to allow the user to select a region of an image. More...
#include <kpixmapregionselectordialog.h>
Inherits KDialogBase.
Public Member Functions
- KPixmapRegionSelectorDialog (QWidget *parent=0L, const char *name=0L, bool modal=false)
- ~KPixmapRegionSelectorDialog ()
- KPIM::KPixmapRegionSelectorWidget * pixmapRegionSelectorWidget () const
Static Public Member Functions
- static QRect getSelectedRegion (const QPixmap &pixmap, QWidget *parent=0L)
- static QRect getSelectedRegion (const QPixmap &pixmap, int aspectRatioWidth, int aspectRatioHeight, QWidget *parent=0L)
- static QImage getSelectedImage (const QPixmap &pixmap, QWidget *parent=0L)
- static QImage getSelectedImage (const QPixmap &pixmap, int aspectRatioWidth, int aspectRatioHeight, QWidget *parent=0L)
Protected Attributes
- KPIM::KPixmapRegionSelectorWidget * m_pixmapSelectorWidget
Detailed Description
A dialog that uses a KPixmapRegionSelectorWidget to allow the user to select a region of an image.If you want to use special features like forcing the selected area to have a fixed aspect ratio, you can use
- See also:
- pixmapRegionSelectorWidget() to get the pointer to the pixmapRegionSelectorWidget object and set the desired options there.
- Author:
- Antonio Larrosa <larrosa@kde.org>
- Since:
- 3.4
Constructor & Destructor Documentation
|
The constructor of an empty KPixmapRegionSelectorDialog, you have to call later the setPixmap method of the KPixmapRegionSelectorWidget widget of the new object.
|
|
The destructor of the dialog.
|
Member Function Documentation
|
|
|
Creates a modal dialog, lets the user to select a region of the
|
|
Creates a modal dialog, lets the user to select a region of the
|
|
Creates a modal dialog, lets the user to select a region of the
|
|
Creates a modal dialog, lets the user to select a region of the
|
The documentation for this class was generated from the following files:
- kpixmapregionselectordialog.h
- kpixmapregionselectordialog.cpp