QGIS API Documentation  2.99.0-Master (e077efd)
Public Types | Public Slots | Signals | Public Member Functions | Protected Member Functions | List of all members
QgsRasterFormatSaveOptionsWidget Class Reference

A widget to select format-specific raster saving options. More...

#include <qgsrasterformatsaveoptionswidget.h>

Inheritance diagram for QgsRasterFormatSaveOptionsWidget:
Inheritance graph
[legend]

Public Types

enum  Type {
  Default, Full, Table, LineEdit,
  ProfileLineEdit
}
 

Public Slots

void apply ()
 
void helpOptions ()
 
void updateProfiles ()
 
QString validateOptions (bool gui=true, bool reportOk=true)
 

Signals

void optionsChanged ()
 

Public Member Functions

 QgsRasterFormatSaveOptionsWidget (QWidget *parent=nullptr, const QString &format="GTiff", QgsRasterFormatSaveOptionsWidget::Type type=Default, const QString &provider="gdal")
 
 ~QgsRasterFormatSaveOptionsWidget ()
 
QStringList options () const
 
void setFormat (const QString &format)
 
void setProvider (const QString &provider)
 
void setPyramidsFormat (QgsRaster::RasterPyramidsFormat format)
 
void setRasterFileName (const QString &file)
 
void setRasterLayer (QgsRasterLayer *rasterLayer)
 
void setType (QgsRasterFormatSaveOptionsWidget::Type type=Default)
 

Protected Member Functions

virtual void showEvent (QShowEvent *event) override
 

Detailed Description

A widget to select format-specific raster saving options.

Definition at line 29 of file qgsrasterformatsaveoptionswidget.h.

Member Enumeration Documentation

§ Type

Enumerator
Default 
Full 
Table 
LineEdit 
ProfileLineEdit 

Definition at line 36 of file qgsrasterformatsaveoptionswidget.h.

Constructor & Destructor Documentation

§ QgsRasterFormatSaveOptionsWidget()

QgsRasterFormatSaveOptionsWidget::QgsRasterFormatSaveOptionsWidget ( QWidget *  parent = nullptr,
const QString &  format = "GTiff",
QgsRasterFormatSaveOptionsWidget::Type  type = Default,
const QString &  provider = "gdal" 
)

Definition at line 38 of file qgsrasterformatsaveoptionswidget.cpp.

§ ~QgsRasterFormatSaveOptionsWidget()

QgsRasterFormatSaveOptionsWidget::~QgsRasterFormatSaveOptionsWidget ( )

Definition at line 108 of file qgsrasterformatsaveoptionswidget.cpp.

Member Function Documentation

§ apply

void QgsRasterFormatSaveOptionsWidget::apply ( )
slot

Definition at line 252 of file qgsrasterformatsaveoptionswidget.cpp.

§ helpOptions

void QgsRasterFormatSaveOptionsWidget::helpOptions ( )
slot

Definition at line 261 of file qgsrasterformatsaveoptionswidget.cpp.

§ options()

QStringList QgsRasterFormatSaveOptionsWidget::options ( ) const

Definition at line 515 of file qgsrasterformatsaveoptionswidget.cpp.

§ optionsChanged

void QgsRasterFormatSaveOptionsWidget::optionsChanged ( )
signal

§ setFormat()

void QgsRasterFormatSaveOptionsWidget::setFormat ( const QString &  format)

Definition at line 112 of file qgsrasterformatsaveoptionswidget.cpp.

§ setProvider()

void QgsRasterFormatSaveOptionsWidget::setProvider ( const QString &  provider)

Definition at line 119 of file qgsrasterformatsaveoptionswidget.cpp.

§ setPyramidsFormat()

void QgsRasterFormatSaveOptionsWidget::setPyramidsFormat ( QgsRaster::RasterPyramidsFormat  format)
inline

Definition at line 56 of file qgsrasterformatsaveoptionswidget.h.

§ setRasterFileName()

void QgsRasterFormatSaveOptionsWidget::setRasterFileName ( const QString &  file)
inline

Definition at line 53 of file qgsrasterformatsaveoptionswidget.h.

§ setRasterLayer()

void QgsRasterFormatSaveOptionsWidget::setRasterLayer ( QgsRasterLayer rasterLayer)
inline

Definition at line 52 of file qgsrasterformatsaveoptionswidget.h.

§ setType()

void QgsRasterFormatSaveOptionsWidget::setType ( QgsRasterFormatSaveOptionsWidget::Type  type = Default)

Definition at line 126 of file qgsrasterformatsaveoptionswidget.cpp.

§ showEvent()

void QgsRasterFormatSaveOptionsWidget::showEvent ( QShowEvent *  event)
overrideprotectedvirtual

Definition at line 631 of file qgsrasterformatsaveoptionswidget.cpp.

§ updateProfiles

void QgsRasterFormatSaveOptionsWidget::updateProfiles ( )
slot

Definition at line 163 of file qgsrasterformatsaveoptionswidget.cpp.

§ validateOptions

QString QgsRasterFormatSaveOptionsWidget::validateOptions ( bool  gui = true,
bool  reportOk = true 
)
slot

Definition at line 312 of file qgsrasterformatsaveoptionswidget.cpp.


The documentation for this class was generated from the following files: