A dialog used to build a SRSManagerDialog element. More...
#include <SRSManagerDialog.h>
Public Member Functions | |
const std::pair< int, std::string > & | getSelectedSRS () const |
Returns the selected SRS in the window. More... | |
SRSManagerDialog (QWidget *parent=0, Qt::WindowFlags f=0) | |
Constructs a basic dialog which is a child of parent, with widget flags set to f. More... | |
~SRSManagerDialog () | |
Destructor. More... | |
Static Public Member Functions | |
static std::pair< int, std::string > | getSRS (QWidget *parent, const QString &title="") |
Pops up a modal SRS selector dialog with the given window title, lets the user select a SRS, and returns that SRS. More... | |
Protected Slots | |
void | onCancelPushButtonClicked () |
void | onHelpPushButtonClicked () |
void | onOkPushButtonClicked () |
void | onSearchLineEditTextChanged (const QString &text) |
void | onSRSRecentTableWidgetItemClicked (QTableWidgetItem *) |
void | onSRSTreeWidgetItemClicked (QTreeWidgetItem *, int) |
Private Member Functions | |
void | filter (const QList< QTreeWidgetItem * > &items) |
Private Attributes | |
QStringList | m_recentSRS |
std::pair< int, std::string > | m_selSrsId |
The selected SRS. More... | |
Ui::SRSManagerDialogForm * | m_ui |
Dialog form. More... | |
A dialog used to build a SRSManagerDialog element.
Definition at line 59 of file SRSManagerDialog.h.
te::qt::widgets::SRSManagerDialog::SRSManagerDialog | ( | QWidget * | parent = 0 , |
Qt::WindowFlags | f = 0 |
||
) |
Constructs a basic dialog which is a child of parent, with widget flags set to f.
parent | Pointer to the dialog parent. |
f | The dialog flags. |
Definition at line 38 of file SRSManagerDialog.cpp.
References te::common::Singleton< SpatialReferenceSystemManager >::getInstance(), m_recentSRS, m_selSrsId, m_ui, onCancelPushButtonClicked(), onOkPushButtonClicked(), onSearchLineEditTextChanged(), onSRSRecentTableWidgetItemClicked(), and onSRSTreeWidgetItemClicked().
te::qt::widgets::SRSManagerDialog::~SRSManagerDialog | ( | ) |
Destructor.
Definition at line 154 of file SRSManagerDialog.cpp.
|
private |
Definition at line 186 of file SRSManagerDialog.cpp.
const std::pair< int, std::string > & te::qt::widgets::SRSManagerDialog::getSelectedSRS | ( | ) | const |
Returns the selected SRS in the window.
Definition at line 159 of file SRSManagerDialog.cpp.
Referenced by te::qt::af::GeneralConfigWidget::onDefaultSRSToolButtonPressed(), te::qt::af::BaseApplication::onLayerSRSTriggered(), te::qt::af::BaseApplication::onMapSRIDTriggered(), te::qt::widgets::DatapPropertiesWidget::onSridPushButtonCLicked(), te::qt::widgets::TiePointLocatorWidget::onSRIDPushButtonClicked(), te::qt::plugins::cellspace::CreateCellularSpaceDialog::onSrsToolButtonClicked(), and te::qt::widgets::DataSetOptionsWizardPage::sridSearchToolButtonPressed().
|
static |
Pops up a modal SRS selector dialog with the given window title, lets the user select a SRS, and returns that SRS.
parent | Dialog parent. |
title | Dialog title. |
Definition at line 165 of file SRSManagerDialog.cpp.
References m_selSrsId, and TE_UNKNOWN_SRS.
|
protectedslot |
Definition at line 248 of file SRSManagerDialog.cpp.
Referenced by SRSManagerDialog().
|
protectedslot |
Definition at line 255 of file SRSManagerDialog.cpp.
|
protectedslot |
Definition at line 229 of file SRSManagerDialog.cpp.
References TE_UNKNOWN_SRS.
Referenced by SRSManagerDialog().
|
protectedslot |
Definition at line 178 of file SRSManagerDialog.cpp.
Referenced by SRSManagerDialog().
|
protectedslot |
Definition at line 217 of file SRSManagerDialog.cpp.
Referenced by SRSManagerDialog().
|
protectedslot |
Definition at line 203 of file SRSManagerDialog.cpp.
References te::common::Singleton< SpatialReferenceSystemManager >::getInstance(), and TE_UNKNOWN_SRS.
Referenced by SRSManagerDialog().
|
private |
Definition at line 110 of file SRSManagerDialog.h.
Referenced by SRSManagerDialog().
|
private |
The selected SRS.
Definition at line 109 of file SRSManagerDialog.h.
Referenced by getSRS(), and SRSManagerDialog().
|
private |