mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-14 00:07:35 -04:00
remove lineEdit method from projection selection widget
this will allow to change the widget design without breaking the API
This commit is contained in:
parent
73a2858147
commit
7c4f3f9640
@ -20,11 +20,6 @@ class QgsProjectionSelectionWidget : QWidget
|
||||
*/
|
||||
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
|
||||
*/
|
||||
|
@ -188,7 +188,7 @@ void QgsVectorLayerSaveAsDialog::accept()
|
||||
|
||||
void QgsVectorLayerSaveAsDialog::on_mCRSSelection_currentIndexChanged( int idx )
|
||||
{
|
||||
mCrsSelector->lineEdit()->setEnabled( idx == 2 );
|
||||
mCrsSelector->setEnabled( idx == 2 );
|
||||
|
||||
QgsCoordinateReferenceSystem crs;
|
||||
if ( mCRSSelection->currentIndex() == 0 )
|
||||
|
@ -42,11 +42,6 @@ class GUI_EXPORT QgsProjectionSelectionWidget : public QWidget
|
||||
*/
|
||||
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
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user