KWidgetsAddons
kpixmapregionselectordialog.h
77 static QRect getSelectedRegion(const QPixmap &pixmap, int aspectRatioWidth, int aspectRatioHeight, QWidget *parent = nullptr);
96 static QImage getSelectedImage(const QPixmap &pixmap, int aspectRatioWidth, int aspectRatioHeight, QWidget *parent = nullptr);
void adjustRegionSelectorWidgetSizeToFitScreen()
Definition kpixmapregionselectordialog.cpp:82
KPixmapRegionSelectorDialog(QWidget *parent=nullptr)
The constructor of an empty KPixmapRegionSelectorDialog, you have to call later the setPixmap method ...
Definition kpixmapregionselectordialog.cpp:52
static QImage getSelectedImage(const QPixmap &pixmap, QWidget *parent=nullptr)
Creates a modal dialog, lets the user to select a region of the pixmap and returns when the dialog is...
Definition kpixmapregionselectordialog.cpp:124
~KPixmapRegionSelectorDialog() override
The destructor of the dialog.
static QRect getSelectedRegion(const QPixmap &pixmap, QWidget *parent=nullptr)
Creates a modal dialog, lets the user to select a region of the pixmap and returns when the dialog is...
Definition kpixmapregionselectordialog.cpp:87
KPixmapRegionSelectorWidget * pixmapRegionSelectorWidget() const
Definition kpixmapregionselectordialog.cpp:77
KPixmapRegionSelectorWidget is a widget that shows a picture and provides the user with a friendly wa...
Definition kpixmapregionselectorwidget.h:30
QDialog(QWidget *parent, Qt::WindowFlags f)
Q_OBJECTQ_OBJECT
QObject * parent() const const
QWidget(QWidget *parent, Qt::WindowFlags f)
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:56:58 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:56:58 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.