GRASS Programmer's Manual
6.4.3(2013)-r
|
Panel for vector maps settings. More...
Public Member Functions | |
def | __init__ |
def | OnVector |
Gets info about toplogy and enables/disables choices point/line/area. More... | |
def | OnAddVector |
Adds vector map to list. More... | |
def | OnDelete |
Deletes vector map from the list. More... | |
def | OnUp |
Moves selected map to top. More... | |
def | OnDown |
Moves selected map to bottom. More... | |
def | OnProperties |
Opens vector map properties dialog. More... | |
def | enableButtons |
Enable/disable up, down, properties, delete buttons. More... | |
def | updateListBox |
def | reposition |
Update position in legend, used only if there is no vlegend yet. More... | |
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 1241 of file psmap/dialogs.py.
def dialogs.VectorPanel.__init__ | ( | self, | |
parent, | |||
id, | |||
settings, | |||
notebook = True |
|||
) |
Definition at line 1243 of file psmap/dialogs.py.
def dialogs.VectorPanel.enableButtons | ( | self, | |
enable = True |
|||
) |
Enable/disable up, down, properties, delete buttons.
Definition at line 1454 of file psmap/dialogs.py.
Referenced by dialogs.VectorPanel.OnAddVector(), dialogs.VectorPanel.OnDelete(), and dialogs.VectorPanel.updateListBox().
def dialogs.VectorPanel.getId | ( | self) |
Definition at line 1478 of file psmap/dialogs.py.
References overlays.OverlayController.id, dialogs.PsmapDialog.id, render.Overlay.id, dialogs.MapFramePanel.id, model.ModelObject.id, model.ModelAction.id, dialogs.RasterPanel.id, dialogs.VectorPanel.id, model.ModelItem.id, and wxnviz.Texture.id.
def dialogs.VectorPanel.OnAddVector | ( | self, | |
event | |||
) |
Adds vector map to list.
Definition at line 1363 of file psmap/dialogs.py.
References dialogs.VectorPanel.enableButtons(), dialogs.VectorPanel.reposition(), dialogs.VectorPanel.tmpDialogDict, and dialogs.VectorPanel.topologyTypeList.
def dialogs.VectorPanel.OnDelete | ( | self, | |
event | |||
) |
Deletes vector map from the list.
Definition at line 1392 of file psmap/dialogs.py.
References dialogs.VectorPanel.enableButtons(), tools.range, dialogs.VectorPanel.tmpDialogDict, dialogs.VectorPanel.updateListBox(), and dialogs.VectorPanel.vectorList.
def dialogs.VectorPanel.OnDown | ( | self, | |
event | |||
) |
Moves selected map to bottom.
Definition at line 1428 of file psmap/dialogs.py.
References dialogs.VectorPanel.reposition(), dialogs.VectorPanel.updateListBox(), dialogs.VectorPanel.vectorList, and dialogs.VectorPanel.vLegendId.
def dialogs.VectorPanel.OnProperties | ( | self, | |
event | |||
) |
Opens vector map properties dialog.
Definition at line 1442 of file psmap/dialogs.py.
References dialogs.PsmapDialog.instruction, dialogs.MapFramePanel.instruction, dialogs.RasterPanel.instruction, dialogs.VectorPanel.instruction, dialogs.VectorPanel.tmpDialogDict, and dialogs.VectorPanel.vectorList.
def dialogs.VectorPanel.OnUp | ( | self, | |
event | |||
) |
Moves selected map to top.
Definition at line 1413 of file psmap/dialogs.py.
References dialogs.VectorPanel.reposition(), dialogs.VectorPanel.updateListBox(), and dialogs.VectorPanel.vLegendId.
def dialogs.VectorPanel.OnVector | ( | self, | |
event | |||
) |
Gets info about toplogy and enables/disables choices point/line/area.
Definition at line 1344 of file psmap/dialogs.py.
References tools.range.
def dialogs.VectorPanel.reposition | ( | self) |
Update position in legend, used only if there is no vlegend yet.
Definition at line 1472 of file psmap/dialogs.py.
References tools.range, and dialogs.VectorPanel.vectorList.
Referenced by dialogs.VectorPanel.OnAddVector(), dialogs.VectorPanel.OnDown(), and dialogs.VectorPanel.OnUp().
def dialogs.VectorPanel.update | ( | self) |
Definition at line 1481 of file psmap/dialogs.py.
References overlays.OverlayController.id, dialogs.PsmapDialog.id, render.Overlay.id, dialogs.MapFramePanel.id, model.ModelObject.id, model.ModelAction.id, dialogs.RasterPanel.id, dialogs.VectorPanel.id, model.ModelItem.id, wxnviz.Texture.id, dialogs.PsmapDialog.instruction, dialogs.MapFramePanel.instruction, dialogs.RasterPanel.instruction, dialogs.VectorPanel.instruction, dialogs.VectorPanel.tmpDialogDict, dialogs.updateDialog(), and dialogs.VectorPanel.vectorList.
Referenced by dialogs.RasterDialog.OnApply(), dialogs.MainVectorDialog.OnApply(), dialogs.TextDialog.OnBackground(), dialogs.TextDialog.OnBorder(), dialogs.TextDialog.OnHighlight(), dialogs.MapinfoDialog.OnIsBackground(), and dialogs.MapinfoDialog.OnIsBorder().
def dialogs.VectorPanel.updateListBox | ( | self, | |
selected = None |
|||
) |
Definition at line 1461 of file psmap/dialogs.py.
References dialogs.VectorPanel.enableButtons(), and dialogs.VectorPanel.vectorList.
Referenced by dialogs.VectorPanel.OnDelete(), dialogs.VectorPanel.OnDown(), and dialogs.VectorPanel.OnUp().
dialogs.VectorPanel.AddVector |
Definition at line 1292 of file psmap/dialogs.py.
dialogs.VectorPanel.btnDel |
Definition at line 1316 of file psmap/dialogs.py.
dialogs.VectorPanel.btnDown |
Definition at line 1315 of file psmap/dialogs.py.
dialogs.VectorPanel.btnProp |
Definition at line 1317 of file psmap/dialogs.py.
dialogs.VectorPanel.btnUp |
Definition at line 1314 of file psmap/dialogs.py.
dialogs.VectorPanel.id |
Definition at line 1254 of file psmap/dialogs.py.
Referenced by dialogs.VectorPanel.getId(), and dialogs.VectorPanel.update().
dialogs.VectorPanel.instruction |
Definition at line 1247 of file psmap/dialogs.py.
Referenced by instructions.Instruction.__contains__(), instructions.Instruction.__delitem__(), instructions.Instruction.__getitem__(), instructions.InstructionObject.__getitem__(), instructions.InstructionObject.__setitem__(), instructions.Instruction.__str__(), instructions.MapFrame.__str__(), instructions.PageSetup.__str__(), instructions.Mapinfo.__str__(), instructions.Text.__str__(), instructions.Image.__str__(), instructions.NorthArrow.__str__(), instructions.Point.__str__(), instructions.Line.__str__(), instructions.Rectangle.__str__(), instructions.Scalebar.__str__(), instructions.RasterLegend.__str__(), instructions.VectorLegend.__str__(), instructions.Raster.__str__(), instructions.VProperties.__str__(), instructions.Image.ChangeRefPoint(), frame.PsMapBufferedWindow.Draw(), instructions.Instruction.FindInstructionByType(), frame.PsMapFrame.getFile(), instructions.InstructionObject.GetInstruction(), frame.PsMapFrame.InstructionFile(), frame.PsMapBufferedWindow.OnButtonDClick(), frame.PsMapFrame.OnCmdDone(), frame.PsMapBufferedWindow.OnDragging(), frame.PsMapBufferedWindow.OnLeftUp(), frame.PsMapFrame.OnLoadFile(), frame.PsMapFrame.OnPageSetup(), dialogs.VectorPanel.OnProperties(), frame.PsMapFrame.PSFile(), instructions.MapFrame.Read(), instructions.Mapinfo.Read(), instructions.Image.Read(), instructions.Point.Read(), instructions.Line.Read(), instructions.Rectangle.Read(), instructions.Scalebar.Read(), instructions.Vector.Read(), frame.PsMapBufferedWindow.RecalculateEN(), frame.PsMapBufferedWindow.RecalculatePosition(), instructions.InstructionObject.SetInstruction(), frame.PsMapBufferedWindow.SetPage(), dialogs.VectorPanel.update(), and frame.PsMapBufferedWindow.Zoom().
dialogs.VectorPanel.listbox |
Definition at line 1313 of file psmap/dialogs.py.
dialogs.VectorPanel.parent |
Definition at line 1246 of file psmap/dialogs.py.
Referenced by wxdigit.VDigitError.Database(), wxdigit.VDigitError.DbExecute(), wxdigit.VDigitError.DbLink(), wxdigit.VDigitError.DeadLine(), wxdigit.VDigitError.Driver(), wxdigit.VDigitError.FeatureType(), wxdigit.VDigitError.NoMap(), frame.PsMapBufferedWindow.OnLeftUp(), wxdigit.VDigitError.ReadLine(), and wxdigit.VDigitError.WriteLine().
dialogs.VectorPanel.select |
Definition at line 1284 of file psmap/dialogs.py.
dialogs.VectorPanel.tmpDialogDict |
Definition at line 1248 of file psmap/dialogs.py.
Referenced by dialogs.VectorPanel.OnAddVector(), dialogs.VectorPanel.OnDelete(), dialogs.VectorPanel.OnProperties(), and dialogs.VectorPanel.update().
dialogs.VectorPanel.topologyTypeList |
Definition at line 1288 of file psmap/dialogs.py.
Referenced by dialogs.VectorPanel.OnAddVector().
dialogs.VectorPanel.vectorList |
Definition at line 1255 of file psmap/dialogs.py.
Referenced by dialogs.VectorPanel.OnDelete(), dialogs.VectorPanel.OnDown(), dialogs.VectorPanel.OnProperties(), dialogs.VectorPanel.reposition(), dialogs.VectorPanel.update(), and dialogs.VectorPanel.updateListBox().
dialogs.VectorPanel.vectorType |
Definition at line 1289 of file psmap/dialogs.py.
dialogs.VectorPanel.vLegendId |
Definition at line 1262 of file psmap/dialogs.py.
Referenced by dialogs.VectorPanel.OnDown(), and dialogs.VectorPanel.OnUp().