|
GRASS Programmer's Manual
6.5.svn(2012)-r51648
|
wx.Panel with map (scale, region, border) settings More...
Public Member Functions | |
| def | __init__ |
| def | OnMap |
| Selected map or region changing. | |
| def | OnScaleChoice |
| Selected scale type changing. | |
| def | OnElementType |
| Changes data in map selection tree ctrl popup. | |
| def | OnBorder |
| Enables/disable the part relating to border of map frame. | |
| def | getId |
| Returns id of raster map. | |
| def | update |
| Save changes. | |
Data Fields | |
| id | |
| instruction | |
| book | |
| mapDialog | |
| mapFrameDict | |
| scale | |
| center | |
| selectedMap | |
| selectedRegion | |
| scaleType | |
| mapType | |
| scaleChoice | |
| staticBox | |
| mapSizer | |
| rasterTypeRadio | |
| vectorTypeRadio | |
| drawMap | |
| mapOrRegionText | |
| mapText | |
| select | |
| centerSizer | |
| eastingText | |
| northingText | |
| eastingTextCtrl | |
| northingTextCtrl | |
| scaleTextCtrl | |
| resolutionSpin | |
| borderCheck | |
| borderColorText | |
| borderWidthText | |
| borderColourPicker | |
| borderWidthCtrl | |
| selected | |
| rectAdjusted | |
wx.Panel with map (scale, region, border) settings
Definition at line 608 of file psmap/dialogs.py.
| def dialogs.MapFramePanel.__init__ | ( | self, | |
| parent, | |||
| id, | |||
| settings, | |||
| rect, | |||
notebook = True |
|||
| ) |
Definition at line 610 of file psmap/dialogs.py.
| def dialogs.MapFramePanel.getId | ( | self | ) |
Returns id of raster map.
Definition at line 931 of file psmap/dialogs.py.
References dialogs.PsmapDialog.id, render.Overlay.id, dialogs.MapFramePanel.id, model.ModelObject.id, model.ModelAction.id, model.ModelItem.id, and wxnviz.Texture.id.
| def dialogs.MapFramePanel.OnBorder | ( | self, | |
| event | |||
| ) |
Enables/disable the part relating to border of map frame.
Definition at line 926 of file psmap/dialogs.py.
References dialogs.MapFramePanel.borderColorText, dialogs.MapFramePanel.borderColourPicker, dialogs.MapFramePanel.borderWidthCtrl, and dialogs.MapFramePanel.borderWidthText.
| def dialogs.MapFramePanel.OnElementType | ( | self, | |
| event | |||
| ) |
Changes data in map selection tree ctrl popup.
Definition at line 914 of file psmap/dialogs.py.
References colorrules.RulesPanel.mapType, colorrules.ColorTable.mapType, dialogs.MapFramePanel.mapType, colorrules.RasterColorTable.mapType, colorrules.VectorColorTable.mapType, and dialogs.MapLayersDialog.mapType.
| def dialogs.MapFramePanel.OnMap | ( | self, | |
| event | |||
| ) |
Selected map or region changing.
Definition at line 811 of file psmap/dialogs.py.
| def dialogs.MapFramePanel.OnScaleChoice | ( | self, | |
| event | |||
| ) |
Selected scale type changing.
Definition at line 845 of file psmap/dialogs.py.
References dialogs.MapFramePanel.center, dialogs.MapFramePanel.mapOrRegionText, dialogs.MapFramePanel.scale, and dialogs.MapFramePanel.scaleType.
| def dialogs.MapFramePanel.update | ( | self | ) |
Save changes.
Definition at line 935 of file psmap/dialogs.py.
References dialogs.MapFramePanel.mapFrameDict, colorrules.RulesPanel.mapType, colorrules.ColorTable.mapType, dialogs.MapFramePanel.mapType, colorrules.RasterColorTable.mapType, colorrules.VectorColorTable.mapType, dialogs.MapLayersDialog.mapType, dialogs.MapFramePanel.scaleType, and utils.split().
Referenced by dialogs.RasterDialog.OnApply(), dialogs.MainVectorDialog.OnApply(), dialogs.TextDialog.OnBackground(), dialogs.TextDialog.OnBorder(), dialogs.TextDialog.OnHighlight(), dialogs.MapinfoDialog.OnIsBackground(), and dialogs.MapinfoDialog.OnIsBorder().
Definition at line 617 of file psmap/dialogs.py.
Definition at line 766 of file psmap/dialogs.py.
Definition at line 772 of file psmap/dialogs.py.
Referenced by dialogs.MapFramePanel.OnBorder().
Definition at line 774 of file psmap/dialogs.py.
Referenced by dialogs.MapFramePanel.OnBorder().
Definition at line 775 of file psmap/dialogs.py.
Referenced by dialogs.MapFramePanel.OnBorder().
Definition at line 773 of file psmap/dialogs.py.
Referenced by dialogs.MapFramePanel.OnBorder().
Definition at line 635 of file psmap/dialogs.py.
Referenced by dialogs.MapFramePanel.OnScaleChoice().
Definition at line 720 of file psmap/dialogs.py.
Definition at line 697 of file psmap/dialogs.py.
Definition at line 724 of file psmap/dialogs.py.
Definition at line 726 of file psmap/dialogs.py.
Definition at line 613 of file psmap/dialogs.py.
Referenced by dialogs.MapFramePanel.getId(), dialogs.RasterPanel.getId(), dialogs.VectorPanel.getId(), dialogs.RasterPanel.update(), and dialogs.VectorPanel.update().
Definition at line 614 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(), instructions.InstructionObject.GetInstruction(), frame.PsMapFrame.InstructionFile(), frame.PsMapBufferedWindow.OnButtonDClick(), frame.PsMapBufferedWindow.OnDragging(), frame.PsMapBufferedWindow.OnLeftUp(), 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.RasterPanel.update(), dialogs.VectorPanel.update(), and frame.PsMapBufferedWindow.Zoom().
Definition at line 619 of file psmap/dialogs.py.
Definition at line 624 of file psmap/dialogs.py.
Referenced by dialogs.MapFramePanel.update().
Definition at line 699 of file psmap/dialogs.py.
Referenced by dialogs.MapFramePanel.OnScaleChoice().
Definition at line 693 of file psmap/dialogs.py.
Definition at line 702 of file psmap/dialogs.py.
Definition at line 642 of file psmap/dialogs.py.
Referenced by dialogs.MapFramePanel.OnElementType(), and dialogs.MapFramePanel.update().
Definition at line 725 of file psmap/dialogs.py.
Definition at line 727 of file psmap/dialogs.py.
Definition at line 695 of file psmap/dialogs.py.
Definition at line 1003 of file psmap/dialogs.py.
Definition at line 750 of file psmap/dialogs.py.
Definition at line 634 of file psmap/dialogs.py.
Referenced by dialogs.MapFramePanel.OnScaleChoice().
Definition at line 684 of file psmap/dialogs.py.
Definition at line 730 of file psmap/dialogs.py.
Definition at line 641 of file psmap/dialogs.py.
Referenced by dialogs.MapFramePanel.OnScaleChoice(), and dialogs.MapFramePanel.update().
Definition at line 703 of file psmap/dialogs.py.
Definition at line 815 of file psmap/dialogs.py.
Referenced by wxdisplay.DisplayDriver.DrawMap(), wxdisplay.DisplayDriver.GetDuplicates(), wxdisplay.DisplayDriver.GetRegionSelected(), wxdisplay.DisplayDriver.GetSelected(), wxdisplay.DisplayDriver.GetSelectedIList(), wxdisplay.DisplayDriver.GetSelectedVertex(), wxdisplay.DisplayDriver.SelectLineByPoint(), wxdisplay.DisplayDriver.SelectLinesByBox(), wxdisplay.DisplayDriver.SetSelected(), and wxdisplay.DisplayDriver.UnSelect().
Definition at line 639 of file psmap/dialogs.py.
Definition at line 640 of file psmap/dialogs.py.
Definition at line 691 of file psmap/dialogs.py.
Definition at line 696 of file psmap/dialogs.py.