GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
dialogs.VectorPanel Class Reference

Panel for vector maps settings. More...

Inheritance diagram for dialogs.VectorPanel:
Collaboration diagram for dialogs.VectorPanel:

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
 

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.OnAddVector (   self,
  event 
)
def dialogs.VectorPanel.OnDelete (   self,
  event 
)
def dialogs.VectorPanel.OnDown (   self,
  event 
)
def dialogs.VectorPanel.OnProperties (   self,
  event 
)
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.updateListBox (   self,
  selected = None 
)

Field Documentation

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

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

dialogs.VectorPanel.topologyTypeList

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

Referenced by dialogs.VectorPanel.OnAddVector().

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


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