mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-13 00:03:09 -04:00
Port a bunch of CRS selectors across to QgsProjectionSelectionWidget
This commit is contained in:
parent
79338473d7
commit
1a46c40a74
@ -18,13 +18,10 @@ class QgsNewMemoryLayerDialog : QDialog
|
||||
/**Returns the selected geometry type*/
|
||||
QGis::WkbType selectedType() const;
|
||||
|
||||
/**Returns the selected crs id*/
|
||||
QString selectedCrsId() const;
|
||||
/**Returns the selected crs*/
|
||||
QgsCoordinateReferenceSystem crs() const;
|
||||
|
||||
/**Returns the layer name*/
|
||||
QString layerName() const;
|
||||
|
||||
protected slots:
|
||||
|
||||
void on_mChangeSrsButton_clicked();
|
||||
};
|
||||
|
@ -27,7 +27,6 @@ class QgsNewVectorLayerDialog : QDialog
|
||||
void on_mAddAttributeButton_clicked();
|
||||
void on_mRemoveAttributeButton_clicked();
|
||||
void on_mTypeBox_currentIndexChanged( int index );
|
||||
void on_pbnChangeSpatialRefSys_clicked();
|
||||
void on_buttonBox_helpRequested();
|
||||
void nameChanged( QString );
|
||||
void selectionChanged();
|
||||
|
@ -14,6 +14,17 @@ class QgsProjectionSelectionWidget : QWidget
|
||||
|
||||
explicit QgsProjectionSelectionWidget( QWidget *parent /TransferThis/ = 0 );
|
||||
|
||||
/* Returns a pointer to the projection selector dialog used by the widget. Can be used
|
||||
* to modify how the projection selector dialog behaves.
|
||||
* @returns projection selector dialog
|
||||
*/
|
||||
QgsGenericProjectionSelector* dialog();
|
||||
|
||||
/* Returns a pointer to the line edit used by the widget
|
||||
* @returns CRS line edit
|
||||
*/
|
||||
QLineEdit* lineEdit();
|
||||
|
||||
/* Returns the currently selected CRS for the widget
|
||||
* @returns current CRS
|
||||
*/
|
||||
|
@ -81,7 +81,9 @@ void QgsVectorLayerSaveAsDialog::setup()
|
||||
mCRSSelection->addItems( QStringList() << tr( "Layer CRS" ) << tr( "Project CRS" ) << tr( "Selected CRS" ) );
|
||||
|
||||
QgsCoordinateReferenceSystem srs( mCRS, QgsCoordinateReferenceSystem::InternalCrsId );
|
||||
leCRS->setText( srs.description() );
|
||||
mCrsSelector->setCrs( srs );
|
||||
mCrsSelector->dialog()->setMessage( tr( "Select the coordinate reference system for the vector file. "
|
||||
"The data points will be transformed from the layer coordinate reference system." ) );
|
||||
|
||||
mEncodingComboBox->setCurrentIndex( idx );
|
||||
on_mFormatComboBox_currentIndexChanged( mFormatComboBox->currentIndex() );
|
||||
@ -186,7 +188,7 @@ void QgsVectorLayerSaveAsDialog::accept()
|
||||
|
||||
void QgsVectorLayerSaveAsDialog::on_mCRSSelection_currentIndexChanged( int idx )
|
||||
{
|
||||
leCRS->setEnabled( idx == 2 );
|
||||
mCrsSelector->lineEdit()->setEnabled( idx == 2 );
|
||||
|
||||
QgsCoordinateReferenceSystem crs;
|
||||
if ( mCRSSelection->currentIndex() == 0 )
|
||||
@ -302,25 +304,11 @@ void QgsVectorLayerSaveAsDialog::on_browseFilename_clicked()
|
||||
}
|
||||
}
|
||||
|
||||
void QgsVectorLayerSaveAsDialog::on_browseCRS_clicked()
|
||||
void QgsVectorLayerSaveAsDialog::on_mCrsSelector_crsChanged( QgsCoordinateReferenceSystem crs )
|
||||
{
|
||||
QgsGenericProjectionSelector * mySelector = new QgsGenericProjectionSelector();
|
||||
if ( mCRS >= 0 )
|
||||
mySelector->setSelectedCrsId( mCRS );
|
||||
mySelector->setMessage( tr( "Select the coordinate reference system for the vector file. "
|
||||
"The data points will be transformed from the layer coordinate reference system." ) );
|
||||
|
||||
if ( mySelector->exec() )
|
||||
{
|
||||
QgsCoordinateReferenceSystem srs( mySelector->selectedCrsId(), QgsCoordinateReferenceSystem::InternalCrsId );
|
||||
mCRS = srs.srsid();
|
||||
leCRS->setText( srs.description() );
|
||||
mCRSSelection->setCurrentIndex( 2 );
|
||||
|
||||
mExtentGroupBox->setOutputCrs( srs );
|
||||
}
|
||||
|
||||
delete mySelector;
|
||||
mCRS = crs.srsid();
|
||||
mCRSSelection->setCurrentIndex( 2 );
|
||||
mExtentGroupBox->setOutputCrs( crs );
|
||||
}
|
||||
|
||||
QString QgsVectorLayerSaveAsDialog::filename() const
|
||||
|
@ -70,7 +70,7 @@ class QgsVectorLayerSaveAsDialog : public QDialog, private Ui::QgsVectorLayerSav
|
||||
void on_leFilename_textChanged( const QString& text );
|
||||
void on_mCRSSelection_currentIndexChanged( int idx );
|
||||
void on_browseFilename_clicked();
|
||||
void on_browseCRS_clicked();
|
||||
void on_mCrsSelector_crsChanged( QgsCoordinateReferenceSystem crs );
|
||||
void on_buttonBox_helpRequested() { QgsContextHelp::run( metaObject()->className() ); }
|
||||
void on_mSymbologyExportComboBox_currentIndexChanged( const QString& text );
|
||||
void accept();
|
||||
|
@ -198,8 +198,7 @@ QgsRasterLayerProperties::QgsRasterLayerProperties( QgsMapLayer* lyr, QgsMapCanv
|
||||
|
||||
QgsDebugMsg( "Setting crs to " + mRasterLayer->crs().toWkt() );
|
||||
QgsDebugMsg( "Setting crs to " + mRasterLayer->crs().authid() + " - " + mRasterLayer->crs().description() );
|
||||
leSpatialRefSys->setText( mRasterLayer->crs().authid() + " - " + mRasterLayer->crs().description() );
|
||||
leSpatialRefSys->setCursorPosition( 0 );
|
||||
mCrsSelector->setCrs( mRasterLayer->crs() );
|
||||
|
||||
// Set text for pyramid info box
|
||||
QString pyramidFormat( "<h2>%1</h2><p>%2 %3 %4</p><b><font color='red'><p>%5</p><p>%6</p>" );
|
||||
@ -1086,24 +1085,9 @@ void QgsRasterLayerProperties::on_pbnAddValuesManually_clicked()
|
||||
tableTransparency->resizeRowsToContents();
|
||||
}
|
||||
|
||||
void QgsRasterLayerProperties::on_pbnChangeSpatialRefSys_clicked()
|
||||
void QgsRasterLayerProperties::on_mCrsSelector_crsChanged( QgsCoordinateReferenceSystem crs )
|
||||
{
|
||||
|
||||
QgsGenericProjectionSelector * mySelector = new QgsGenericProjectionSelector( this );
|
||||
mySelector->setSelectedCrsId( mRasterLayer->crs().srsid() );
|
||||
if ( mySelector->exec() )
|
||||
{
|
||||
QgsCoordinateReferenceSystem srs( mySelector->selectedCrsId(), QgsCoordinateReferenceSystem::InternalCrsId );
|
||||
mRasterLayer->setCrs( srs );
|
||||
}
|
||||
else
|
||||
{
|
||||
QApplication::restoreOverrideCursor();
|
||||
}
|
||||
delete mySelector;
|
||||
|
||||
leSpatialRefSys->setText( mRasterLayer->crs().authid() + " - " + mRasterLayer->crs().description() );
|
||||
leSpatialRefSys->setCursorPosition( 0 );
|
||||
mRasterLayer->setCrs( crs );
|
||||
}
|
||||
|
||||
void QgsRasterLayerProperties::on_pbnDefaultValues_clicked()
|
||||
|
@ -65,8 +65,8 @@ class APP_EXPORT QgsRasterLayerProperties : public QgsOptionsDialogBase, private
|
||||
void on_pbnAddValuesFromDisplay_clicked();
|
||||
/** \brief slot executed when user presses "Add Values Manually" button on the transparency page */
|
||||
void on_pbnAddValuesManually_clicked();
|
||||
/** Override the CRS specified when the layer was loaded */
|
||||
void on_pbnChangeSpatialRefSys_clicked();
|
||||
/** \brief slot executed when user changes the layer's CRS */
|
||||
void on_mCrsSelector_crsChanged( QgsCoordinateReferenceSystem crs );
|
||||
/** \brief slot executed when user wishes to reset noNoDataValue and transparencyTable to default value */
|
||||
void on_pbnDefaultValues_clicked();
|
||||
/** \brief slot executed when user wishes to export transparency values */
|
||||
|
@ -205,8 +205,7 @@ QgsVectorLayerProperties::QgsVectorLayerProperties(
|
||||
}
|
||||
}
|
||||
|
||||
leSpatialRefSys->setText( layer->crs().authid() + " - " + layer->crs().description() );
|
||||
leSpatialRefSys->setCursorPosition( 0 );
|
||||
mCrsSelector->setCrs( layer->crs() );
|
||||
|
||||
//insert existing join info
|
||||
const QList< QgsVectorJoinInfo >& joins = layer->vectorJoins();
|
||||
@ -652,24 +651,9 @@ void QgsVectorLayerProperties::on_mLayerOrigNameLineEdit_textEdited( const QStri
|
||||
txtDisplayName->setText( layer->capitaliseLayerName( text ) );
|
||||
}
|
||||
|
||||
void QgsVectorLayerProperties::on_pbnChangeSpatialRefSys_clicked()
|
||||
void QgsVectorLayerProperties::on_mCrsSelector_crsChanged( QgsCoordinateReferenceSystem crs )
|
||||
{
|
||||
QgsGenericProjectionSelector * mySelector = new QgsGenericProjectionSelector( this );
|
||||
mySelector->setMessage();
|
||||
mySelector->setSelectedCrsId( layer->crs().srsid() );
|
||||
if ( mySelector->exec() )
|
||||
{
|
||||
QgsCoordinateReferenceSystem srs( mySelector->selectedCrsId(), QgsCoordinateReferenceSystem::InternalCrsId );
|
||||
layer->setCrs( srs );
|
||||
}
|
||||
else
|
||||
{
|
||||
QApplication::restoreOverrideCursor();
|
||||
}
|
||||
delete mySelector;
|
||||
|
||||
leSpatialRefSys->setText( layer->crs().authid() + " - " + layer->crs().description() );
|
||||
leSpatialRefSys->setCursorPosition( 0 );
|
||||
layer->setCrs( crs );
|
||||
}
|
||||
|
||||
void QgsVectorLayerProperties::on_pbnLoadDefaultStyle_clicked()
|
||||
|
@ -103,7 +103,7 @@ class APP_EXPORT QgsVectorLayerProperties : public QgsOptionsDialogBase, private
|
||||
|
||||
void on_pbnQueryBuilder_clicked();
|
||||
void on_pbnIndex_clicked();
|
||||
void on_pbnChangeSpatialRefSys_clicked();
|
||||
void on_mCrsSelector_crsChanged( QgsCoordinateReferenceSystem crs );
|
||||
void on_pbnLoadDefaultStyle_clicked();
|
||||
void on_pbnSaveDefaultStyle_clicked();
|
||||
void on_pbnLoadStyle_clicked();
|
||||
|
@ -19,7 +19,6 @@
|
||||
#include "qgsapplication.h"
|
||||
#include "qgis.h"
|
||||
#include "qgscoordinatereferencesystem.h"
|
||||
#include "qgsgenericprojectionselector.h"
|
||||
#include "qgsproviderregistry.h"
|
||||
#include "qgsvectordataprovider.h"
|
||||
|
||||
@ -38,7 +37,7 @@ QgsVectorLayer *QgsNewMemoryLayerDialog::runAndCreateLayer( QWidget *parent )
|
||||
}
|
||||
|
||||
QGis::WkbType geometrytype = dialog.selectedType();
|
||||
QString crsId = dialog.selectedCrsId();
|
||||
QString crsId = dialog.crs().authid();
|
||||
|
||||
QString geomType;
|
||||
switch ( geometrytype )
|
||||
@ -81,11 +80,10 @@ QgsNewMemoryLayerDialog::QgsNewMemoryLayerDialog( QWidget *parent, Qt::WindowFla
|
||||
|
||||
mPointRadioButton->setChecked( true );
|
||||
|
||||
QgsCoordinateReferenceSystem srs;
|
||||
srs.createFromOgcWmsCrs( settings.value( "/Projections/layerDefaultCrs", GEO_EPSG_CRS_AUTHID ).toString() );
|
||||
srs.validate();
|
||||
mCrsId = srs.authid();
|
||||
mSpatialRefSysEdit->setText( srs.authid() + " - " + srs.description() );
|
||||
QgsCoordinateReferenceSystem defaultCrs;
|
||||
defaultCrs.createFromOgcWmsCrs( settings.value( "/Projections/layerDefaultCrs", GEO_EPSG_CRS_AUTHID ).toString() );
|
||||
defaultCrs.validate();
|
||||
mCrsSelector->setCrs( defaultCrs );
|
||||
|
||||
mNameLineEdit->setText( tr( "New scratch layer" ) );
|
||||
}
|
||||
@ -125,29 +123,12 @@ QGis::WkbType QgsNewMemoryLayerDialog::selectedType() const
|
||||
return QGis::WKBUnknown;
|
||||
}
|
||||
|
||||
QgsCoordinateReferenceSystem QgsNewMemoryLayerDialog::crs() const
|
||||
{
|
||||
return mCrsSelector->crs();
|
||||
}
|
||||
|
||||
QString QgsNewMemoryLayerDialog::layerName() const
|
||||
{
|
||||
return mNameLineEdit->text();
|
||||
}
|
||||
|
||||
QString QgsNewMemoryLayerDialog::selectedCrsId() const
|
||||
{
|
||||
return mCrsId;
|
||||
}
|
||||
|
||||
void QgsNewMemoryLayerDialog::on_mChangeSrsButton_clicked()
|
||||
{
|
||||
QgsGenericProjectionSelector *selector = new QgsGenericProjectionSelector( this );
|
||||
selector->setMessage();
|
||||
selector->setSelectedAuthId( mCrsId );
|
||||
if ( selector->exec() )
|
||||
{
|
||||
mCrsId = selector->selectedAuthId();
|
||||
mSpatialRefSysEdit->setText( mCrsId );
|
||||
}
|
||||
else
|
||||
{
|
||||
QApplication::restoreOverrideCursor();
|
||||
}
|
||||
delete selector;
|
||||
}
|
||||
|
@ -21,6 +21,7 @@
|
||||
#include "qgisgui.h"
|
||||
#include "qgis.h"
|
||||
#include "qgsvectorlayer.h"
|
||||
#include "qgscoordinatereferencesystem.h"
|
||||
|
||||
class GUI_EXPORT QgsNewMemoryLayerDialog: public QDialog, private Ui::QgsNewMemoryLayerDialogBase
|
||||
{
|
||||
@ -40,17 +41,14 @@ class GUI_EXPORT QgsNewMemoryLayerDialog: public QDialog, private Ui::QgsNewMemo
|
||||
/**Returns the selected geometry type*/
|
||||
QGis::WkbType selectedType() const;
|
||||
|
||||
/**Returns the selected crs id*/
|
||||
QString selectedCrsId() const;
|
||||
/**Returns the selected crs*/
|
||||
QgsCoordinateReferenceSystem crs() const;
|
||||
|
||||
/**Returns the layer name*/
|
||||
QString layerName() const;
|
||||
|
||||
protected slots:
|
||||
|
||||
void on_mChangeSrsButton_clicked();
|
||||
|
||||
private:
|
||||
|
||||
QString mCrsId;
|
||||
};
|
||||
|
||||
|
@ -20,7 +20,6 @@
|
||||
#include "qgis.h"
|
||||
#include "qgslogger.h"
|
||||
#include "qgscoordinatereferencesystem.h"
|
||||
#include "qgsgenericprojectionselector.h"
|
||||
#include "qgsproviderregistry.h"
|
||||
#include "qgsvectordataprovider.h"
|
||||
#include "qgsvectorfilewriter.h"
|
||||
@ -85,13 +84,10 @@ QgsNewVectorLayerDialog::QgsNewVectorLayerDialog( QWidget *parent, Qt::WindowFla
|
||||
|
||||
mAttributeView->addTopLevelItem( new QTreeWidgetItem( QStringList() << "id" << "Integer" << "10" << "" ) );
|
||||
|
||||
QgsCoordinateReferenceSystem srs;
|
||||
|
||||
srs.createFromOgcWmsCrs( settings.value( "/Projections/layerDefaultCrs", GEO_EPSG_CRS_AUTHID ).toString() );
|
||||
srs.validate();
|
||||
|
||||
mCrsId = srs.srsid();
|
||||
leSpatialRefSys->setText( srs.authid() + " - " + srs.description() );
|
||||
QgsCoordinateReferenceSystem defaultCrs;
|
||||
defaultCrs.createFromOgcWmsCrs( settings.value( "/Projections/layerDefaultCrs", GEO_EPSG_CRS_AUTHID ).toString() );
|
||||
defaultCrs.validate();
|
||||
mCrsSelector->setCrs( defaultCrs );
|
||||
|
||||
connect( mNameEdit, SIGNAL( textChanged( QString ) ), this, SLOT( nameChanged( QString ) ) );
|
||||
connect( mAttributeView, SIGNAL( itemSelectionChanged() ), this, SLOT( selectionChanged() ) );
|
||||
@ -166,7 +162,7 @@ QGis::WkbType QgsNewVectorLayerDialog::selectedType() const
|
||||
|
||||
int QgsNewVectorLayerDialog::selectedCrsId() const
|
||||
{
|
||||
return mCrsId;
|
||||
return mCrsSelector->crs().srsid();
|
||||
}
|
||||
|
||||
void QgsNewVectorLayerDialog::on_mAddAttributeButton_clicked()
|
||||
@ -193,25 +189,6 @@ void QgsNewVectorLayerDialog::on_mRemoveAttributeButton_clicked()
|
||||
}
|
||||
}
|
||||
|
||||
void QgsNewVectorLayerDialog::on_pbnChangeSpatialRefSys_clicked()
|
||||
{
|
||||
QgsGenericProjectionSelector *mySelector = new QgsGenericProjectionSelector( this );
|
||||
mySelector->setMessage();
|
||||
mySelector->setSelectedCrsId( mCrsId );
|
||||
if ( mySelector->exec() )
|
||||
{
|
||||
QgsCoordinateReferenceSystem srs;
|
||||
srs.createFromOgcWmsCrs( mySelector->selectedAuthId() );
|
||||
mCrsId = srs.srsid();
|
||||
leSpatialRefSys->setText( srs.authid() + " - " + srs.description() );
|
||||
}
|
||||
else
|
||||
{
|
||||
QApplication::restoreOverrideCursor();
|
||||
}
|
||||
delete mySelector;
|
||||
}
|
||||
|
||||
void QgsNewVectorLayerDialog::attributes( QList< QPair<QString, QString> >& at ) const
|
||||
{
|
||||
QTreeWidgetItemIterator it( mAttributeView );
|
||||
|
@ -51,14 +51,12 @@ class GUI_EXPORT QgsNewVectorLayerDialog: public QDialog, private Ui::QgsNewVect
|
||||
void on_mRemoveAttributeButton_clicked();
|
||||
void on_mFileFormatComboBox_currentIndexChanged( int index );
|
||||
void on_mTypeBox_currentIndexChanged( int index );
|
||||
void on_pbnChangeSpatialRefSys_clicked();
|
||||
void on_buttonBox_helpRequested() { QgsContextHelp::run( metaObject()->className() ); }
|
||||
void nameChanged( QString );
|
||||
void selectionChanged();
|
||||
|
||||
private:
|
||||
QPushButton *mOkButton;
|
||||
int mCrsId;
|
||||
};
|
||||
|
||||
#endif //qgsnewvectorlayerdialog_H
|
||||
|
@ -23,6 +23,8 @@
|
||||
QgsProjectionSelectionWidget::QgsProjectionSelectionWidget( QWidget *parent ) :
|
||||
QWidget( parent )
|
||||
{
|
||||
mDialog = new QgsGenericProjectionSelector( this );
|
||||
|
||||
QHBoxLayout* layout = new QHBoxLayout();
|
||||
layout->setContentsMargins( 0, 0, 0, 0 );
|
||||
layout->setSpacing( 0 );
|
||||
@ -34,6 +36,7 @@ QgsProjectionSelectionWidget::QgsProjectionSelectionWidget( QWidget *parent ) :
|
||||
|
||||
mButton = new QToolButton( this );
|
||||
mButton->setIcon( QgsApplication::getThemeIcon( "mActionSetProjection.svg" ) );
|
||||
mButton->setToolTip( tr( "Select CRS" ) );
|
||||
layout->addWidget( mButton );
|
||||
|
||||
setFocusPolicy( Qt::StrongFocus );
|
||||
@ -44,18 +47,16 @@ QgsProjectionSelectionWidget::QgsProjectionSelectionWidget( QWidget *parent ) :
|
||||
|
||||
void QgsProjectionSelectionWidget::selectCrs()
|
||||
{
|
||||
QgsGenericProjectionSelector* mySelector = new QgsGenericProjectionSelector( this );
|
||||
|
||||
//find out crs id of current proj4 string
|
||||
if ( mCrs.isValid() )
|
||||
{
|
||||
mySelector->setSelectedCrsId( mCrs.srsid() );
|
||||
mDialog->setSelectedCrsId( mCrs.srsid() );
|
||||
}
|
||||
|
||||
if ( mySelector->exec() )
|
||||
if ( mDialog->exec() )
|
||||
{
|
||||
QgsCoordinateReferenceSystem crs;
|
||||
crs.createFromOgcWmsCrs( mySelector->selectedAuthId() );
|
||||
crs.createFromOgcWmsCrs( mDialog->selectedAuthId() );
|
||||
setCrs( crs );
|
||||
emit crsChanged( crs );
|
||||
}
|
||||
|
@ -23,6 +23,8 @@
|
||||
|
||||
#include "qgscoordinatereferencesystem.h"
|
||||
|
||||
class QgsGenericProjectionSelector;
|
||||
|
||||
/**
|
||||
* \class QgsProjectionSelectionWidget
|
||||
* \ingroup gui
|
||||
@ -35,6 +37,16 @@ class GUI_EXPORT QgsProjectionSelectionWidget : public QWidget
|
||||
public:
|
||||
explicit QgsProjectionSelectionWidget( QWidget *parent = 0 );
|
||||
|
||||
/* Returns a pointer to the projection selector dialog used by the widget
|
||||
* @returns projection selector dialog
|
||||
*/
|
||||
QgsGenericProjectionSelector* dialog() { return mDialog; }
|
||||
|
||||
/* Returns a pointer to the line edit used by the widget
|
||||
* @returns CRS line edit
|
||||
*/
|
||||
QLineEdit* lineEdit() { return mCrsLineEdit; }
|
||||
|
||||
/* Returns the currently selected CRS for the widget
|
||||
* @returns current CRS
|
||||
*/
|
||||
@ -61,6 +73,7 @@ class GUI_EXPORT QgsProjectionSelectionWidget : public QWidget
|
||||
QgsCoordinateReferenceSystem mCrs;
|
||||
QLineEdit* mCrsLineEdit;
|
||||
QToolButton* mButton;
|
||||
QgsGenericProjectionSelector* mDialog;
|
||||
};
|
||||
|
||||
#endif // QGSPROJECTIONSELECTIONWIDGET_H
|
||||
|
@ -7,7 +7,7 @@
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>444</width>
|
||||
<height>255</height>
|
||||
<height>293</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
@ -89,28 +89,11 @@
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
||||
<item>
|
||||
<widget class="QLineEdit" name="mSpatialRefSysEdit">
|
||||
<property name="readOnly">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="mChangeSrsButton">
|
||||
<property name="toolTip">
|
||||
<string>Specify the coordinate reference system of the layer's geometry.</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>Specify the coordinate reference system of the layer's geometry.</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Specify CRS</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
<widget class="QgsProjectionSelectionWidget" name="mCrsSelector" native="true">
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::StrongFocus</enum>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="label_2">
|
||||
@ -151,6 +134,14 @@
|
||||
</layout>
|
||||
</widget>
|
||||
<layoutdefault spacing="6" margin="11"/>
|
||||
<customwidgets>
|
||||
<customwidget>
|
||||
<class>QgsProjectionSelectionWidget</class>
|
||||
<extends>QWidget</extends>
|
||||
<header location="global">qgsprojectionselectionwidget.h</header>
|
||||
<container>1</container>
|
||||
</customwidget>
|
||||
</customwidgets>
|
||||
<tabstops>
|
||||
<tabstop>mNameLineEdit</tabstop>
|
||||
<tabstop>mPointRadioButton</tabstop>
|
||||
@ -159,8 +150,7 @@
|
||||
<tabstop>mMultiPointRadioButton</tabstop>
|
||||
<tabstop>mMultiLineRadioButton</tabstop>
|
||||
<tabstop>mMultiPolygonRadioButton</tabstop>
|
||||
<tabstop>mSpatialRefSysEdit</tabstop>
|
||||
<tabstop>mChangeSrsButton</tabstop>
|
||||
<tabstop>mCrsSelector</tabstop>
|
||||
<tabstop>mButtonBox</tabstop>
|
||||
</tabstops>
|
||||
<resources/>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>444</width>
|
||||
<height>543</height>
|
||||
<height>578</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
@ -17,13 +17,53 @@
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<layout class="QGridLayout">
|
||||
<item row="9" column="0" colspan="2">
|
||||
<widget class="QLineEdit" name="leSpatialRefSys">
|
||||
<property name="readOnly">
|
||||
<item row="5" column="1" colspan="2">
|
||||
<widget class="QComboBox" name="mFileEncoding">
|
||||
<property name="enabled">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="6" column="0">
|
||||
<widget class="QLabel" name="mFileFormatLabel">
|
||||
<property name="enabled">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>File format</string>
|
||||
</property>
|
||||
<property name="buddy">
|
||||
<cstring>mFileFormatComboBox</cstring>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="6" column="1" colspan="2">
|
||||
<widget class="QComboBox" name="mFileFormatComboBox">
|
||||
<property name="enabled">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="5" column="0">
|
||||
<widget class="QLabel" name="mFileFormatLabel_2">
|
||||
<property name="enabled">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>File encoding</string>
|
||||
</property>
|
||||
<property name="buddy">
|
||||
<cstring>mFileFormatComboBox</cstring>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="9" column="0" colspan="3">
|
||||
<widget class="QgsProjectionSelectionWidget" name="mCrsSelector" native="true">
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::StrongFocus</enum>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="0" colspan="3">
|
||||
<widget class="QGroupBox" name="buttonGroup1">
|
||||
<property name="title">
|
||||
@ -54,90 +94,6 @@
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="12" column="0" colspan="3">
|
||||
<widget class="QGroupBox" name="groupBox_2">
|
||||
<property name="title">
|
||||
<string>Attributes list</string>
|
||||
</property>
|
||||
<layout class="QGridLayout">
|
||||
<item row="2" column="0" colspan="2">
|
||||
<widget class="QTreeWidget" name="mAttributeView">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="alternatingRowColors">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="rootIsDecorated">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="columnCount">
|
||||
<number>4</number>
|
||||
</property>
|
||||
<column>
|
||||
<property name="text">
|
||||
<string>Name</string>
|
||||
</property>
|
||||
</column>
|
||||
<column>
|
||||
<property name="text">
|
||||
<string>Type</string>
|
||||
</property>
|
||||
</column>
|
||||
<column>
|
||||
<property name="text">
|
||||
<string>Width</string>
|
||||
</property>
|
||||
</column>
|
||||
<column>
|
||||
<property name="text">
|
||||
<string>Precision</string>
|
||||
</property>
|
||||
</column>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="0">
|
||||
<spacer>
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
<property name="sizeHint" stdset="0">
|
||||
<size>
|
||||
<width>121</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item row="3" column="1">
|
||||
<widget class="QToolButton" name="mRemoveAttributeButton">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Delete selected attribute</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Remove attribute</string>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset>
|
||||
<normaloff>../../images/themes/default/mActionDeleteAttribute.png</normaloff>../../images/themes/default/mActionDeleteAttribute.png</iconset>
|
||||
</property>
|
||||
<property name="toolButtonStyle">
|
||||
<enum>Qt::ToolButtonTextBesideIcon</enum>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="14" column="0" colspan="3">
|
||||
<widget class="QDialogButtonBox" name="buttonBox">
|
||||
<property name="orientation">
|
||||
@ -148,32 +104,6 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="6" column="0">
|
||||
<widget class="QLabel" name="mFileFormatLabel">
|
||||
<property name="enabled">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>File format</string>
|
||||
</property>
|
||||
<property name="buddy">
|
||||
<cstring>mFileFormatComboBox</cstring>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="5" column="0">
|
||||
<widget class="QLabel" name="mFileFormatLabel_2">
|
||||
<property name="enabled">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>File encoding</string>
|
||||
</property>
|
||||
<property name="buddy">
|
||||
<cstring>mFileFormatComboBox</cstring>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="10" column="0" colspan="3">
|
||||
<widget class="QGroupBox" name="groupBox">
|
||||
<property name="title">
|
||||
@ -261,47 +191,115 @@
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="9" column="2">
|
||||
<widget class="QPushButton" name="pbnChangeSpatialRefSys">
|
||||
<property name="toolTip">
|
||||
<string>Specify the coordinate reference system of the layer's geometry.</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>Specify the coordinate reference system of the layer's geometry.</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Specify CRS</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="5" column="1" colspan="2">
|
||||
<widget class="QComboBox" name="mFileEncoding">
|
||||
<property name="enabled">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="6" column="1" colspan="2">
|
||||
<widget class="QComboBox" name="mFileFormatComboBox">
|
||||
<property name="enabled">
|
||||
<bool>true</bool>
|
||||
<item row="12" column="0" colspan="3">
|
||||
<widget class="QGroupBox" name="groupBox_2">
|
||||
<property name="title">
|
||||
<string>Attributes list</string>
|
||||
</property>
|
||||
<layout class="QGridLayout">
|
||||
<item row="2" column="0" colspan="2">
|
||||
<widget class="QTreeWidget" name="mAttributeView">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="alternatingRowColors">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="rootIsDecorated">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="columnCount">
|
||||
<number>4</number>
|
||||
</property>
|
||||
<column>
|
||||
<property name="text">
|
||||
<string>Name</string>
|
||||
</property>
|
||||
</column>
|
||||
<column>
|
||||
<property name="text">
|
||||
<string>Type</string>
|
||||
</property>
|
||||
</column>
|
||||
<column>
|
||||
<property name="text">
|
||||
<string>Width</string>
|
||||
</property>
|
||||
</column>
|
||||
<column>
|
||||
<property name="text">
|
||||
<string>Precision</string>
|
||||
</property>
|
||||
</column>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="0">
|
||||
<spacer>
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
<property name="sizeHint" stdset="0">
|
||||
<size>
|
||||
<width>121</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item row="3" column="1">
|
||||
<widget class="QToolButton" name="mRemoveAttributeButton">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Delete selected attribute</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Remove attribute</string>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset>
|
||||
<normaloff>../../images/themes/default/mActionDeleteAttribute.png</normaloff>../../images/themes/default/mActionDeleteAttribute.png</iconset>
|
||||
</property>
|
||||
<property name="toolButtonStyle">
|
||||
<enum>Qt::ToolButtonTextBesideIcon</enum>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<layoutdefault spacing="6" margin="11"/>
|
||||
<customwidgets>
|
||||
<customwidget>
|
||||
<class>QgsProjectionSelectionWidget</class>
|
||||
<extends>QWidget</extends>
|
||||
<header location="global">qgsprojectionselectionwidget.h</header>
|
||||
<container>1</container>
|
||||
</customwidget>
|
||||
</customwidgets>
|
||||
<tabstops>
|
||||
<tabstop>mPointRadioButton</tabstop>
|
||||
<tabstop>mLineRadioButton</tabstop>
|
||||
<tabstop>mPolygonRadioButton</tabstop>
|
||||
<tabstop>leSpatialRefSys</tabstop>
|
||||
<tabstop>pbnChangeSpatialRefSys</tabstop>
|
||||
<tabstop>mFileEncoding</tabstop>
|
||||
<tabstop>mFileFormatComboBox</tabstop>
|
||||
<tabstop>mCrsSelector</tabstop>
|
||||
<tabstop>mNameEdit</tabstop>
|
||||
<tabstop>mTypeBox</tabstop>
|
||||
<tabstop>mWidth</tabstop>
|
||||
<tabstop>mPrecision</tabstop>
|
||||
<tabstop>mAddAttributeButton</tabstop>
|
||||
<tabstop>mAttributeView</tabstop>
|
||||
<tabstop>mRemoveAttributeButton</tabstop>
|
||||
<tabstop>buttonBox</tabstop>
|
||||
</tabstops>
|
||||
<resources/>
|
||||
|
@ -182,7 +182,7 @@
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="currentIndex">
|
||||
<number>1</number>
|
||||
<number>0</number>
|
||||
</property>
|
||||
<widget class="QWidget" name="mOptsPage_General">
|
||||
<layout class="QVBoxLayout" name="verticalLayout_6">
|
||||
@ -203,7 +203,7 @@
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>615</width>
|
||||
<height>508</height>
|
||||
<height>509</height>
|
||||
</rect>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_7">
|
||||
@ -218,7 +218,7 @@
|
||||
<property name="title">
|
||||
<string>Layer info</string>
|
||||
</property>
|
||||
<property name="syncGroup">
|
||||
<property name="syncGroup" stdset="0">
|
||||
<string notr="true">rastergeneral</string>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout_4">
|
||||
@ -324,30 +324,14 @@
|
||||
<property name="title">
|
||||
<string>Coordinate reference system</string>
|
||||
</property>
|
||||
<property name="syncGroup">
|
||||
<property name="syncGroup" stdset="0">
|
||||
<string notr="true">rastergeneral</string>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="_6">
|
||||
<property name="margin">
|
||||
<number>11</number>
|
||||
</property>
|
||||
<item row="0" column="1">
|
||||
<widget class="QPushButton" name="pbnChangeSpatialRefSys">
|
||||
<property name="toolTip">
|
||||
<string>Specify the coordinate reference system of the layer's geometry.</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>Specify the coordinate reference system of the layer's geometry.</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Specify...</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="0">
|
||||
<widget class="QLineEdit" name="leSpatialRefSys">
|
||||
<property name="readOnly">
|
||||
<bool>true</bool>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_13">
|
||||
<item>
|
||||
<widget class="QgsProjectionSelectionWidget" name="mCrsSelector" native="true">
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::StrongFocus</enum>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@ -365,18 +349,18 @@
|
||||
<property name="checked">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="syncGroup">
|
||||
<property name="syncGroup" stdset="0">
|
||||
<string notr="true">rastergeneral</string>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="_5">
|
||||
<property name="verticalSpacing">
|
||||
<number>6</number>
|
||||
</property>
|
||||
<property name="margin">
|
||||
<number>11</number>
|
||||
</property>
|
||||
<property name="verticalSpacing">
|
||||
<number>6</number>
|
||||
</property>
|
||||
<item row="0" column="0" colspan="2">
|
||||
<widget class="QgsScaleRangeWidget" name="mScaleRangeWidget">
|
||||
<widget class="QgsScaleRangeWidget" name="mScaleRangeWidget" native="true">
|
||||
<property name="toolTip">
|
||||
<string/>
|
||||
</property>
|
||||
@ -426,7 +410,7 @@
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>615</width>
|
||||
<height>508</height>
|
||||
<height>509</height>
|
||||
</rect>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_10">
|
||||
@ -441,7 +425,7 @@
|
||||
<property name="title">
|
||||
<string>Band rendering</string>
|
||||
</property>
|
||||
<property name="syncGroup">
|
||||
<property name="syncGroup" stdset="0">
|
||||
<string notr="true">rasterstyle</string>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_21">
|
||||
@ -529,13 +513,13 @@
|
||||
<property name="title">
|
||||
<string>Color rendering</string>
|
||||
</property>
|
||||
<property name="collapsed">
|
||||
<property name="collapsed" stdset="0">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="saveCollapsedState">
|
||||
<property name="saveCollapsedState" stdset="0">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="syncGroup">
|
||||
<property name="syncGroup" stdset="0">
|
||||
<string notr="true">rasterstyle</string>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout_2">
|
||||
@ -831,13 +815,13 @@
|
||||
<property name="checkable">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="collapsed">
|
||||
<property name="collapsed" stdset="0">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="saveCollapsedState">
|
||||
<property name="saveCollapsedState" stdset="0">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="syncGroup">
|
||||
<property name="syncGroup" stdset="0">
|
||||
<string notr="true">rasterstyle</string>
|
||||
</property>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||
@ -1047,8 +1031,8 @@
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>400</width>
|
||||
<height>381</height>
|
||||
<width>472</width>
|
||||
<height>395</height>
|
||||
</rect>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_5">
|
||||
@ -1065,7 +1049,7 @@
|
||||
<property name="title">
|
||||
<string>Global transparency</string>
|
||||
</property>
|
||||
<property name="syncGroup">
|
||||
<property name="syncGroup" stdset="0">
|
||||
<string notr="true">rastertransp</string>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="_3">
|
||||
@ -1149,7 +1133,7 @@
|
||||
<property name="title">
|
||||
<string>No data value</string>
|
||||
</property>
|
||||
<property name="syncGroup">
|
||||
<property name="syncGroup" stdset="0">
|
||||
<string notr="true">rastertransp</string>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout_11">
|
||||
@ -1223,7 +1207,7 @@
|
||||
<property name="title">
|
||||
<string>Custom transparency options</string>
|
||||
</property>
|
||||
<property name="syncGroup">
|
||||
<property name="syncGroup" stdset="0">
|
||||
<string notr="true">rastertransp</string>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout_3">
|
||||
@ -1454,8 +1438,8 @@
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>515</width>
|
||||
<height>196</height>
|
||||
<width>600</width>
|
||||
<height>205</height>
|
||||
</rect>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_12">
|
||||
@ -1518,8 +1502,8 @@
|
||||
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
||||
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
||||
p, li { white-space: pre-wrap; }
|
||||
</style></head><body style=" font-family:'Droid Sans'; font-size:9pt; font-weight:400; font-style:normal;">
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Cantarell'; font-size:11pt;"><br /></span></p></body></html></string>
|
||||
</style></head><body style=" font-family:'Ubuntu'; font-size:11pt; font-weight:400; font-style:normal;">
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Cantarell';"><br /></span></p></body></html></string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@ -1615,8 +1599,8 @@ p, li { white-space: pre-wrap; }
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>100</width>
|
||||
<height>30</height>
|
||||
<width>84</width>
|
||||
<height>36</height>
|
||||
</rect>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_16">
|
||||
@ -1665,8 +1649,8 @@ p, li { white-space: pre-wrap; }
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>302</width>
|
||||
<height>593</height>
|
||||
<width>393</width>
|
||||
<height>608</height>
|
||||
</rect>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout_12">
|
||||
@ -1675,7 +1659,7 @@ p, li { white-space: pre-wrap; }
|
||||
<property name="title">
|
||||
<string>Description</string>
|
||||
</property>
|
||||
<property name="syncGroup">
|
||||
<property name="syncGroup" stdset="0">
|
||||
<string notr="true">rastermeta</string>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout_5">
|
||||
@ -1770,7 +1754,7 @@ p, li { white-space: pre-wrap; }
|
||||
<property name="title">
|
||||
<string>Attribution</string>
|
||||
</property>
|
||||
<property name="syncGroup">
|
||||
<property name="syncGroup" stdset="0">
|
||||
<string notr="true">vectormeta</string>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout_7">
|
||||
@ -1802,7 +1786,7 @@ p, li { white-space: pre-wrap; }
|
||||
<property name="title">
|
||||
<string>MetadataUrl</string>
|
||||
</property>
|
||||
<property name="syncGroup">
|
||||
<property name="syncGroup" stdset="0">
|
||||
<string notr="true">vectormeta</string>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout_9">
|
||||
@ -1957,7 +1941,7 @@ p, li { white-space: pre-wrap; }
|
||||
<property name="title">
|
||||
<string>Properties</string>
|
||||
</property>
|
||||
<property name="syncGroup">
|
||||
<property name="syncGroup" stdset="0">
|
||||
<string notr="true">rastermeta</string>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_11">
|
||||
@ -2065,6 +2049,12 @@ p, li { white-space: pre-wrap; }
|
||||
<extends>QToolButton</extends>
|
||||
<header>qgscolorbuttonv2.h</header>
|
||||
</customwidget>
|
||||
<customwidget>
|
||||
<class>QgsProjectionSelectionWidget</class>
|
||||
<extends>QWidget</extends>
|
||||
<header location="global">qgsprojectionselectionwidget.h</header>
|
||||
<container>1</container>
|
||||
</customwidget>
|
||||
<customwidget>
|
||||
<class>QgsScaleRangeWidget</class>
|
||||
<extends>QWidget</extends>
|
||||
@ -2076,6 +2066,71 @@ p, li { white-space: pre-wrap; }
|
||||
<header>qgsblendmodecombobox.h</header>
|
||||
</customwidget>
|
||||
</customwidgets>
|
||||
<tabstops>
|
||||
<tabstop>pbnSaveDefaultStyle</tabstop>
|
||||
<tabstop>pbnLoadStyle</tabstop>
|
||||
<tabstop>pbnLoadDefaultStyle</tabstop>
|
||||
<tabstop>pbnSaveStyleAs</tabstop>
|
||||
<tabstop>buttonBox</tabstop>
|
||||
<tabstop>mOptionsListWidget</tabstop>
|
||||
<tabstop>scrollArea_3</tabstop>
|
||||
<tabstop>leDisplayName</tabstop>
|
||||
<tabstop>mLayerOrigNameLineEd</tabstop>
|
||||
<tabstop>leLayerSource</tabstop>
|
||||
<tabstop>mCrsSelector</tabstop>
|
||||
<tabstop>chkUseScaleDependentRendering</tabstop>
|
||||
<tabstop>mRenderTypeComboBox</tabstop>
|
||||
<tabstop>sliderSaturation</tabstop>
|
||||
<tabstop>mSliderBrightness</tabstop>
|
||||
<tabstop>mBrightnessSpinBox</tabstop>
|
||||
<tabstop>mSliderContrast</tabstop>
|
||||
<tabstop>mContrastSpinBox</tabstop>
|
||||
<tabstop>spinBoxSaturation</tabstop>
|
||||
<tabstop>mColorizeCheck</tabstop>
|
||||
<tabstop>btnColorizeColor</tabstop>
|
||||
<tabstop>sliderColorizeStrength</tabstop>
|
||||
<tabstop>spinColorizeStrength</tabstop>
|
||||
<tabstop>mBlendModeComboBox</tabstop>
|
||||
<tabstop>mResetColorRenderingBtn</tabstop>
|
||||
<tabstop>comboGrayscale</tabstop>
|
||||
<tabstop>mZoomedInResamplingComboBox</tabstop>
|
||||
<tabstop>mZoomedOutResamplingComboBox</tabstop>
|
||||
<tabstop>mMaximumOversamplingSpinBox</tabstop>
|
||||
<tabstop>scrollArea_2</tabstop>
|
||||
<tabstop>sliderTransparency</tabstop>
|
||||
<tabstop>mSrcNoDataValueCheckBox</tabstop>
|
||||
<tabstop>leNoDataValue</tabstop>
|
||||
<tabstop>tableTransparency</tabstop>
|
||||
<tabstop>cboxTransparencyBand</tabstop>
|
||||
<tabstop>pbnAddValuesManually</tabstop>
|
||||
<tabstop>pbnAddValuesFromDisplay</tabstop>
|
||||
<tabstop>pbnRemoveSelectedRow</tabstop>
|
||||
<tabstop>pbnDefaultValues</tabstop>
|
||||
<tabstop>pbnImportTransparentPixelValues</tabstop>
|
||||
<tabstop>pbnExportTransparentPixelValues</tabstop>
|
||||
<tabstop>scrollArea_5</tabstop>
|
||||
<tabstop>lbxPyramidResolutions</tabstop>
|
||||
<tabstop>tePyramidDescription</tabstop>
|
||||
<tabstop>buttonBuildPyramids</tabstop>
|
||||
<tabstop>cboResamplingMethod</tabstop>
|
||||
<tabstop>cbxPyramidsFormat</tabstop>
|
||||
<tabstop>scrollArea_6</tabstop>
|
||||
<tabstop>scrollArea_4</tabstop>
|
||||
<tabstop>mLayerTitleLineEdit</tabstop>
|
||||
<tabstop>mLayerAbstractTextEdit</tabstop>
|
||||
<tabstop>mLayerKeywordListLineEdit</tabstop>
|
||||
<tabstop>mLayerDataUrlLineEdit</tabstop>
|
||||
<tabstop>mLayerDataUrlFormatComboBox</tabstop>
|
||||
<tabstop>mLayerAttributionLineEdit</tabstop>
|
||||
<tabstop>mLayerAttributionUrlLineEdit</tabstop>
|
||||
<tabstop>mLayerMetadataUrlLineEdit</tabstop>
|
||||
<tabstop>mLayerMetadataUrlTypeComboBox</tabstop>
|
||||
<tabstop>mLayerMetadataUrlFormatComboBox</tabstop>
|
||||
<tabstop>mLayerLegendUrlLineEdit</tabstop>
|
||||
<tabstop>mLayerLegendUrlFormatComboBox</tabstop>
|
||||
<tabstop>txtbMetadata</tabstop>
|
||||
<tabstop>scrollArea</tabstop>
|
||||
</tabstops>
|
||||
<resources>
|
||||
<include location="../../images/images.qrc"/>
|
||||
</resources>
|
||||
|
@ -279,7 +279,7 @@
|
||||
<property name="title">
|
||||
<string>Layer info</string>
|
||||
</property>
|
||||
<property name="syncGroup">
|
||||
<property name="syncGroup" stdset="0">
|
||||
<string notr="true">vectorgeneral</string>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout">
|
||||
@ -377,7 +377,7 @@
|
||||
<property name="checkable">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="syncGroup">
|
||||
<property name="syncGroup" stdset="0">
|
||||
<string notr="true">vectorgeneral</string>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_27">
|
||||
@ -385,34 +385,11 @@
|
||||
<number>6</number>
|
||||
</property>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
||||
<item>
|
||||
<widget class="QLineEdit" name="leSpatialRefSys">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>100</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="readOnly">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="pbnChangeSpatialRefSys">
|
||||
<property name="toolTip">
|
||||
<string>Specify the coordinate reference system of the layer's geometry.</string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string>Specify the coordinate reference system of the layer's geometry.</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Specify...</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
<widget class="QgsProjectionSelectionWidget" name="mCrsSelector" native="true">
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::StrongFocus</enum>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_5">
|
||||
@ -465,7 +442,7 @@
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout_6">
|
||||
<item row="0" column="0">
|
||||
<widget class="QgsScaleRangeWidget" name="mScaleRangeWidget">
|
||||
<widget class="QgsScaleRangeWidget" name="mScaleRangeWidget" native="true">
|
||||
<property name="toolTip">
|
||||
<string>A widget to define the scale visibility</string>
|
||||
</property>
|
||||
@ -747,8 +724,8 @@
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>702</width>
|
||||
<height>171</height>
|
||||
<width>684</width>
|
||||
<height>165</height>
|
||||
</rect>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_32">
|
||||
@ -841,7 +818,7 @@
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="2">
|
||||
<widget class="QgsScaleComboBox" name="mSimplifyMaximumScaleComboBox">
|
||||
<widget class="QgsScaleComboBox" name="mSimplifyMaximumScaleComboBox" native="true">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
||||
<horstretch>0</horstretch>
|
||||
@ -1099,7 +1076,7 @@
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>90</width>
|
||||
<width>98</width>
|
||||
<height>113</height>
|
||||
</rect>
|
||||
</property>
|
||||
@ -1249,7 +1226,7 @@
|
||||
<property name="title">
|
||||
<string>Description</string>
|
||||
</property>
|
||||
<property name="syncGroup">
|
||||
<property name="syncGroup" stdset="0">
|
||||
<string notr="true">vectormeta</string>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout_5">
|
||||
@ -1344,7 +1321,7 @@
|
||||
<property name="title">
|
||||
<string>Attribution</string>
|
||||
</property>
|
||||
<property name="syncGroup">
|
||||
<property name="syncGroup" stdset="0">
|
||||
<string notr="true">vectormeta</string>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout_7">
|
||||
@ -1376,7 +1353,7 @@
|
||||
<property name="title">
|
||||
<string>MetadataUrl</string>
|
||||
</property>
|
||||
<property name="syncGroup">
|
||||
<property name="syncGroup" stdset="0">
|
||||
<string notr="true">vectormeta</string>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout_9">
|
||||
@ -1531,7 +1508,7 @@
|
||||
<property name="title">
|
||||
<string>Properties</string>
|
||||
</property>
|
||||
<property name="syncGroup">
|
||||
<property name="syncGroup" stdset="0">
|
||||
<string notr="true">vectormeta</string>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_9">
|
||||
@ -1645,16 +1622,22 @@
|
||||
<header>qgscollapsiblegroupbox.h</header>
|
||||
<container>1</container>
|
||||
</customwidget>
|
||||
<customwidget>
|
||||
<class>QgsScaleComboBox</class>
|
||||
<extends>QWidget</extends>
|
||||
<header>qgsscalecombobox.h</header>
|
||||
</customwidget>
|
||||
<customwidget>
|
||||
<class>QgsProjectionSelectionWidget</class>
|
||||
<extends>QWidget</extends>
|
||||
<header location="global">qgsprojectionselectionwidget.h</header>
|
||||
<container>1</container>
|
||||
</customwidget>
|
||||
<customwidget>
|
||||
<class>QgsScaleRangeWidget</class>
|
||||
<extends>QWidget</extends>
|
||||
<header>qgsscalerangewidget.h</header>
|
||||
</customwidget>
|
||||
<customwidget>
|
||||
<class>QgsScaleComboBox</class>
|
||||
<extends>QComboBox</extends>
|
||||
<header>qgsscalecombobox.h</header>
|
||||
</customwidget>
|
||||
</customwidgets>
|
||||
<resources>
|
||||
<include location="../../images/images.qrc"/>
|
||||
|
@ -40,32 +40,6 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="0">
|
||||
<widget class="QLabel" name="label">
|
||||
<property name="text">
|
||||
<string>Save as</string>
|
||||
</property>
|
||||
<property name="buddy">
|
||||
<cstring>leFilename</cstring>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="0">
|
||||
<widget class="QLabel" name="label_3">
|
||||
<property name="text">
|
||||
<string>CRS</string>
|
||||
</property>
|
||||
<property name="buddy">
|
||||
<cstring>leCRS</cstring>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="1" colspan="2">
|
||||
<widget class="QComboBox" name="mCRSSelection"/>
|
||||
</item>
|
||||
<item row="0" column="1" colspan="2">
|
||||
<widget class="QComboBox" name="mFormatComboBox"/>
|
||||
</item>
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="label_2">
|
||||
<property name="text">
|
||||
@ -76,20 +50,33 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="4" column="2">
|
||||
<widget class="QPushButton" name="browseCRS">
|
||||
<item row="3" column="0">
|
||||
<widget class="QLabel" name="label_3">
|
||||
<property name="text">
|
||||
<string>Change...</string>
|
||||
<string>CRS</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="4" column="1">
|
||||
<widget class="QLineEdit" name="leCRS">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
<item row="0" column="1" colspan="2">
|
||||
<widget class="QComboBox" name="mFormatComboBox"/>
|
||||
</item>
|
||||
<item row="3" column="1" colspan="2">
|
||||
<widget class="QComboBox" name="mCRSSelection"/>
|
||||
</item>
|
||||
<item row="4" column="1" colspan="2">
|
||||
<widget class="QgsProjectionSelectionWidget" name="mCrsSelector" native="true">
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::StrongFocus</enum>
|
||||
</property>
|
||||
<property name="readOnly">
|
||||
<bool>true</bool>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="0">
|
||||
<widget class="QLabel" name="label">
|
||||
<property name="text">
|
||||
<string>Save as</string>
|
||||
</property>
|
||||
<property name="buddy">
|
||||
<cstring>leFilename</cstring>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@ -106,8 +93,8 @@
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>562</width>
|
||||
<height>508</height>
|
||||
<width>555</width>
|
||||
<height>523</height>
|
||||
</rect>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
@ -153,7 +140,7 @@
|
||||
<property name="checked">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
||||
@ -341,6 +328,12 @@
|
||||
<header>qgscollapsiblegroupbox.h</header>
|
||||
<container>1</container>
|
||||
</customwidget>
|
||||
<customwidget>
|
||||
<class>QgsProjectionSelectionWidget</class>
|
||||
<extends>QWidget</extends>
|
||||
<header location="global">qgsprojectionselectionwidget.h</header>
|
||||
<container>1</container>
|
||||
</customwidget>
|
||||
<customwidget>
|
||||
<class>QgsExtentGroupBox</class>
|
||||
<extends>QGroupBox</extends>
|
||||
@ -348,6 +341,23 @@
|
||||
<container>1</container>
|
||||
</customwidget>
|
||||
</customwidgets>
|
||||
<tabstops>
|
||||
<tabstop>mFormatComboBox</tabstop>
|
||||
<tabstop>leFilename</tabstop>
|
||||
<tabstop>browseFilename</tabstop>
|
||||
<tabstop>mCRSSelection</tabstop>
|
||||
<tabstop>mCrsSelector</tabstop>
|
||||
<tabstop>scrollArea</tabstop>
|
||||
<tabstop>mEncodingComboBox</tabstop>
|
||||
<tabstop>mSelectedOnly</tabstop>
|
||||
<tabstop>mSkipAttributeCreation</tabstop>
|
||||
<tabstop>mAddToCanvas</tabstop>
|
||||
<tabstop>mSymbologyExportComboBox</tabstop>
|
||||
<tabstop>mScaleSpinBox</tabstop>
|
||||
<tabstop>mOgrDatasourceOptions</tabstop>
|
||||
<tabstop>buttonBox</tabstop>
|
||||
<tabstop>mOgrLayerOptions</tabstop>
|
||||
</tabstops>
|
||||
<resources/>
|
||||
<connections>
|
||||
<connection>
|
||||
|
Loading…
x
Reference in New Issue
Block a user