Form consisting of label and string edit field. More...
#include <mgui/formextents.h>

Public Types | |
| enum | FLAGS { FLAG_None = 0x00, FLAG_AllowAllGeorefDatumTypes = 0x01, FLAG_NoChangeCoordRefSys = 0x02, FLAG_NoShowCRS = 0x04, FLAG_MinimalWidth = 0x08, FLAG_Precision0 = 0x10 } |
Public Member Functions | |
| FORM_EDIT_EXTENTS () | |
| virtual | ~FORM_EDIT_EXTENTS () |
| void | ClearExtents (bool notify=true) |
| void | Create (MGUI::LAYOUT_PANE_BASE &ParentPane, bool IsRangeEditable=true, FLAGS flags=FLAG_None, MGUI::LAYOUT_SIZEALIGN sizealign=MGUI::LAYOUT_SIZEALIGN_FixedSize) |
| const SPATREF::COORDREFSYS & | GetCoordRefSys () const |
| const DRECT2D & | GetExtents () const |
| bool | HasAllRangeValues () |
| void | SetCoordRefSys (const SPATREF::COORDREFSYS &CoordRefSys, bool notify=true) |
| void | SetCoordRefSysEditable (bool IsCRSEditable) |
| void | SetDelegateOnChangeCoordRefSys (DELEGATE_VOID_NOPARMS delegate) |
| void | SetDelegateOnChangeExtents (DELEGATE_VOID_NOPARMS delegate) |
| void | SetExtents (const DRECT2D &Extents, bool notify=true) |
| void | SetRangeEditable (bool IsRangeEditable) |
| void | SetRangeEnabled (bool IsRangeEnabled) |
Form consisting of label and string edit field.
| MGUI::FORM_EDIT_EXTENTS::FORM_EDIT_EXTENTS | ( | ) |
Constructor.
| virtual MGUI::FORM_EDIT_EXTENTS::~FORM_EDIT_EXTENTS | ( | ) | [virtual] |
Destructor.
| void MGUI::FORM_EDIT_EXTENTS::ClearExtents | ( | bool | notify = true |
) |
Clear range edit controls.
| void MGUI::FORM_EDIT_EXTENTS::Create | ( | MGUI::LAYOUT_PANE_BASE & | ParentPane, | |
| bool | IsRangeEditable = true, |
|||
| FLAGS | flags = FLAG_None, |
|||
| MGUI::LAYOUT_SIZEALIGN | sizealign = MGUI::LAYOUT_SIZEALIGN_FixedSize | |||
| ) |
Create form with label from resource lookup.
| ParentPane | Parent pane |
| const SPATREF::COORDREFSYS& MGUI::FORM_EDIT_EXTENTS::GetCoordRefSys | ( | ) | const [inline] |
Get the projection to use for extents selection.
| const DRECT2D& MGUI::FORM_EDIT_EXTENTS::GetExtents | ( | ) | const [inline] |
Get the extents of the form.
| bool MGUI::FORM_EDIT_EXTENTS::HasAllRangeValues | ( | ) |
Determine if user has entered values for all range fields.
| void MGUI::FORM_EDIT_EXTENTS::SetCoordRefSys | ( | const SPATREF::COORDREFSYS & | CoordRefSys, | |
| bool | notify = true | |||
| ) |
Set the projection to use for extents selection.
If a projection and value coordinates exists, the coordinates will be converted to the new projection
| void MGUI::FORM_EDIT_EXTENTS::SetCoordRefSysEditable | ( | bool | IsCRSEditable | ) |
Set the coordinate reference system button and text as editable.
If not editable, button is disabled but text is still visible
| void MGUI::FORM_EDIT_EXTENTS::SetDelegateOnChangeCoordRefSys | ( | DELEGATE_VOID_NOPARMS | delegate | ) | [inline] |
Set delegate to call when coordinate reference system changed.
| void MGUI::FORM_EDIT_EXTENTS::SetDelegateOnChangeExtents | ( | DELEGATE_VOID_NOPARMS | delegate | ) | [inline] |
Set delegate to call when extents change.
| void MGUI::FORM_EDIT_EXTENTS::SetExtents | ( | const DRECT2D & | Extents, | |
| bool | notify = true | |||
| ) |
Set the extents of the form Do this after the call to SetCoordRefSys() or the call to the method will alter the extents.
| void MGUI::FORM_EDIT_EXTENTS::SetRangeEditable | ( | bool | IsRangeEditable | ) |
Set the extents section to be editable.
| void MGUI::FORM_EDIT_EXTENTS::SetRangeEnabled | ( | bool | IsRangeEnabled | ) |
Set the extents section to be enabled.
1.6.1