11 #ifndef QGSCRSSELECTOR_H
12 #define QGSCRSSELECTOR_H
14 #include <ui_qgsprojectionselectorbase.h>
17 #include <QStringList>
45 void loadUserCrsList( QSet<QString> *crsFilter = 0 );
56 void loadCrsList( QSet<QString> *crsFilter = 0 );
67 const QString sqlSafeString(
const QString theSQL );
70 QString selectedAuthId();
73 void setSelectedCrsName( QString theCRSName );
75 QString selectedName();
77 void setSelectedCrsId(
long theCRSID );
79 void setSelectedAuthId( QString authId );
81 QString selectedProj4String();
84 long selectedPostgresSrId();
101 void setOgcWmsCrsFilter( QSet<QString> crsFilter );
102 void on_lstCoordinateSystems_currentItemChanged( QTreeWidgetItem *current, QTreeWidgetItem *prev );
103 void on_lstRecent_currentItemChanged( QTreeWidgetItem *current, QTreeWidgetItem *prev );
104 void on_cbxHideDeprecated_stateChanged();
105 void on_leSearch_textChanged(
const QString & );
109 void showEvent( QShowEvent * theEvent );
112 void resizeEvent( QResizeEvent * theEvent );
126 QString ogcWmsCrsFilterAsSqlExpression( QSet<QString> * crsFilter );
138 void applySelection(
int column = NONE, QString value = QString::null );
145 QString getSelectedExpression( QString e );
148 void showDBMissingWarning(
const QString theFileName );
165 long getLargestCRSIDMatch( QString theSql );
168 void insertRecent(
long theCrsId );
193 void hideDeprecated( QTreeWidgetItem *item );
197 QStringList authorities();
200 void sridSelected( QString theSRID );
204 void searchBoxHasFocus(
bool );