#include <TdkProjectionDlgController.h>
Inheritance diagram for TdkProjectionDlgController:

Behavioral Methods | |
| Methods related connect database dialog behavior. | |
| void | setInitialState () |
| Sets the initial state of the dialog. | |
| void | update (TdkSubject *changedObject) |
| This method is called when the user interacts with the dialog. | |
| string | dlgName () |
| Retrieves dialog's definiton name. | |
| TeProjection * | getCreatedProjection () |
| Retrieves the created projection. | |
| void | projectionActivated () |
| Action called on projection list current item changed. | |
| void | clearParametersGroup () |
| Cleans the projection parameters. | |
| void | originLatLongLostFocus () |
| Action called on origin latitude lost focus. | |
| bool | longValidator (const string &str, double &val) |
| Validates a longitude given by the user. | |
| bool | latValidator (const string &str, double &val) |
| Validates a latitude given by the user. | |
| void | loadProjection (TeProjection *projection) |
| Loads projection. | |
| void | okClicked () |
| Action called on ok button clicked. | |
| void | zoneActivated () |
| Action called on zone list current item changed. | |
| void | hemiphereActivated () |
| Action called on hemisphere button checked changed. | |
Public Member Functions | |
Constructor and Destructor Methods | |
Methods related to instantiation and destruction. | |
| TdkProjectionDlgController (TdkProjectionDlg *dlg) | |
| Constructor. | |
| virtual | ~TdkProjectionDlgController () |
| Virtual destructor. | |
Private Attributes | |
| TeProjection * | _createdProjection |
| Created projection. | |
| double | _UtmOffsetX |
| UTM parameter. | |
| double | _UtmOffsetY |
| UTM parameter. | |
TODO: 1) 2) 3)
| TdkProjectionDlgController::TdkProjectionDlgController | ( | TdkProjectionDlg * | dlg | ) |
Constructor.
| dlg | Pointer to projection dialog. |
| TdkProjectionDlgController::~TdkProjectionDlgController | ( | ) | [virtual] |
Virtual destructor.
| void TdkProjectionDlgController::setInitialState | ( | ) | [virtual] |
| void TdkProjectionDlgController::update | ( | TdkSubject * | changedObject | ) | [virtual] |
This method is called when the user interacts with the dialog.
| changedObject | Object that signals a change. |
Implements TdkObserver.
| std::string TdkProjectionDlgController::dlgName | ( | ) | [virtual] |
Retrieves dialog's definiton name.
Implements TdkDlgController.
| TeProjection * TdkProjectionDlgController::getCreatedProjection | ( | ) |
Retrieves the created projection.
| void TdkProjectionDlgController::projectionActivated | ( | ) | [protected] |
Action called on projection list current item changed.
| void TdkProjectionDlgController::clearParametersGroup | ( | ) | [protected] |
Cleans the projection parameters.
| void TdkProjectionDlgController::originLatLongLostFocus | ( | ) | [protected] |
Action called on origin latitude lost focus.
| bool TdkProjectionDlgController::longValidator | ( | const string & | str, | |
| double & | val | |||
| ) | [protected] |
Validates a longitude given by the user.
| str | Longitude. (Input) | |
| val | Return value. (Output) |
| bool TdkProjectionDlgController::latValidator | ( | const string & | str, | |
| double & | val | |||
| ) | [protected] |
Validates a latitude given by the user.
| str | Latitude. (Input) | |
| val | Return value. (Output) |
| void TdkProjectionDlgController::loadProjection | ( | TeProjection * | projection | ) | [protected] |
Loads projection.
| projection | Pointer to projection to be loaded. |
| void TdkProjectionDlgController::okClicked | ( | ) | [protected] |
Action called on ok button clicked.
| void TdkProjectionDlgController::zoneActivated | ( | ) | [protected] |
Action called on zone list current item changed.
| void TdkProjectionDlgController::hemiphereActivated | ( | ) | [protected] |
Action called on hemisphere button checked changed.
TeProjection* TdkProjectionDlgController::_createdProjection [private] |
Created projection.
double TdkProjectionDlgController::_UtmOffsetX [private] |
UTM parameter.
double TdkProjectionDlgController::_UtmOffsetY [private] |
UTM parameter.
1.5.2