11 #ifndef QGSCRSSELECTOR_H 12 #define QGSCRSSELECTOR_H 14 #include <ui_qgsprojectionselectorbase.h> 17 #include <QStringList> 73 void setSelectedCrsName(
const QString& theCRSName );
77 void setSelectedCrsId(
long theCRSID );
79 void setSelectedAuthId(
const QString& authId );
84 long selectedPostgresSrId();
104 void on_cbxHideDeprecated_stateChanged();
105 void on_leSearch_textChanged(
const QString & );
108 void pushProjectionToFront();
141 void applySelection(
int column = NONE,
QString value = QString::null );
151 void showDBMissingWarning(
const QString& theFileName );
168 long getLargestCRSIDMatch(
const QString& theSql );
171 void insertRecent(
long theCrsId );
177 bool mUserProjListDone;
181 bool mRecentProjListDone;
183 enum columns { NAME_COLUMN, AUTHID_COLUMN, QGIS_CRS_ID_COLUMN, NONE };
187 bool mPushProjectionToFront;
203 void on_lstCoordinateSystems_itemDoubleClicked(
QTreeWidgetItem *current,
int column );
204 void on_lstRecent_itemDoubleClicked(
QTreeWidgetItem *current,
int column );
207 void sridSelected(
const QString& theSRID );
211 void searchBoxHasFocus(
bool );
217 void projectionDoubleClicked();
A widget for selecting a Coordinate reference system from a tree.