Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Possibility to hide elements in save as raster dialog
- Loading branch information
|
@@ -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 ); |
|
|