GRE::UI::FORM_VIEW::SETTINGS Class Reference
Constainer for savable settings for GRE::UI::FORM_VIEW.
More...
#include <gre/uiformviewsettings.h>
List of all members.
Detailed Description
Constainer for savable settings for GRE::UI::FORM_VIEW.
Constructor & Destructor Documentation
| GRE::UI::FORM_VIEW::SETTINGS::SETTINGS |
( |
|
) |
|
| GRE::UI::FORM_VIEW::SETTINGS::SETTINGS |
( |
const SETTINGS & |
rhs |
) |
|
| virtual GRE::UI::FORM_VIEW::SETTINGS::~SETTINGS |
( |
|
) |
[virtual] |
Member Function Documentation
| INT32 GRE::UI::FORM_VIEW::SETTINGS::GetCanvasHeight |
( |
|
) |
const [inline] |
Get canvas height.
- Returns:
- Height in pixels.
| INT32 GRE::UI::FORM_VIEW::SETTINGS::GetCanvasWidth |
( |
|
) |
const [inline] |
Get canvas width.
- Returns:
- Width in pixels.
| INT16 GRE::UI::FORM_VIEW::SETTINGS::GetLocatorHeight |
( |
|
) |
const [inline] |
Get locator height.
- Returns:
- Height in pixels.
| INT16 GRE::UI::FORM_VIEW::SETTINGS::GetMagnifierHeight |
( |
|
) |
const [inline] |
Get magnifier height.
- Returns:
- Height in pixels.
| INT16 GRE::UI::FORM_VIEW::SETTINGS::GetMagnifierZoom |
( |
|
) |
const [inline] |
| INT16 GRE::UI::FORM_VIEW::SETTINGS::GetPlacesHeight |
( |
|
) |
const [inline] |
Get places height.
- Returns:
- Height in pixels.
| bool GRE::UI::FORM_VIEW::SETTINGS::GetShowLegend |
( |
|
) |
const [inline] |
Get whether to show legend.
| bool GRE::UI::FORM_VIEW::SETTINGS::GetShowLocator |
( |
|
) |
const [inline] |
Get whether to show locator.
| bool GRE::UI::FORM_VIEW::SETTINGS::GetShowMagnifier |
( |
|
) |
const [inline] |
Get whether to show magnifier.
| bool GRE::UI::FORM_VIEW::SETTINGS::GetShowPlaces |
( |
|
) |
const [inline] |
Get whether to show places.
| bool GRE::UI::FORM_VIEW::SETTINGS::GetShowSidebar |
( |
|
) |
const [inline] |
Get whether to show sidebar.
| bool GRE::UI::FORM_VIEW::SETTINGS::GetShowZoom |
( |
|
) |
const [inline] |
Get whether to show zoom pane.
| INT16 GRE::UI::FORM_VIEW::SETTINGS::GetSidebarWidth |
( |
|
) |
const [inline] |
Get sidebar width.
- Returns:
- Width in pixels.
| const STATUSPOS& GRE::UI::FORM_VIEW::SETTINGS::GetStatusPos |
( |
unsigned |
idx |
) |
const [inline] |
Get status position settings.
- Parameters:
-
| idx | Report index (0 or 1) |
| bool GRE::UI::FORM_VIEW::SETTINGS::GetStatusPosShowAny |
( |
|
) |
const [inline] |
Determine if any position report shown.
| INT16 GRE::UI::FORM_VIEW::SETTINGS::GetZoomHeight |
( |
|
) |
const [inline] |
Get zoom pane height.
- Returns:
- Height in pixels.
| void GRE::UI::FORM_VIEW::SETTINGS::IniRead |
( |
INIHANDLE |
handle, |
|
|
const char * |
inigroup, |
|
|
const char * |
ViewTypeName = 0 | |
|
) |
| | |
Read settings from INI file.
- Parameters:
-
| handle | INI handle, 0 for default |
| inigroup | INI group, 0 for default |
| ViewTypeName | View "type name", 0 for generic |
| void GRE::UI::FORM_VIEW::SETTINGS::IniWrite |
( |
INIHANDLE |
handle = 0, |
|
|
const char * |
inigroup = 0 | |
|
) |
| | const |
Write all settings to INI file.
- Parameters:
-
| handle | INI handle, 0 for default |
| inigroup | INI group, 0 to use one specified in IniRead |
| void GRE::UI::FORM_VIEW::SETTINGS::IniWriteLayout |
( |
INIHANDLE |
handle = 0, |
|
|
const char * |
inigroup = 0 | |
|
) |
| | const |
Write layout (control arrangement) settings to INI file.
- Parameters:
-
| handle | INI handle, 0 for default |
| inigroup | INI group, 0 to use one specified in IniRead |
| static const SERIALIZERITEM* GRE::UI::FORM_VIEW::SETTINGS::SerialGetItemDef |
( |
|
) |
[static] |
Get serialization item definition array.
| void GRE::UI::FORM_VIEW::SETTINGS::SetCanvasDimensions |
( |
INT32 |
width, |
|
|
INT32 |
height | |
|
) |
| | [inline] |
Set canvas dimensions.
- Parameters:
-
| width | Width in pixels |
| height | Height in pixels |
| void GRE::UI::FORM_VIEW::SETTINGS::SetCanvasHeight |
( |
INT32 |
height |
) |
[inline] |
Set canvas height.
- Parameters:
-
| void GRE::UI::FORM_VIEW::SETTINGS::SetCanvasWidth |
( |
INT32 |
width |
) |
[inline] |
Set canvas width.
- Parameters:
-
| void GRE::UI::FORM_VIEW::SETTINGS::SetLocatorHeight |
( |
INT16 |
height |
) |
[inline] |
Set locator height.
- Parameters:
-
| void GRE::UI::FORM_VIEW::SETTINGS::SetMagnifierHeight |
( |
INT16 |
height |
) |
[inline] |
Set magnifier height.
- Parameters:
-
| void GRE::UI::FORM_VIEW::SETTINGS::SetMagnifierZoom |
( |
INT16 |
zoom |
) |
[inline] |
Set magnifier zoom.
- Parameters:
-
| zoom | Zoom (2x, 4x, 8x, 16x) |
| void GRE::UI::FORM_VIEW::SETTINGS::SetPlacesHeight |
( |
INT16 |
height |
) |
[inline] |
Set places height.
- Parameters:
-
| void GRE::UI::FORM_VIEW::SETTINGS::SetShowLegend |
( |
bool |
show |
) |
[inline] |
Set whether to show legend.
| void GRE::UI::FORM_VIEW::SETTINGS::SetShowLocator |
( |
bool |
show |
) |
[inline] |
Set whether to show locator.
| void GRE::UI::FORM_VIEW::SETTINGS::SetShowMagnifier |
( |
bool |
show |
) |
[inline] |
Set whether to show magnifier.
| void GRE::UI::FORM_VIEW::SETTINGS::SetShowPlaces |
( |
bool |
show |
) |
[inline] |
Set whether to show places.
| void GRE::UI::FORM_VIEW::SETTINGS::SetShowSidebar |
( |
bool |
show |
) |
[inline] |
Set whether to show sidebar.
| void GRE::UI::FORM_VIEW::SETTINGS::SetShowZoom |
( |
bool |
show |
) |
[inline] |
Set whether to show zoom pane.
| void GRE::UI::FORM_VIEW::SETTINGS::SetSidebarWidth |
( |
INT16 |
width |
) |
[inline] |
Set sidebar width.
- Parameters:
-
| void GRE::UI::FORM_VIEW::SETTINGS::SetStatusPos |
( |
unsigned |
idx, |
|
|
const STATUSPOS & |
StatusPos | |
|
) |
| | [inline] |
Set all position report values.
- Parameters:
-
| idx | Report index (0 or 1) |
| void GRE::UI::FORM_VIEW::SETTINGS::SetStatusPosCRS |
( |
unsigned |
idx, |
|
|
const SPATREF::COORDREFSYS & |
CoordRefSys | |
|
) |
| | [inline] |
Set position report CRS.
- Parameters:
-
| idx | Report index (0 or 1) |
| void GRE::UI::FORM_VIEW::SETTINGS::SetStatusPosLatLonFormat |
( |
unsigned |
idx, |
|
|
DMSTYPE |
LatLonFormat | |
|
) |
| | [inline] |
Set geographic position report format.
- Parameters:
-
| idx | Report index (0 or 1) |
| void GRE::UI::FORM_VIEW::SETTINGS::SetStatusPosShow |
( |
unsigned |
idx, |
|
|
bool |
Show | |
|
) |
| | [inline] |
Set whether to show position indicator.
- Parameters:
-
| idx | Report index (0 or 1) |
| void GRE::UI::FORM_VIEW::SETTINGS::SetZoomHeight |
( |
INT16 |
height |
) |
[inline] |
Set zoom pane height.
- Parameters:
-
| void GRE::UI::FORM_VIEW::SETTINGS::UpdateFromForm |
( |
UI::FORM_VIEW & |
form |
) |
|
Update values from form.
Typically done just prior to saving.
The documentation for this class was generated from the following file: