A dialog used to build a SRSManagerDialog element.
More...
#include <SRSManagerDialog.h>
|
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...
|
|
|
void | filter (const QList< QTreeWidgetItem * > &items) |
|
A dialog used to build a SRSManagerDialog element.
Definition at line 60 of file SRSManagerDialog.h.
◆ SRSManagerDialog()
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.
- Parameters
-
parent | Pointer to the dialog parent. |
f | The dialog flags. |
◆ ~SRSManagerDialog()
te::qt::widgets::SRSManagerDialog::~SRSManagerDialog |
( |
| ) |
|
◆ filter()
void te::qt::widgets::SRSManagerDialog::filter |
( |
const QList< QTreeWidgetItem * > & |
items | ) |
|
|
private |
◆ getSelectedSRS()
const std::pair< int, std::string > & te::qt::widgets::SRSManagerDialog::getSelectedSRS |
( |
| ) |
const |
Returns the selected SRS in the window.
- Returns
- a const pair <srid,auth_name> reference, with an SRS identification given by an authority. If the user doesn't select a SRS the pair will have a TE_UNKNOW_SRS and an empty auth_name.
◆ getSRS()
static std::pair< int, std::string > te::qt::widgets::SRSManagerDialog::getSRS |
( |
QWidget * |
parent, |
|
|
const QString & |
title = "" |
|
) |
| |
|
static |
Pops up a modal SRS selector dialog with the given window title, lets the user select a SRS, and returns that SRS.
- Parameters
-
parent | Dialog parent. |
title | Dialog title. |
- Returns
- a pair <srid,auth_name>, with an SRS identification given by an authority. If the user doesn't select a SRS the pair will have a TE_UNKNOW_SRS and an empty auth_name.
◆ onAddSRSPushButtonClicked
void te::qt::widgets::SRSManagerDialog::onAddSRSPushButtonClicked |
( |
| ) |
|
|
protectedslot |
◆ onCancelPushButtonClicked
void te::qt::widgets::SRSManagerDialog::onCancelPushButtonClicked |
( |
| ) |
|
|
protectedslot |
◆ onEditSRSPushButtonClicked
void te::qt::widgets::SRSManagerDialog::onEditSRSPushButtonClicked |
( |
| ) |
|
|
protectedslot |
◆ onHelpPushButtonClicked
void te::qt::widgets::SRSManagerDialog::onHelpPushButtonClicked |
( |
| ) |
|
|
protectedslot |
◆ onOkPushButtonClicked
void te::qt::widgets::SRSManagerDialog::onOkPushButtonClicked |
( |
| ) |
|
|
protectedslot |
◆ onRemoveSRSPushButtonClicked
void te::qt::widgets::SRSManagerDialog::onRemoveSRSPushButtonClicked |
( |
| ) |
|
|
protectedslot |
◆ onSearchLineEditTextChanged
void te::qt::widgets::SRSManagerDialog::onSearchLineEditTextChanged |
( |
const QString & |
text | ) |
|
|
protectedslot |
◆ onSRSRecentTableWidgetItemClicked
void te::qt::widgets::SRSManagerDialog::onSRSRecentTableWidgetItemClicked |
( |
QTableWidgetItem * |
| ) |
|
|
protectedslot |
◆ onSRSTreeWidgetItemClicked
void te::qt::widgets::SRSManagerDialog::onSRSTreeWidgetItemClicked |
( |
QTreeWidgetItem * |
, |
|
|
int |
|
|
) |
| |
|
protectedslot |
◆ saveRecentSRSs()
void te::qt::widgets::SRSManagerDialog::saveRecentSRSs |
( |
| ) |
|
|
protected |
◆ m_recentSRSList
std::list< std::pair< int, std::string > > te::qt::widgets::SRSManagerDialog::m_recentSRSList |
|
private |
◆ m_selSrsId
std::pair<int, std::string> te::qt::widgets::SRSManagerDialog::m_selSrsId |
|
private |
◆ m_ui
Ui::SRSManagerDialogForm* te::qt::widgets::SRSManagerDialog::m_ui |
|
private |
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_release/src/terralib/qt/widgets/srs/SRSManagerDialog.h