GRASS Programmer's Manual  6.5.svn(2012)-r51648
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines
dialogs.VectorPanel Class Reference

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

Detailed Description

Panel for vector maps settings.

Definition at line 1241 of file psmap/dialogs.py.


Constructor & Destructor Documentation

def dialogs.VectorPanel.__init__ (   self,
  parent,
  id,
  settings,
  notebook = True 
)

Definition at line 1243 of file psmap/dialogs.py.


Member Function Documentation

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.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.

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().


Field Documentation

Definition at line 1316 of file psmap/dialogs.py.

Definition at line 1315 of file psmap/dialogs.py.

Definition at line 1317 of file psmap/dialogs.py.

Definition at line 1314 of file psmap/dialogs.py.

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(), 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.VectorPanel.update(), and frame.PsMapBufferedWindow.Zoom().

Definition at line 1313 of file psmap/dialogs.py.

Definition at line 1284 of file psmap/dialogs.py.


The documentation for this class was generated from the following file: