A dialog for customizing the properties of an exported image file.
More...
#include <qgslayoutimageexportoptionsdialog.h>
A dialog for customizing the properties of an exported image file.
- Note
- This class is not a part of public API
- Since
- QGIS 3.0
Definition at line 36 of file qgslayoutimageexportoptionsdialog.h.
◆ QgsLayoutImageExportOptionsDialog()
QgsLayoutImageExportOptionsDialog::QgsLayoutImageExportOptionsDialog |
( |
QWidget * |
parent = nullptr , |
|
|
Qt::WindowFlags |
flags = Qt::WindowFlags() |
|
) |
| |
◆ antialiasing()
bool QgsLayoutImageExportOptionsDialog::antialiasing |
( |
| ) |
const |
◆ cropToContents()
bool QgsLayoutImageExportOptionsDialog::cropToContents |
( |
| ) |
const |
◆ generateWorldFile()
bool QgsLayoutImageExportOptionsDialog::generateWorldFile |
( |
| ) |
const |
◆ getCropMargins()
void QgsLayoutImageExportOptionsDialog::getCropMargins |
( |
int & |
topMargin, |
|
|
int & |
rightMargin, |
|
|
int & |
bottomMargin, |
|
|
int & |
leftMargin |
|
) |
| const |
Fetches the current crop to contents margin values, in pixels.
- Parameters
-
topMargin | destination for top margin |
rightMargin | destination for right margin |
bottomMargin | destination for bottom margin |
leftMargin | destination for left margin |
Definition at line 119 of file qgslayoutimageexportoptionsdialog.cpp.
◆ imageHeight()
int QgsLayoutImageExportOptionsDialog::imageHeight |
( |
| ) |
const |
◆ imageWidth()
int QgsLayoutImageExportOptionsDialog::imageWidth |
( |
| ) |
const |
◆ resolution()
double QgsLayoutImageExportOptionsDialog::resolution |
( |
| ) |
const |
◆ setAntialiasing()
void QgsLayoutImageExportOptionsDialog::setAntialiasing |
( |
bool |
antialias | ) |
|
◆ setCropMargins()
void QgsLayoutImageExportOptionsDialog::setCropMargins |
( |
int |
topMargin, |
|
|
int |
rightMargin, |
|
|
int |
bottomMargin, |
|
|
int |
leftMargin |
|
) |
| |
Sets the current crop to contents margin values, in pixels.
- Parameters
-
topMargin | top margin |
rightMargin | right margin |
bottomMargin | bottom margin |
leftMargin | left margin |
Definition at line 127 of file qgslayoutimageexportoptionsdialog.cpp.
◆ setCropToContents()
void QgsLayoutImageExportOptionsDialog::setCropToContents |
( |
bool |
crop | ) |
|
◆ setGenerateWorldFile()
void QgsLayoutImageExportOptionsDialog::setGenerateWorldFile |
( |
bool |
generate | ) |
|
◆ setImageSize()
void QgsLayoutImageExportOptionsDialog::setImageSize |
( |
QSizeF |
size | ) |
|
Sets the target image size.
This is used to calculate the default size in pixels and also for determining the image's width to height ratio.
- Parameters
-
Definition at line 68 of file qgslayoutimageexportoptionsdialog.cpp.
◆ setResolution()
void QgsLayoutImageExportOptionsDialog::setResolution |
( |
double |
resolution | ) |
|
The documentation for this class was generated from the following files: