GPSDATABASE::DLG_IMPORTTXT Class Reference

DLGSHELL for setting parameters to read formatted text log file. More...

#include <mi32/gpsdbase.h>

Inheritance diagram for GPSDATABASE::DLG_IMPORTTXT:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DLG_IMPORTTXT ()
virtual ~DLG_IMPORTTXT ()
bool GetOkPressed () const
GPSDATABASE::LOGPARMS GetParms () const

Private Member Functions

void OnSelectCRS ()
void OnSetFormat ()
virtual ERRVALUE v_CreateContent ()
virtual void v_OnCancel ()
virtual void v_OnOK ()

Private Attributes

SPATREF::COORDREFSYS m_crs
MGUI::FORM_EDIT_NUMBER m_DateField
MGUI::FORM_COMBOBOX m_DateFmt
MGUI::FORM_EDIT_STRING m_DelimitedByEdit
MGUI::FORM_BUTTONTEXT m_FormCRS
MGUI::FORM_EDIT_NUMBER m_HeadingField
MGUI::FORM_RADIOBUTTONS m_IsColumn
MGUI::FORM_COMBOBOX m_LatLonFmt
MGUI::FORM_EDIT_NUMBER m_NumHeaderLines
bool m_OkPressed
GPSDATABASE::LOGPARMS m_parms
MGUI::FORM_EDIT_NUMBER m_SpeedField
MGUI::FORM_EDIT_NUMBER m_TimeField
MGUI::FORM_COMBOBOX m_TimeFmt
MGUI::FORM_EDIT_NUMBER m_XDirField
MGUI::FORM_EDIT_NUMBER m_XField
MGUI::FORM_EDIT_NUMBER m_YDirField
MGUI::FORM_EDIT_NUMBER m_YField
MGUI::FORM_EDIT_NUMBER m_ZField

Detailed Description

DLGSHELL for setting parameters to read formatted text log file.


Constructor & Destructor Documentation

GPSDATABASE::DLG_IMPORTTXT::DLG_IMPORTTXT (  ) 
virtual GPSDATABASE::DLG_IMPORTTXT::~DLG_IMPORTTXT (  )  [virtual]

Member Function Documentation

bool GPSDATABASE::DLG_IMPORTTXT::GetOkPressed (  )  const [inline]
GPSDATABASE::LOGPARMS GPSDATABASE::DLG_IMPORTTXT::GetParms (  )  const [inline]
void GPSDATABASE::DLG_IMPORTTXT::OnSelectCRS (  )  [private]
void GPSDATABASE::DLG_IMPORTTXT::OnSetFormat (  )  [private]
virtual ERRVALUE GPSDATABASE::DLG_IMPORTTXT::v_CreateContent (  )  [private, virtual]

Create dialog shell contents.

Derived class MUST implement this. Function must return 0 for success or an error code. This will be called by the dialog creation code and must not be called directly. This is normally overridden only by the specific dialog implementation and not by the code that actually uses that dialog implementation. Implementation should call GetMainForm() or GetMainPane() to determine the form or pane to create the controls in. Note that you cannot override the dialog title in v_CreateContent, title must be set first. This function should not open another dialog, modal or non-modal.

Implements MGUI::DLGSHELL.

virtual void GPSDATABASE::DLG_IMPORTTXT::v_OnCancel (  )  [private, virtual]

Called when 'Cancel' button is pressed.

Derived class must call base class v_OnCancel() method AFTER performing its own processing to actually close the dialog. In some cases the user may be given an opportunity to verify that they intended to press the Cancel button. If they elect not to cancel then the base class v_OnCancel() method should not be called. This will cause the dialog to remain open and allow the user to retain the settings. Derived classes should generally declare this method as private.

Reimplemented from MGUI::DLGSHELL.

virtual void GPSDATABASE::DLG_IMPORTTXT::v_OnOK (  )  [private, virtual]

Called when 'OK' button is pressed.

Derived class must call base class v_OnOK() method AFTER performing its own processing to actually close the dialog. If the dialog settings do not pass their associated validation test then an appropriate message should be displayed for the user and the base class v_OnOK() method should not be called. This will cause the dialog to remain open and allow the user to correct the settings. In addition, if an 'Apply' button has been created using the appropriate DLGSHELL methods then v_OnApply will be called before closing. Derived classes should generally declare this method as private.

Reimplemented from MGUI::DLGSHELL.


Member Data Documentation


The documentation for this class was generated from the following file:

Generated on Sun Oct 7 21:33:27 2012 for TNTsdk 2012 by  doxygen 1.6.1