QGIS API Documentation  2.8.2-Wien
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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>

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=0, QString format="GTiff", QgsRasterFormatSaveOptionsWidget::Type type=Default, QString provider="gdal")
 ~QgsRasterFormatSaveOptionsWidget ()
QStringList options () const
void setFormat (QString format)
void setProvider (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 30 of file qgsrasterformatsaveoptionswidget.h.

Member Enumeration Documentation

Enumerator:
Default 
Full 
Table 
LineEdit 
ProfileLineEdit 

Definition at line 37 of file qgsrasterformatsaveoptionswidget.h.

Constructor & Destructor Documentation

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

Definition at line 34 of file qgsrasterformatsaveoptionswidget.cpp.

QgsRasterFormatSaveOptionsWidget::~QgsRasterFormatSaveOptionsWidget ( )

Definition at line 100 of file qgsrasterformatsaveoptionswidget.cpp.

Member Function Documentation

void QgsRasterFormatSaveOptionsWidget::apply ( )
slot

Definition at line 231 of file qgsrasterformatsaveoptionswidget.cpp.

void QgsRasterFormatSaveOptionsWidget::helpOptions ( )
slot

Definition at line 240 of file qgsrasterformatsaveoptionswidget.cpp.

QStringList QgsRasterFormatSaveOptionsWidget::options ( ) const

Definition at line 494 of file qgsrasterformatsaveoptionswidget.cpp.

void QgsRasterFormatSaveOptionsWidget::optionsChanged ( )
signal
void QgsRasterFormatSaveOptionsWidget::setFormat ( QString  format)

Definition at line 104 of file qgsrasterformatsaveoptionswidget.cpp.

void QgsRasterFormatSaveOptionsWidget::setProvider ( QString  provider)

Definition at line 111 of file qgsrasterformatsaveoptionswidget.cpp.

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

Definition at line 57 of file qgsrasterformatsaveoptionswidget.h.

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

Definition at line 54 of file qgsrasterformatsaveoptionswidget.h.

void QgsRasterFormatSaveOptionsWidget::setRasterLayer ( QgsRasterLayer rasterLayer)
inline

Definition at line 53 of file qgsrasterformatsaveoptionswidget.h.

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

Definition at line 118 of file qgsrasterformatsaveoptionswidget.cpp.

void QgsRasterFormatSaveOptionsWidget::showEvent ( QShowEvent *  event)
overrideprotectedvirtual

Definition at line 610 of file qgsrasterformatsaveoptionswidget.cpp.

void QgsRasterFormatSaveOptionsWidget::updateProfiles ( )
slot

Definition at line 150 of file qgsrasterformatsaveoptionswidget.cpp.

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

Definition at line 291 of file qgsrasterformatsaveoptionswidget.cpp.


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