GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
Public Member Functions | |
def | __init__ |
Dialog for selecting map layers (raster, vector) More... | |
def | LoadMapLayers |
Load list of map layers. More... | |
def | OnChangeParams |
Filter parameters changed by user. More... | |
def | OnMenu |
Table description area, context menu. More... | |
def | OnSelectAll |
Select all map layer from list. More... | |
def | OnSelectInvert |
Invert current selection. More... | |
def | OnDeselectAll |
Select all map layer from list. More... | |
def | OnFilter |
Apply filter for map names. More... | |
def | OnToggle |
Select toggle (check or uncheck all layers) More... | |
def | GetMapLayers |
Return list of checked map layers. More... | |
def | GetLayerType |
Get selected layer type. More... | |
def | GetDSeries |
Used by modeler only. More... | |
Data Fields | |
parent | |
mapType | |
selectAll | |
bodySizer | |
map_layers | |
fullyQualified | |
dseries | |
layerType | |
toggle | |
mapset | |
filter | |
layers | |
popupDataID1 | |
popupDataID2 | |
popupDataID3 | |
Definition at line 1171 of file gui_core/dialogs.py.
def dialogs.MapLayersDialog.__init__ | ( | self, | |
parent, | |||
title, | |||
modeler = False , |
|||
mapType = None , |
|||
selectAll = True , |
|||
fullyQualified = True , |
|||
showFullyQualified = True , |
|||
style = wx.DEFAULT_DIALOG_STYLE | wx.RESIZE_BORDER , |
|||
kwargs | |||
) |
Dialog for selecting map layers (raster, vector)
Valid mapType values:
mapType | type of map (if None: raster, vector, 3d raster, if one only: selects it and disables selection) |
selectAll | all/none maps should be selected by default |
fullyQualified | True if dialog should return full map names by default |
showFullyQualified | True to show 'fullyQualified' checkbox, otherwise hide it |
Definition at line 1174 of file gui_core/dialogs.py.
def dialogs.MapLayersDialog.GetDSeries | ( | self | ) |
Used by modeler only.
Definition at line 1442 of file gui_core/dialogs.py.
References dialogs.MapLayersDialog.dseries, and dialogs.MapLayersDialog.GetLayerType().
def dialogs.MapLayersDialog.GetLayerType | ( | self, | |
cmd = False |
|||
) |
Get selected layer type.
cmd | True for g.mlist |
Definition at line 1424 of file gui_core/dialogs.py.
Referenced by dialogs.MapLayersDialog.GetDSeries(), and dialogs.MapLayersDialog.OnChangeParams().
def dialogs.MapLayersDialog.GetMapLayers | ( | self | ) |
Return list of checked map layers.
Definition at line 1405 of file gui_core/dialogs.py.
References tools.range.
def dialogs.MapLayersDialog.LoadMapLayers | ( | self, | |
type, | |||
mapset | |||
) |
Load list of map layers.
type | layer type ('raster' or 'vector') |
mapset | mapset name |
Definition at line 1318 of file gui_core/dialogs.py.
References dialogs.MapLayersDialog.map_layers, tools.range, and dialogs.MapLayersDialog.selectAll.
Referenced by dialogs.MapLayersDialog.OnChangeParams().
def dialogs.MapLayersDialog.OnChangeParams | ( | self, | |
event | |||
) |
Filter parameters changed by user.
Definition at line 1332 of file gui_core/dialogs.py.
References dialogs.MapLayersDialog.GetLayerType(), and dialogs.MapLayersDialog.LoadMapLayers().
def dialogs.MapLayersDialog.OnDeselectAll | ( | self, | |
event | |||
) |
Select all map layer from list.
Definition at line 1373 of file gui_core/dialogs.py.
References tools.range.
def dialogs.MapLayersDialog.OnFilter | ( | self, | |
event | |||
) |
Apply filter for map names.
Definition at line 1378 of file gui_core/dialogs.py.
References dialogs.MapLayersDialog.map_layers, and dialogs.MapLayersDialog.OnSelectAll().
def dialogs.MapLayersDialog.OnMenu | ( | self, | |
event | |||
) |
Table description area, context menu.
Definition at line 1340 of file gui_core/dialogs.py.
def dialogs.MapLayersDialog.OnSelectAll | ( | self, | |
event | |||
) |
Select all map layer from list.
Definition at line 1360 of file gui_core/dialogs.py.
References tools.range.
Referenced by dialogs.MapLayersDialog.OnFilter().
def dialogs.MapLayersDialog.OnSelectInvert | ( | self, | |
event | |||
) |
Invert current selection.
Definition at line 1365 of file gui_core/dialogs.py.
References tools.range.
def dialogs.MapLayersDialog.OnToggle | ( | self, | |
event | |||
) |
Select toggle (check or uncheck all layers)
Definition at line 1397 of file gui_core/dialogs.py.
References tools.range.
dialogs.MapLayersDialog.bodySizer |
Definition at line 1195 of file gui_core/dialogs.py.
dialogs.MapLayersDialog.dseries |
Definition at line 1206 of file gui_core/dialogs.py.
Referenced by dialogs.MapLayersDialog.GetDSeries().
dialogs.MapLayersDialog.filter |
Definition at line 1289 of file gui_core/dialogs.py.
dialogs.MapLayersDialog.fullyQualified |
Definition at line 1201 of file gui_core/dialogs.py.
Referenced by gselect.TreeCtrlComboPopup.OnKeyUp(), gselect.TreeCtrlComboPopup.OnLeftDown(), and gselect.TreeCtrlComboPopup.SetData().
dialogs.MapLayersDialog.layers |
Definition at line 1300 of file gui_core/dialogs.py.
Referenced by gselect.VectorDBInfo.GetDbSettings(), gselect.VectorDBInfo.GetKeyColumn(), mapwindow.GLWindow.GetLayerId(), mapwindow.GLWindow.GetLayerNames(), gselect.VectorDBInfo.GetTable(), mapwindow.GLWindow.HorizontalPanning(), mapwindow.GLWindow.LoadDataLayers(), mapwindow.GLWindow.NvizCmdCommand(), toolbars.VDigitToolbar.OnSelectMap(), mapwindow.GLWindow.QuerySurface(), mapwindow.GLWindow.ReloadLayersData(), gselect.VectorDBInfo.Reset(), vinfo.VectorDBInfo.SelectFromTable(), mapwindow.GLWindow.UnloadDataLayers(), mapwindow.GLWindow.UnloadVector(), and toolbars.VDigitToolbar.UpdateListOfLayers().
dialogs.MapLayersDialog.layerType |
Definition at line 1249 of file gui_core/dialogs.py.
dialogs.MapLayersDialog.map_layers |
Definition at line 1197 of file gui_core/dialogs.py.
Referenced by dialogs.MapLayersDialog.LoadMapLayers(), and dialogs.MapLayersDialog.OnFilter().
dialogs.MapLayersDialog.mapset |
Definition at line 1279 of file gui_core/dialogs.py.
dialogs.MapLayersDialog.mapType |
Definition at line 1191 of file gui_core/dialogs.py.
Referenced by colorrules.RulesPanel.AddRules(), colorrules.ColorTable.CreateColorTable(), dialogs.MapFramePanel.OnElementType(), colorrules.RulesPanel.OnRuleEnable(), colorrules.ColorTable.ReadColorTable(), and dialogs.MapFramePanel.update().
dialogs.MapLayersDialog.parent |
Definition at line 1190 of file gui_core/dialogs.py.
Referenced by wxdigit.VDigitError.Database(), wxdigit.VDigitError.DbExecute(), wxdigit.VDigitError.DbLink(), wxdigit.VDigitError.DeadLine(), wxdigit.VDigitError.Driver(), wxdigit.VDigitError.FeatureType(), colorrules.RulesPanel.LoadRules(), wxdigit.VDigitError.NoMap(), forms.TaskFrame.OnCancel(), forms.TaskFrame.OnDone(), mapwindow.GLWindow.OnLeftUp(), mapwindow.BufferedWindow.OnLeftUp(), frame.PsMapBufferedWindow.OnLeftUp(), goutput.GMConsole.OnOutputSave(), forms.TaskFrame.OnRun(), toolbars.VDigitToolbar.OnSelectMap(), gselect.GdalSelect.OnSetDsn(), toolbars.LMNvizToolbar.OnSettings(), toolbars.VDigitToolbar.OnSettings(), toolbars.BaseToolbar.OnTool(), forms.CmdPanel.OnUpdateSelection(), toolbars.VDigitToolbar.OnZBulk(), wxdigit.VDigitError.ReadLine(), goutput.CmdThread.run(), forms.UpdateQThread.run(), goutput.GMConsole.RunCmd(), toolbars.VDigitToolbar.StopEditing(), colorrules.VectorColorTable.UpdateColorColumn(), mapwindow.BufferedWindow.UpdateMap(), and wxdigit.VDigitError.WriteLine().
dialogs.MapLayersDialog.popupDataID1 |
Definition at line 1343 of file gui_core/dialogs.py.
dialogs.MapLayersDialog.popupDataID2 |
Definition at line 1344 of file gui_core/dialogs.py.
dialogs.MapLayersDialog.popupDataID3 |
Definition at line 1345 of file gui_core/dialogs.py.
dialogs.MapLayersDialog.selectAll |
Definition at line 1192 of file gui_core/dialogs.py.
Referenced by dialogs.MapLayersDialog.LoadMapLayers().
dialogs.MapLayersDialog.toggle |
Definition at line 1267 of file gui_core/dialogs.py.