GRASS Programmer's Manual
6.4.2(2012)
|
Panel for vector maps settings. More...
Public Member Functions | |
def | __init__ |
def | OnVector |
Gets info about toplogy and enables/disables choices point/line/area. | |
def | OnAddVector |
Adds vector map to list. | |
def | OnDelete |
Deletes vector map from the list. | |
def | OnUp |
Moves selected map to top. | |
def | OnDown |
Moves selected map to bottom. | |
def | OnProperties |
Opens vector map properties dialog. | |
def | enableButtons |
Enable/disable up, down, properties, delete buttons. | |
def | updateListBox |
def | reposition |
Update position in legend, used only if there is no vlegend yet. | |
def | getId |
def | update |
Data Fields | |
parent | |
instruction | |
tmpDialogDict | |
id | |
vectorList | |
vLegendId | |
select | |
topologyTypeList | |
vectorType | |
AddVector | |
listbox | |
btnUp | |
btnDown | |
btnDel | |
btnProp |
Panel for vector maps settings.
Definition at line 2631 of file psmap_dialogs.py.
def gui_modules.psmap_dialogs.VectorPanel.__init__ | ( | self, | |
parent, | |||
id, | |||
settings, | |||
notebook = True |
|||
) |
Definition at line 2633 of file psmap_dialogs.py.
def gui_modules.psmap_dialogs.VectorPanel.enableButtons | ( | self, | |
enable = True |
|||
) |
Enable/disable up, down, properties, delete buttons.
Definition at line 2844 of file psmap_dialogs.py.
Referenced by gui_modules.psmap_dialogs.VectorPanel.OnAddVector(), gui_modules.psmap_dialogs.VectorPanel.OnDelete(), and gui_modules.psmap_dialogs.VectorPanel.updateListBox().
def gui_modules.psmap_dialogs.VectorPanel.getId | ( | self | ) |
Definition at line 2868 of file psmap_dialogs.py.
References gui_modules.psmap_dialogs.InstructionObject.id, gui_modules.gmodeler.ModelObject.id, gui_modules.psmap_dialogs.PsmapDialog.id, gui_modules.gmodeler.ModelAction.id, gui_modules.psmap_dialogs.MapFramePanel.id, gui_modules.psmap_dialogs.RasterPanel.id, gui_modules.psmap_dialogs.VectorPanel.id, and gui_modules.gmodeler.ModelItem.id.
def gui_modules.psmap_dialogs.VectorPanel.OnAddVector | ( | self, | |
event | |||
) |
Adds vector map to list.
Definition at line 2753 of file psmap_dialogs.py.
References gui_modules.psmap_dialogs.VectorPanel.enableButtons(), gui_modules.psmap_dialogs.VectorPanel.reposition(), gui_modules.psmap_dialogs.VectorPanel.tmpDialogDict, and gui_modules.psmap_dialogs.VectorPanel.topologyTypeList.
Referenced by wxgui.GMFrame.OnKeyDown().
def gui_modules.psmap_dialogs.VectorPanel.OnDelete | ( | self, | |
event | |||
) |
Deletes vector map from the list.
Definition at line 2782 of file psmap_dialogs.py.
References gui_modules.psmap_dialogs.VectorPanel.enableButtons(), gui_modules.psmap_dialogs.VectorPanel.tmpDialogDict, gui_modules.psmap_dialogs.VectorPanel.updateListBox(), and gui_modules.psmap_dialogs.VectorPanel.vectorList.
def gui_modules.psmap_dialogs.VectorPanel.OnDown | ( | self, | |
event | |||
) |
Moves selected map to bottom.
Definition at line 2818 of file psmap_dialogs.py.
References gui_modules.psmap_dialogs.VectorPanel.reposition(), gui_modules.psmap_dialogs.VectorPanel.updateListBox(), gui_modules.psmap_dialogs.VectorPanel.vectorList, and gui_modules.psmap_dialogs.VectorPanel.vLegendId.
def gui_modules.psmap_dialogs.VectorPanel.OnProperties | ( | self, | |
event | |||
) |
Opens vector map properties dialog.
Definition at line 2832 of file psmap_dialogs.py.
References gui_modules.psmap.PsMapFrame.instruction, gui_modules.psmap_dialogs.Instruction.instruction, gui_modules.psmap_dialogs.InstructionObject.instruction, gui_modules.psmap_dialogs.InitMap.instruction, gui_modules.psmap_dialogs.MapFrame.instruction, gui_modules.psmap_dialogs.PageSetup.instruction, gui_modules.psmap_dialogs.Mapinfo.instruction, gui_modules.psmap_dialogs.Text.instruction, gui_modules.psmap.PsMapBufferedWindow.instruction, gui_modules.psmap_dialogs.Scalebar.instruction, gui_modules.psmap_dialogs.RasterLegend.instruction, gui_modules.psmap_dialogs.VectorLegend.instruction, gui_modules.psmap_dialogs.Raster.instruction, gui_modules.psmap_dialogs.Vector.instruction, gui_modules.psmap_dialogs.VProperties.instruction, gui_modules.psmap_dialogs.PsmapDialog.instruction, gui_modules.psmap_dialogs.MapFramePanel.instruction, gui_modules.psmap_dialogs.RasterPanel.instruction, gui_modules.psmap_dialogs.VectorPanel.instruction, gui_modules.psmap_dialogs.VectorPanel.tmpDialogDict, and gui_modules.psmap_dialogs.VectorPanel.vectorList.
def gui_modules.psmap_dialogs.VectorPanel.OnUp | ( | self, | |
event | |||
) |
Moves selected map to top.
Definition at line 2803 of file psmap_dialogs.py.
References gui_modules.psmap_dialogs.VectorPanel.reposition(), gui_modules.psmap_dialogs.VectorPanel.updateListBox(), and gui_modules.psmap_dialogs.VectorPanel.vLegendId.
def gui_modules.psmap_dialogs.VectorPanel.OnVector | ( | self, | |
event | |||
) |
Gets info about toplogy and enables/disables choices point/line/area.
Definition at line 2734 of file psmap_dialogs.py.
def gui_modules.psmap_dialogs.VectorPanel.reposition | ( | self | ) |
Update position in legend, used only if there is no vlegend yet.
Definition at line 2862 of file psmap_dialogs.py.
References gui_modules.psmap_dialogs.VectorPanel.vectorList.
Referenced by gui_modules.psmap_dialogs.VectorPanel.OnAddVector(), gui_modules.psmap_dialogs.VectorPanel.OnDown(), and gui_modules.psmap_dialogs.VectorPanel.OnUp().
def gui_modules.psmap_dialogs.VectorPanel.update | ( | self | ) |
Definition at line 2871 of file psmap_dialogs.py.
References gui_modules.psmap_dialogs.InstructionObject.id, gui_modules.gmodeler.ModelObject.id, gui_modules.psmap_dialogs.PsmapDialog.id, gui_modules.gmodeler.ModelAction.id, gui_modules.psmap_dialogs.MapFramePanel.id, gui_modules.psmap_dialogs.RasterPanel.id, gui_modules.psmap_dialogs.VectorPanel.id, gui_modules.gmodeler.ModelItem.id, gui_modules.psmap.PsMapFrame.instruction, gui_modules.psmap_dialogs.Instruction.instruction, gui_modules.psmap_dialogs.InstructionObject.instruction, gui_modules.psmap_dialogs.InitMap.instruction, gui_modules.psmap_dialogs.MapFrame.instruction, gui_modules.psmap_dialogs.PageSetup.instruction, gui_modules.psmap_dialogs.Mapinfo.instruction, gui_modules.psmap_dialogs.Text.instruction, gui_modules.psmap.PsMapBufferedWindow.instruction, gui_modules.psmap_dialogs.Scalebar.instruction, gui_modules.psmap_dialogs.RasterLegend.instruction, gui_modules.psmap_dialogs.VectorLegend.instruction, gui_modules.psmap_dialogs.Raster.instruction, gui_modules.psmap_dialogs.Vector.instruction, gui_modules.psmap_dialogs.VProperties.instruction, gui_modules.psmap_dialogs.PsmapDialog.instruction, gui_modules.psmap_dialogs.MapFramePanel.instruction, gui_modules.psmap_dialogs.RasterPanel.instruction, gui_modules.psmap_dialogs.VectorPanel.instruction, gui_modules.psmap_dialogs.VectorPanel.tmpDialogDict, gui_modules.psmap_dialogs.updateDialog(), and gui_modules.psmap_dialogs.VectorPanel.vectorList.
Referenced by gui_modules.psmap_dialogs.RasterDialog.OnApply(), gui_modules.psmap_dialogs.MainVectorDialog.OnApply(), gui_modules.psmap_dialogs.TextDialog.OnBackground(), gui_modules.psmap_dialogs.TextDialog.OnBorder(), gui_modules.psmap_dialogs.TextDialog.OnHighlight(), gui_modules.psmap_dialogs.MapinfoDialog.OnIsBackground(), and gui_modules.psmap_dialogs.MapinfoDialog.OnIsBorder().
def gui_modules.psmap_dialogs.VectorPanel.updateListBox | ( | self, | |
selected = None |
|||
) |
Definition at line 2851 of file psmap_dialogs.py.
References gui_modules.psmap_dialogs.VectorPanel.enableButtons(), and gui_modules.psmap_dialogs.VectorPanel.vectorList.
Referenced by gui_modules.psmap_dialogs.VectorPanel.OnDelete(), gui_modules.psmap_dialogs.VectorPanel.OnDown(), and gui_modules.psmap_dialogs.VectorPanel.OnUp().
gui_modules.psmap_dialogs.VectorPanel.AddVector |
Definition at line 2682 of file psmap_dialogs.py.
gui_modules.psmap_dialogs.VectorPanel.btnDel |
Definition at line 2706 of file psmap_dialogs.py.
gui_modules.psmap_dialogs.VectorPanel.btnDown |
Definition at line 2705 of file psmap_dialogs.py.
gui_modules.psmap_dialogs.VectorPanel.btnProp |
Definition at line 2707 of file psmap_dialogs.py.
gui_modules.psmap_dialogs.VectorPanel.btnUp |
Definition at line 2704 of file psmap_dialogs.py.
gui_modules.psmap_dialogs.VectorPanel.id |
Definition at line 2644 of file psmap_dialogs.py.
Referenced by gui_modules.psmap_dialogs.VectorPanel.getId(), and gui_modules.psmap_dialogs.VectorPanel.update().
gui_modules.psmap_dialogs.VectorPanel.instruction |
Definition at line 2637 of file psmap_dialogs.py.
Referenced by gui_modules.psmap_dialogs.VectorPanel.OnProperties(), and gui_modules.psmap_dialogs.VectorPanel.update().
gui_modules.psmap_dialogs.VectorPanel.listbox |
Definition at line 2703 of file psmap_dialogs.py.
gui_modules.psmap_dialogs.VectorPanel.parent |
Definition at line 2636 of file psmap_dialogs.py.
Referenced by gui_modules.wxvdigit.VDigitError.Database(), gui_modules.wxvdigit.VDigitError.DbExecute(), gui_modules.wxvdigit.VDigitError.DbLink(), gui_modules.wxvdigit.VDigitError.DeadLine(), gui_modules.wxvdigit.VDigitError.Driver(), gui_modules.wxvdigit.VDigitError.FeatureType(), gui_modules.wxvdigit.VDigitError.NoMap(), wxgui.GMFrame.OnPsMap(), gui_modules.toolbars.VDigitToolbar.OnSelectMap(), gui_modules.toolbars.VDigitToolbar.OnSettings(), gui_modules.toolbars.NvizToolbar.OnSettings(), gui_modules.toolbars.AbstractToolbar.OnTool(), gui_modules.toolbars.VDigitToolbar.OnZBulk(), gui_modules.wxvdigit.VDigitError.ReadLine(), gui_modules.toolbars.VDigitToolbar.StopEditing(), and gui_modules.wxvdigit.VDigitError.WriteLine().
gui_modules.psmap_dialogs.VectorPanel.select |
Definition at line 2674 of file psmap_dialogs.py.
gui_modules.psmap_dialogs.VectorPanel.tmpDialogDict |
Definition at line 2638 of file psmap_dialogs.py.
Referenced by gui_modules.psmap_dialogs.VectorPanel.OnAddVector(), gui_modules.psmap_dialogs.VectorPanel.OnDelete(), gui_modules.psmap_dialogs.VectorPanel.OnProperties(), and gui_modules.psmap_dialogs.VectorPanel.update().
gui_modules.psmap_dialogs.VectorPanel.topologyTypeList |
Definition at line 2678 of file psmap_dialogs.py.
Referenced by gui_modules.psmap_dialogs.VectorPanel.OnAddVector().
gui_modules.psmap_dialogs.VectorPanel.vectorList |
Definition at line 2645 of file psmap_dialogs.py.
Referenced by gui_modules.psmap_dialogs.VectorPanel.OnDelete(), gui_modules.psmap_dialogs.VectorPanel.OnDown(), gui_modules.psmap_dialogs.VectorPanel.OnProperties(), gui_modules.psmap_dialogs.VectorPanel.reposition(), gui_modules.psmap_dialogs.VectorPanel.update(), and gui_modules.psmap_dialogs.VectorPanel.updateListBox().
gui_modules.psmap_dialogs.VectorPanel.vectorType |
Definition at line 2679 of file psmap_dialogs.py.
gui_modules.psmap_dialogs.VectorPanel.vLegendId |
Definition at line 2652 of file psmap_dialogs.py.
Referenced by gui_modules.psmap_dialogs.VectorPanel.OnDown(), and gui_modules.psmap_dialogs.VectorPanel.OnUp().