Skip to content
Permalink
Browse files

Possibility to hide elements in save as raster dialog

  • Loading branch information
mhugent committed Jul 11, 2012
1 parent eec208c commit f552b248732f53cc73f7bcf661503b2d365e4565
Showing with 16 additions and 0 deletions.
  1. +13 −0 src/gui/qgsrasterlayersaveasdialog.cpp
  2. +3 −0 src/gui/qgsrasterlayersaveasdialog.h
@@ -147,3 +147,16 @@ void QgsRasterLayerSaveAsDialog::setOutputExtent( const QgsRectangle& r )
mYMinLineEdit->setText( QString::number( r.yMinimum() ) );
mYMaxLineEdit->setText( QString::number( r.yMaximum() ) );
}

void QgsRasterLayerSaveAsDialog::hideFormat()
{
mFormatLabel->hide();
mFormatComboBox->hide();
}

void QgsRasterLayerSaveAsDialog::hideOutput()
{
mSaveAsLabel->hide();
mSaveAsLineEdit->hide();
mBrowseButton->hide();
}
@@ -22,6 +22,9 @@ class QgsRasterLayerSaveAsDialog: public QDialog, private Ui::QgsRasterLayerSave
QString outputFormat() const;
QgsRectangle outputRectangle() const;

void hideFormat();
void hideOutput();

private slots:
void on_mBrowseButton_clicked();
void on_mSaveAsLineEdit_textChanged( const QString& text );

0 comments on commit f552b24

Please sign in to comment.
You can’t perform that action at this time.