GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
Toolbar for digitization. More...
Public Member Functions | |
def | __init__ |
def | OnTool |
Tool selected -> disable selected tool in map toolbar. More... | |
def | OnAddPoint |
Add point to the vector map Laier. More... | |
def | OnAddLine |
Add line to the vector map layer. More... | |
def | OnAddBoundary |
Add boundary to the vector map layer. More... | |
def | OnAddCentroid |
Add centroid to the vector map layer. More... | |
def | OnAddArea |
Add area to the vector map layer. More... | |
def | OnExit |
Quit digitization tool. More... | |
def | OnMoveVertex |
Move line vertex. More... | |
def | OnAddVertex |
Add line vertex. More... | |
def | OnRemoveVertex |
Remove line vertex. More... | |
def | OnEditLine |
Edit line. More... | |
def | OnMoveLine |
Move line. More... | |
def | OnDeleteLine |
Delete line. More... | |
def | OnDisplayCats |
Display/update categories. More... | |
def | OnDisplayAttr |
Display/update attributes. More... | |
def | OnUndo |
Undo previous changes. More... | |
def | EnableUndo |
Enable 'Undo' in toolbar. More... | |
def | OnSettings |
Show settings dialog. More... | |
def | OnHelp |
Show digitizer help page in web browser. More... | |
def | OnAdditionalToolMenu |
Menu for additional tools. More... | |
def | OnCopy |
Copy selected features from (background) vector map. More... | |
def | OnSplitLine |
Split line. More... | |
def | OnCopyCats |
Copy categories. More... | |
def | OnCopyAttrb |
Copy attributes. More... | |
def | OnFlip |
Flip selected lines/boundaries. More... | |
def | OnMerge |
Merge selected lines/boundaries. More... | |
def | OnBreak |
Break selected lines/boundaries. More... | |
def | OnSnap |
Snap selected features. More... | |
def | OnConnect |
Connect selected lines/boundaries. More... | |
def | OnQuery |
Query selected lines/boundaries. More... | |
def | OnZBulk |
Z bulk-labeling selected lines/boundaries. More... | |
def | OnTypeConversion |
Feature type conversion. More... | |
def | OnSelectMap |
Select vector map layer for editing. More... | |
def | StartEditing |
Start editing selected vector map layer. More... | |
def | StopEditing |
Stop editing of selected vector map layer. More... | |
def | UpdateListOfLayers |
Update list of available vector map layers. More... | |
def | GetLayer |
Get selected layer for editing – MapLayer instance. More... | |
Public Member Functions inherited from toolbars.BaseToolbar | |
def | __init__ |
def | InitToolbar |
Initialize toolbar, add tools to the toolbar. More... | |
def | CreateTool |
Add tool to the toolbar. More... | |
def | EnableLongHelp |
Enable/disable long help. More... | |
def | OnTool |
Tool selected. More... | |
def | GetAction |
Get current action info. More... | |
def | SelectDefault |
Select default tool. More... | |
def | FixSize |
Fix toolbar width on Windows. More... | |
def | Enable |
Enable defined tool. More... | |
Data Fields | |
mapcontent | |
layerTree | |
log | |
digit | |
mapLayer | |
layers | |
comboid | |
settingsDialog | |
action | |
combo | |
Data Fields inherited from toolbars.BaseToolbar | |
parent | |
action | |
Toolbar for digitization.
Definition at line 29 of file vdigit/toolbars.py.
def toolbars.VDigitToolbar.__init__ | ( | self, | |
parent, | |||
mapcontent, | |||
layerTree = None , |
|||
log = None |
|||
) |
Definition at line 32 of file vdigit/toolbars.py.
def toolbars.VDigitToolbar.EnableUndo | ( | self, | |
enable = True |
|||
) |
Enable 'Undo' in toolbar.
enable | False for disable |
Definition at line 353 of file vdigit/toolbars.py.
def toolbars.VDigitToolbar.GetLayer | ( | self | ) |
Get selected layer for editing – MapLayer instance.
Definition at line 819 of file vdigit/toolbars.py.
References toolbars.VDigitToolbar.mapLayer.
def toolbars.VDigitToolbar.OnAddArea | ( | self, | |
event | |||
) |
Add area to the vector map layer.
Definition at line 265 of file vdigit/toolbars.py.
References dialogs.DisplayAttributesDialog.action, toolbars.BaseToolbar.action, and toolbars.GCPDisplayToolbar.action.
def toolbars.VDigitToolbar.OnAddBoundary | ( | self, | |
event | |||
) |
Add boundary to the vector map layer.
Definition at line 246 of file vdigit/toolbars.py.
References dialogs.DisplayAttributesDialog.action, toolbars.BaseToolbar.action, and toolbars.GCPDisplayToolbar.action.
def toolbars.VDigitToolbar.OnAddCentroid | ( | self, | |
event | |||
) |
Add centroid to the vector map layer.
Definition at line 257 of file vdigit/toolbars.py.
References dialogs.DisplayAttributesDialog.action, toolbars.BaseToolbar.action, and toolbars.GCPDisplayToolbar.action.
def toolbars.VDigitToolbar.OnAdditionalToolMenu | ( | self, | |
event | |||
) |
Menu for additional tools.
Definition at line 387 of file vdigit/toolbars.py.
References dialogs.DisplayAttributesDialog.action, toolbars.BaseToolbar.action, toolbars.GCPDisplayToolbar.action, toolbars.VDigitToolbar.OnBreak(), ogc_services.WMSDialog.OnConnect(), toolbars.VDigitToolbar.OnConnect(), toolbars.VDigitToolbar.OnCopy(), vclean.VectorCleaningFrame.OnCopy(), forms.TaskFrame.OnCopy(), toolbars.VDigitToolbar.OnCopyAttrb(), toolbars.VDigitToolbar.OnCopyCats(), toolbars.VDigitToolbar.OnFlip(), toolbars.VDigitToolbar.OnMerge(), toolbars.VDigitToolbar.OnQuery(), frame.MapFrame.OnQuery(), toolbars.VDigitToolbar.OnSnap(), toolbars.VDigitToolbar.OnSplitLine(), toolbars.VDigitToolbar.OnTypeConversion(), and toolbars.VDigitToolbar.OnZBulk().
def toolbars.VDigitToolbar.OnAddLine | ( | self, | |
event | |||
) |
Add line to the vector map layer.
Definition at line 237 of file vdigit/toolbars.py.
References dialogs.DisplayAttributesDialog.action, toolbars.BaseToolbar.action, and toolbars.GCPDisplayToolbar.action.
def toolbars.VDigitToolbar.OnAddPoint | ( | self, | |
event | |||
) |
Add point to the vector map Laier.
Definition at line 229 of file vdigit/toolbars.py.
References dialogs.DisplayAttributesDialog.action, toolbars.BaseToolbar.action, and toolbars.GCPDisplayToolbar.action.
Referenced by toolbars.VDigitToolbar.OnBreak(), toolbars.VDigitToolbar.OnConnect(), toolbars.VDigitToolbar.OnCopy(), toolbars.VDigitToolbar.OnCopyAttrb(), toolbars.VDigitToolbar.OnCopyCats(), toolbars.VDigitToolbar.OnFlip(), toolbars.VDigitToolbar.OnMerge(), toolbars.VDigitToolbar.OnQuery(), toolbars.VDigitToolbar.OnSnap(), toolbars.VDigitToolbar.OnSplitLine(), toolbars.VDigitToolbar.OnTypeConversion(), and toolbars.VDigitToolbar.OnZBulk().
def toolbars.VDigitToolbar.OnAddVertex | ( | self, | |
event | |||
) |
Add line vertex.
Definition at line 298 of file vdigit/toolbars.py.
References dialogs.DisplayAttributesDialog.action, toolbars.BaseToolbar.action, and toolbars.GCPDisplayToolbar.action.
def toolbars.VDigitToolbar.OnBreak | ( | self, | |
event | |||
) |
Break selected lines/boundaries.
Definition at line 514 of file vdigit/toolbars.py.
References dialogs.DisplayAttributesDialog.action, toolbars.BaseToolbar.action, toolbars.GCPDisplayToolbar.action, toolbars.VDigitToolbar.OnAddPoint(), and frame.ModelEvtHandler.OnAddPoint().
Referenced by toolbars.VDigitToolbar.OnAdditionalToolMenu().
def toolbars.VDigitToolbar.OnConnect | ( | self, | |
event | |||
) |
Connect selected lines/boundaries.
Definition at line 540 of file vdigit/toolbars.py.
References dialogs.DisplayAttributesDialog.action, toolbars.BaseToolbar.action, toolbars.GCPDisplayToolbar.action, toolbars.VDigitToolbar.OnAddPoint(), and frame.ModelEvtHandler.OnAddPoint().
Referenced by toolbars.VDigitToolbar.OnAdditionalToolMenu().
def toolbars.VDigitToolbar.OnCopy | ( | self, | |
event | |||
) |
Copy selected features from (background) vector map.
Definition at line 434 of file vdigit/toolbars.py.
References dialogs.DisplayAttributesDialog.action, toolbars.BaseToolbar.action, toolbars.GCPDisplayToolbar.action, toolbars.VDigitToolbar.OnAddPoint(), and frame.ModelEvtHandler.OnAddPoint().
Referenced by toolbars.VDigitToolbar.OnAdditionalToolMenu().
def toolbars.VDigitToolbar.OnCopyAttrb | ( | self, | |
event | |||
) |
Copy attributes.
Definition at line 474 of file vdigit/toolbars.py.
References dialogs.DisplayAttributesDialog.action, toolbars.BaseToolbar.action, toolbars.GCPDisplayToolbar.action, toolbars.VDigitToolbar.OnAddPoint(), and frame.ModelEvtHandler.OnAddPoint().
Referenced by toolbars.VDigitToolbar.OnAdditionalToolMenu().
def toolbars.VDigitToolbar.OnCopyCats | ( | self, | |
event | |||
) |
Copy categories.
Definition at line 461 of file vdigit/toolbars.py.
References dialogs.DisplayAttributesDialog.action, toolbars.BaseToolbar.action, toolbars.GCPDisplayToolbar.action, toolbars.VDigitToolbar.OnAddPoint(), and frame.ModelEvtHandler.OnAddPoint().
Referenced by toolbars.VDigitToolbar.OnAdditionalToolMenu().
def toolbars.VDigitToolbar.OnDeleteLine | ( | self, | |
event | |||
) |
Delete line.
Definition at line 326 of file vdigit/toolbars.py.
References dialogs.DisplayAttributesDialog.action, toolbars.BaseToolbar.action, and toolbars.GCPDisplayToolbar.action.
def toolbars.VDigitToolbar.OnDisplayAttr | ( | self, | |
event | |||
) |
Display/update attributes.
Definition at line 340 of file vdigit/toolbars.py.
References dialogs.DisplayAttributesDialog.action, toolbars.BaseToolbar.action, and toolbars.GCPDisplayToolbar.action.
def toolbars.VDigitToolbar.OnDisplayCats | ( | self, | |
event | |||
) |
Display/update categories.
Definition at line 333 of file vdigit/toolbars.py.
References dialogs.DisplayAttributesDialog.action, toolbars.BaseToolbar.action, and toolbars.GCPDisplayToolbar.action.
def toolbars.VDigitToolbar.OnEditLine | ( | self, | |
event | |||
) |
Edit line.
Definition at line 312 of file vdigit/toolbars.py.
References dialogs.DisplayAttributesDialog.action, toolbars.BaseToolbar.action, and toolbars.GCPDisplayToolbar.action.
def toolbars.VDigitToolbar.OnExit | ( | self, | |
event = None |
|||
) |
Quit digitization tool.
Definition at line 273 of file vdigit/toolbars.py.
References toolbars.VDigitToolbar.mapLayer, toolbars.VDigitToolbar.settingsDialog, toolbars.LMNvizToolbar.settingsDialog, and toolbars.VDigitToolbar.StopEditing().
def toolbars.VDigitToolbar.OnFlip | ( | self, | |
event | |||
) |
Flip selected lines/boundaries.
Definition at line 488 of file vdigit/toolbars.py.
References dialogs.DisplayAttributesDialog.action, toolbars.BaseToolbar.action, toolbars.GCPDisplayToolbar.action, toolbars.VDigitToolbar.OnAddPoint(), and frame.ModelEvtHandler.OnAddPoint().
Referenced by toolbars.VDigitToolbar.OnAdditionalToolMenu().
def toolbars.VDigitToolbar.OnHelp | ( | self, | |
event | |||
) |
Show digitizer help page in web browser.
Definition at line 381 of file vdigit/toolbars.py.
def toolbars.VDigitToolbar.OnMerge | ( | self, | |
event | |||
) |
Merge selected lines/boundaries.
Definition at line 501 of file vdigit/toolbars.py.
References dialogs.DisplayAttributesDialog.action, toolbars.BaseToolbar.action, toolbars.GCPDisplayToolbar.action, toolbars.VDigitToolbar.OnAddPoint(), and frame.ModelEvtHandler.OnAddPoint().
Referenced by toolbars.VDigitToolbar.OnAdditionalToolMenu().
def toolbars.VDigitToolbar.OnMoveLine | ( | self, | |
event | |||
) |
Move line.
Definition at line 319 of file vdigit/toolbars.py.
References dialogs.DisplayAttributesDialog.action, toolbars.BaseToolbar.action, and toolbars.GCPDisplayToolbar.action.
def toolbars.VDigitToolbar.OnMoveVertex | ( | self, | |
event | |||
) |
Move line vertex.
Definition at line 291 of file vdigit/toolbars.py.
References dialogs.DisplayAttributesDialog.action, toolbars.BaseToolbar.action, and toolbars.GCPDisplayToolbar.action.
def toolbars.VDigitToolbar.OnQuery | ( | self, | |
event | |||
) |
Query selected lines/boundaries.
Definition at line 553 of file vdigit/toolbars.py.
References dialogs.DisplayAttributesDialog.action, toolbars.BaseToolbar.action, toolbars.GCPDisplayToolbar.action, toolbars.VDigitToolbar.OnAddPoint(), and frame.ModelEvtHandler.OnAddPoint().
Referenced by toolbars.VDigitToolbar.OnAdditionalToolMenu().
def toolbars.VDigitToolbar.OnRemoveVertex | ( | self, | |
event | |||
) |
Remove line vertex.
Definition at line 305 of file vdigit/toolbars.py.
References dialogs.DisplayAttributesDialog.action, toolbars.BaseToolbar.action, and toolbars.GCPDisplayToolbar.action.
def toolbars.VDigitToolbar.OnSelectMap | ( | self, | |
event | |||
) |
Select vector map layer for editing.
If there is a vector map layer already edited, this action is firstly terminated. The map layer is closed. After this the selected map layer activated for editing.
Definition at line 603 of file vdigit/toolbars.py.
References dialogs.CreateNewVector(), toolbars.VDigitToolbar.layers, workspace.ProcessWorkspaceFile.layers, mapwindow.GLWindow.layers, render.Map.layers, gselect.VectorDBInfo.layers, workspace.ProcessGrcFile.layers, dialogs.MapLayersDialog.layers, dialogs.VPropertiesDialog.layers, instructions.VProperties.layers, manager.LayerListCtrl.layers, toolbars.VDigitToolbar.layerTree, colorrules.ColorTable.layerTree, toolbars.VDigitToolbar.log, vclean.VectorCleaningFrame.log, mcalc_builder.MapCalcFrame.log, mapwindow.NvizThread.log, manager.VirtualAttributeList.log, wxnviz.Nviz.log, mapwindow.GLWindow.log, extensions.ExtensionTree.log, manager.AttributeManager.log, dialogs.CheckListFeature.log, frame.ModelEvtHandler.log, preferences.CheckListMapset.log, dialogs.LayersList.log, toolbars.VDigitToolbar.mapLayer, mapwindow.MapWindow.parent, menu.Menu.parent, sqlbuilder.SQLFrame.parent, dialogs.ModelDataDialog.parent, mapdisp.MapFrameBase.parent, dialogs.DisplayAttributesDialog.parent, preferences.PreferencesBaseDialog.parent, manager.Log.parent, frame.ModelFrame.parent, goutput.CmdThread.parent, manager.VirtualAttributeList.parent, toolbars.BaseToolbar.parent, manager.GCPWizard.parent, dialogs.ModelSearchDialog.parent, menu.MenuTreeWindow.parent, forms.UpdateThread.parent, goutput.GMConsole.parent, dialogs.ModelRelationDialog.parent, menu.MenuTree.parent, manager.LocationPage.parent, forms.UpdateQThread.parent, forms.TaskFrame.parent, dialogs.ModelItemDialog.parent, manager.GroupPage.parent, prompt.GPrompt.parent, dialogs.DecorationDialog.parent, manager.AttributeManager.parent, dialogs.ModelListCtrl.parent, manager.DispMapPage.parent, ghelp.HelpWindow.parent, gselect.LayerSelect.parent, dialogs.TextLayerDialog.parent, forms.CmdPanel.parent, manager.GCP.parent, model.ModelAction.parent, dialogs.GroupDialog.parent, dialogs.ItemCheckListCtrl.parent, frame.ModelCanvas.parent, goutput.GMStdout.parent, goutput.GMStderr.parent, model.ModelData.parent, gselect.GdalSelect.parent, goutput.GMStc.parent, dialogs.MapLayersDialog.parent, goutput.PyStc.parent, model.ModelRelation.parent, frame.VariablePanel.parent, model.ModelItem.parent, frame.ItemPanel.parent, dialogs.ImportDialog.parent, frame.PythonPanel.parent, preferences.CheckListMapset.parent, forms.GUI.parent, dialogs.LayersList.parent, dialogs.SetOpacityDialog.parent, dialogs.ImageSizeDialog.parent, model.ModelParamDialog.parent, manager.TableListCtrl.parent, manager.LayerListCtrl.parent, manager.GrSettingsDialog.parent, manager.LayerBook.parent, toolbars.VDigitToolbar.StartEditing(), toolbars.VDigitToolbar.StopEditing(), and toolbars.VDigitToolbar.UpdateListOfLayers().
def toolbars.VDigitToolbar.OnSettings | ( | self, | |
event | |||
) |
Show settings dialog.
Definition at line 368 of file vdigit/toolbars.py.
References preferences.VDigitSettingsDialog.digit, toolbars.VDigitToolbar.digit, mapwindow.VDigitWindow.digit, dialogs.VDigitCategoryDialog.digit, mapdisplay.MapFrame.digit, mapwindow.MapWindow.parent, menu.Menu.parent, sqlbuilder.SQLFrame.parent, dialogs.ModelDataDialog.parent, mapdisp.MapFrameBase.parent, dialogs.DisplayAttributesDialog.parent, preferences.PreferencesBaseDialog.parent, manager.Log.parent, goutput.CmdThread.parent, frame.ModelFrame.parent, manager.VirtualAttributeList.parent, toolbars.BaseToolbar.parent, manager.GCPWizard.parent, dialogs.ModelSearchDialog.parent, menu.MenuTreeWindow.parent, forms.UpdateThread.parent, goutput.GMConsole.parent, dialogs.ModelRelationDialog.parent, menu.MenuTree.parent, manager.LocationPage.parent, forms.UpdateQThread.parent, forms.TaskFrame.parent, dialogs.ModelItemDialog.parent, manager.GroupPage.parent, prompt.GPrompt.parent, dialogs.DecorationDialog.parent, manager.AttributeManager.parent, dialogs.ModelListCtrl.parent, manager.DispMapPage.parent, ghelp.HelpWindow.parent, gselect.LayerSelect.parent, dialogs.TextLayerDialog.parent, forms.CmdPanel.parent, manager.GCP.parent, model.ModelAction.parent, dialogs.GroupDialog.parent, dialogs.ItemCheckListCtrl.parent, frame.ModelCanvas.parent, goutput.GMStdout.parent, goutput.GMStderr.parent, model.ModelData.parent, gselect.GdalSelect.parent, goutput.GMStc.parent, dialogs.MapLayersDialog.parent, goutput.PyStc.parent, model.ModelRelation.parent, frame.VariablePanel.parent, model.ModelItem.parent, frame.ItemPanel.parent, dialogs.ImportDialog.parent, frame.PythonPanel.parent, preferences.CheckListMapset.parent, forms.GUI.parent, dialogs.LayersList.parent, dialogs.SetOpacityDialog.parent, dialogs.ImageSizeDialog.parent, model.ModelParamDialog.parent, manager.TableListCtrl.parent, manager.LayerListCtrl.parent, manager.GrSettingsDialog.parent, manager.LayerBook.parent, toolbars.VDigitToolbar.settingsDialog, and toolbars.LMNvizToolbar.settingsDialog.
def toolbars.VDigitToolbar.OnSnap | ( | self, | |
event | |||
) |
Snap selected features.
Definition at line 527 of file vdigit/toolbars.py.
References dialogs.DisplayAttributesDialog.action, toolbars.BaseToolbar.action, toolbars.GCPDisplayToolbar.action, toolbars.VDigitToolbar.OnAddPoint(), and frame.ModelEvtHandler.OnAddPoint().
Referenced by toolbars.VDigitToolbar.OnAdditionalToolMenu().
def toolbars.VDigitToolbar.OnSplitLine | ( | self, | |
event | |||
) |
Split line.
Definition at line 447 of file vdigit/toolbars.py.
References dialogs.DisplayAttributesDialog.action, toolbars.BaseToolbar.action, toolbars.GCPDisplayToolbar.action, toolbars.VDigitToolbar.OnAddPoint(), and frame.ModelEvtHandler.OnAddPoint().
Referenced by toolbars.VDigitToolbar.OnAdditionalToolMenu().
def toolbars.VDigitToolbar.OnTool | ( | self, | |
event | |||
) |
Tool selected -> disable selected tool in map toolbar.
Definition at line 190 of file vdigit/toolbars.py.
References dialogs.DisplayAttributesDialog.action, toolbars.BaseToolbar.action, toolbars.GCPDisplayToolbar.action, preferences.VDigitSettingsDialog.digit, toolbars.VDigitToolbar.digit, mapwindow.VDigitWindow.digit, dialogs.VDigitCategoryDialog.digit, mapdisplay.MapFrame.digit, and toolbars.BaseToolbar.GetAction().
def toolbars.VDigitToolbar.OnTypeConversion | ( | self, | |
event | |||
) |
Feature type conversion.
Supported conversions:
Definition at line 585 of file vdigit/toolbars.py.
References dialogs.DisplayAttributesDialog.action, toolbars.BaseToolbar.action, toolbars.GCPDisplayToolbar.action, toolbars.VDigitToolbar.OnAddPoint(), and frame.ModelEvtHandler.OnAddPoint().
Referenced by toolbars.VDigitToolbar.OnAdditionalToolMenu().
def toolbars.VDigitToolbar.OnUndo | ( | self, | |
event | |||
) |
Undo previous changes.
Definition at line 347 of file vdigit/toolbars.py.
def toolbars.VDigitToolbar.OnZBulk | ( | self, | |
event | |||
) |
Z bulk-labeling selected lines/boundaries.
Definition at line 567 of file vdigit/toolbars.py.
References dialogs.DisplayAttributesDialog.action, toolbars.BaseToolbar.action, toolbars.GCPDisplayToolbar.action, toolbars.VDigitToolbar.OnAddPoint(), frame.ModelEvtHandler.OnAddPoint(), mapwindow.MapWindow.parent, menu.Menu.parent, sqlbuilder.SQLFrame.parent, dialogs.ModelDataDialog.parent, mapdisp.MapFrameBase.parent, dialogs.DisplayAttributesDialog.parent, preferences.PreferencesBaseDialog.parent, manager.Log.parent, frame.ModelFrame.parent, goutput.CmdThread.parent, manager.VirtualAttributeList.parent, toolbars.BaseToolbar.parent, manager.GCPWizard.parent, dialogs.ModelSearchDialog.parent, menu.MenuTreeWindow.parent, forms.UpdateThread.parent, goutput.GMConsole.parent, dialogs.ModelRelationDialog.parent, menu.MenuTree.parent, manager.LocationPage.parent, forms.UpdateQThread.parent, forms.TaskFrame.parent, dialogs.ModelItemDialog.parent, manager.GroupPage.parent, prompt.GPrompt.parent, dialogs.DecorationDialog.parent, manager.AttributeManager.parent, dialogs.ModelListCtrl.parent, manager.DispMapPage.parent, ghelp.HelpWindow.parent, gselect.LayerSelect.parent, dialogs.TextLayerDialog.parent, forms.CmdPanel.parent, manager.GCP.parent, model.ModelAction.parent, dialogs.GroupDialog.parent, dialogs.ItemCheckListCtrl.parent, frame.ModelCanvas.parent, goutput.GMStdout.parent, goutput.GMStderr.parent, model.ModelData.parent, gselect.GdalSelect.parent, goutput.GMStc.parent, dialogs.MapLayersDialog.parent, goutput.PyStc.parent, model.ModelRelation.parent, frame.VariablePanel.parent, model.ModelItem.parent, frame.ItemPanel.parent, dialogs.ImportDialog.parent, frame.PythonPanel.parent, preferences.CheckListMapset.parent, forms.GUI.parent, dialogs.LayersList.parent, dialogs.SetOpacityDialog.parent, dialogs.ImageSizeDialog.parent, model.ModelParamDialog.parent, manager.TableListCtrl.parent, manager.LayerListCtrl.parent, manager.GrSettingsDialog.parent, and manager.LayerBook.parent.
Referenced by toolbars.VDigitToolbar.OnAdditionalToolMenu().
def toolbars.VDigitToolbar.StartEditing | ( | self, | |
mapLayer | |||
) |
Start editing selected vector map layer.
mapLayer | MapLayer to be edited |
Definition at line 660 of file vdigit/toolbars.py.
References preferences.VDigitSettingsDialog.digit, toolbars.VDigitToolbar.digit, mapwindow.VDigitWindow.digit, dialogs.VDigitCategoryDialog.digit, mapdisplay.MapFrame.digit, toolbars.BaseToolbar.Enable(), toolbars.VDigitToolbar.mapLayer, toolbars.VDigitToolbar.StopEditing(), and tools.UpdateSettings().
Referenced by toolbars.VDigitToolbar.OnSelectMap().
def toolbars.VDigitToolbar.StopEditing | ( | self | ) |
Stop editing of selected vector map layer.
Definition at line 717 of file vdigit/toolbars.py.
References preferences.VDigitSettingsDialog.digit, toolbars.VDigitToolbar.digit, mapwindow.VDigitWindow.digit, dialogs.VDigitCategoryDialog.digit, mapdisplay.MapFrame.digit, toolbars.BaseToolbar.Enable(), toolbars.VDigitToolbar.mapLayer, mapwindow.MapWindow.parent, menu.Menu.parent, sqlbuilder.SQLFrame.parent, dialogs.ModelDataDialog.parent, mapdisp.MapFrameBase.parent, dialogs.DisplayAttributesDialog.parent, preferences.PreferencesBaseDialog.parent, manager.Log.parent, frame.ModelFrame.parent, goutput.CmdThread.parent, manager.VirtualAttributeList.parent, toolbars.BaseToolbar.parent, manager.GCPWizard.parent, dialogs.ModelSearchDialog.parent, menu.MenuTreeWindow.parent, forms.UpdateThread.parent, goutput.GMConsole.parent, dialogs.ModelRelationDialog.parent, menu.MenuTree.parent, manager.LocationPage.parent, forms.UpdateQThread.parent, forms.TaskFrame.parent, dialogs.ModelItemDialog.parent, manager.GroupPage.parent, prompt.GPrompt.parent, dialogs.DecorationDialog.parent, manager.AttributeManager.parent, dialogs.ModelListCtrl.parent, manager.DispMapPage.parent, ghelp.HelpWindow.parent, gselect.LayerSelect.parent, dialogs.TextLayerDialog.parent, forms.CmdPanel.parent, manager.GCP.parent, model.ModelAction.parent, dialogs.GroupDialog.parent, dialogs.ItemCheckListCtrl.parent, frame.ModelCanvas.parent, goutput.GMStdout.parent, goutput.GMStderr.parent, model.ModelData.parent, gselect.GdalSelect.parent, goutput.GMStc.parent, dialogs.MapLayersDialog.parent, goutput.PyStc.parent, model.ModelRelation.parent, frame.VariablePanel.parent, model.ModelItem.parent, frame.ItemPanel.parent, dialogs.ImportDialog.parent, frame.PythonPanel.parent, preferences.CheckListMapset.parent, forms.GUI.parent, dialogs.LayersList.parent, dialogs.SetOpacityDialog.parent, dialogs.ImageSizeDialog.parent, model.ModelParamDialog.parent, manager.TableListCtrl.parent, manager.LayerListCtrl.parent, manager.GrSettingsDialog.parent, manager.LayerBook.parent, and widgets.SetValue().
Referenced by toolbars.VDigitToolbar.OnExit(), toolbars.VDigitToolbar.OnSelectMap(), and toolbars.VDigitToolbar.StartEditing().
def toolbars.VDigitToolbar.UpdateListOfLayers | ( | self, | |
updateTool = False |
|||
) |
Update list of available vector map layers.
This list consists only editable layers (in the current mapset)
updateTool | True to update also toolbar |
Definition at line 777 of file vdigit/toolbars.py.
References toolbars.VDigitToolbar.comboid, toolbars.MapToolbar.comboid, toolbars.VDigitToolbar.layers, workspace.ProcessWorkspaceFile.layers, mapwindow.GLWindow.layers, render.Map.layers, gselect.VectorDBInfo.layers, workspace.ProcessGrcFile.layers, dialogs.MapLayersDialog.layers, dialogs.VPropertiesDialog.layers, instructions.VProperties.layers, manager.LayerListCtrl.layers, and toolbars.VDigitToolbar.mapLayer.
Referenced by toolbars.VDigitToolbar.OnSelectMap().
toolbars.VDigitToolbar.action |
Definition at line 54 of file vdigit/toolbars.py.
toolbars.VDigitToolbar.combo |
Definition at line 807 of file vdigit/toolbars.py.
toolbars.VDigitToolbar.comboid |
Definition at line 44 of file vdigit/toolbars.py.
Referenced by toolbars.VDigitToolbar.UpdateListOfLayers().
toolbars.VDigitToolbar.digit |
Definition at line 37 of file vdigit/toolbars.py.
Referenced by toolbars.VDigitToolbar.OnSettings(), toolbars.VDigitToolbar.OnTool(), toolbars.VDigitToolbar.StartEditing(), and toolbars.VDigitToolbar.StopEditing().
toolbars.VDigitToolbar.layers |
Definition at line 42 of file vdigit/toolbars.py.
Referenced by toolbars.VDigitToolbar.OnSelectMap(), vinfo.VectorDBInfo.SelectFromTable(), and toolbars.VDigitToolbar.UpdateListOfLayers().
toolbars.VDigitToolbar.layerTree |
Definition at line 34 of file vdigit/toolbars.py.
Referenced by toolbars.VDigitToolbar.OnSelectMap().
toolbars.VDigitToolbar.log |
Definition at line 35 of file vdigit/toolbars.py.
Referenced by toolbars.VDigitToolbar.OnSelectMap().
toolbars.VDigitToolbar.mapcontent |
Definition at line 33 of file vdigit/toolbars.py.
toolbars.VDigitToolbar.mapLayer |
Definition at line 40 of file vdigit/toolbars.py.
Referenced by toolbars.VDigitToolbar.GetLayer(), toolbars.VDigitToolbar.OnExit(), toolbars.VDigitToolbar.OnSelectMap(), toolbars.VDigitToolbar.StartEditing(), toolbars.VDigitToolbar.StopEditing(), and toolbars.VDigitToolbar.UpdateListOfLayers().
toolbars.VDigitToolbar.settingsDialog |
Definition at line 47 of file vdigit/toolbars.py.
Referenced by toolbars.VDigitToolbar.OnExit(), and toolbars.VDigitToolbar.OnSettings().