GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
Map Display toolbar. More...
Public Member Functions | |
def | __init__ |
Map Display constructor. More... | |
def | InsertTool |
Insert tool to toolbar. More... | |
def | RemoveTool |
Remove tool from toolbar. More... | |
def | ChangeToolsDesc |
Change description of zoom tools for 2D/3D view. More... | |
def | OnSelectTool |
Select / enable tool available in tools list. More... | |
def | OnAnalyze |
Analysis tools menu. More... | |
def | OnDecoration |
Decorations overlay menu. More... | |
def | ExitToolbars |
def | Enable2D |
Enable/Disable 2D display mode specific tools. 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 | |
toolId | |
combo | |
comboid | |
action | |
defaultAction | |
Data Fields inherited from toolbars.BaseToolbar | |
parent | |
action | |
Map Display toolbar.
Definition at line 63 of file mapdisp/toolbars.py.
def toolbars.MapToolbar.__init__ | ( | self, | |
parent, | |||
mapcontent | |||
) |
Map Display constructor.
parent | reference to MapFrame |
mapcontent | reference to render.Map (registred by MapFrame) |
Definition at line 66 of file mapdisp/toolbars.py.
def toolbars.MapToolbar.ChangeToolsDesc | ( | self, | |
mode2d | |||
) |
Change description of zoom tools for 2D/3D view.
Definition at line 203 of file mapdisp/toolbars.py.
References toolbars.BaseToolbar._data.
Referenced by toolbars.MapToolbar.OnSelectTool().
def toolbars.MapToolbar.Enable2D | ( | self, | |
enabled | |||
) |
Enable/Disable 2D display mode specific tools.
Definition at line 262 of file mapdisp/toolbars.py.
Referenced by toolbars.MapToolbar.OnSelectTool().
def toolbars.MapToolbar.ExitToolbars | ( | self | ) |
Definition at line 256 of file mapdisp/toolbars.py.
Referenced by toolbars.MapToolbar.OnSelectTool().
def toolbars.MapToolbar.InsertTool | ( | self, | |
data | |||
) |
Insert tool to toolbar.
data | toolbar data |
Definition at line 182 of file mapdisp/toolbars.py.
References toolbars.BaseToolbar._getToolbarData(), and toolbars.BaseToolbar.CreateTool().
def toolbars.MapToolbar.OnAnalyze | ( | self, | |
event | |||
) |
Analysis tools menu.
Definition at line 237 of file mapdisp/toolbars.py.
References toolbars.BaseToolbar._onMenu().
def toolbars.MapToolbar.OnDecoration | ( | self, | |
event | |||
) |
Decorations overlay menu.
Definition at line 244 of file mapdisp/toolbars.py.
References toolbars.BaseToolbar._onMenu().
def toolbars.MapToolbar.OnSelectTool | ( | self, | |
event | |||
) |
Select / enable tool available in tools list.
Definition at line 216 of file mapdisp/toolbars.py.
References toolbars.MapToolbar.ChangeToolsDesc(), toolbars.MapToolbar.Enable2D(), toolbars.MapToolbar.ExitToolbars(), and toolbars.MapToolbar.toolId.
def toolbars.MapToolbar.RemoveTool | ( | self, | |
tool | |||
) |
Remove tool from toolbar.
tool | tool id |
Definition at line 194 of file mapdisp/toolbars.py.
toolbars.MapToolbar.action |
Definition at line 129 of file mapdisp/toolbars.py.
toolbars.MapToolbar.combo |
Definition at line 114 of file mapdisp/toolbars.py.
toolbars.MapToolbar.comboid |
Definition at line 119 of file mapdisp/toolbars.py.
Referenced by toolbars.VDigitToolbar.UpdateListOfLayers().
toolbars.MapToolbar.defaultAction |
Definition at line 130 of file mapdisp/toolbars.py.
Referenced by toolbars.BaseToolbar.SelectDefault().
toolbars.MapToolbar.mapcontent |
Definition at line 72 of file mapdisp/toolbars.py.
toolbars.MapToolbar.toolId |
Definition at line 79 of file mapdisp/toolbars.py.
Referenced by toolbars.MapToolbar.OnSelectTool().