GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
frame.PsMapFrame Class Reference
Inheritance diagram for frame.PsMapFrame:
Collaboration diagram for frame.PsMapFrame:

Public Member Functions

def __init__
 Main window of ps.map GUI. More...
 
def InstructionFile
 Creates mapping instructions. More...
 
def OnPSFile
 Generate PostScript. More...
 
def OnPsMapDialog
 Launch ps.map dialog. More...
 
def OnPDFFile
 Generate PDF from PS with ps2pdf if available. More...
 
def OnPreview
 Run ps.map and show result. More...
 
def PSFile
 Create temporary instructions file and run ps.map with output = filename. More...
 
def OnCmdDone
 ps.map process finished More...
 
def getFile
 
def OnInstructionFile
 
def OnLoadFile
 Load file and read instructions. More...
 
def OnPageSetup
 Specify paper size, margins and orientation. More...
 
def OnPointer
 
def OnPan
 
def OnZoomIn
 
def OnZoomOut
 
def OnZoomAll
 
def OnAddMap
 Add or edit map frame. More...
 

Data Fields

 parent
 
 menubar
 
 toolbar
 
 actionOld
 
 iconsize
 
 statusbar
 
 mouse
 
 cursors
 
 pen
 
 brush
 
 objectId
 
 instruction
 
 openDialogs
 
 pageId
 
 currentPage
 
 canvas
 
 imgName
 
 previewCanvas
 
 requestQ
 
 resultQ
 
 cmdThread
 
 book
 
 delayedCall
 
 mouseOld
 
 cursorOld
 

Detailed Description

Definition at line 49 of file psmap/frame.py.

Constructor & Destructor Documentation

def frame.PsMapFrame.__init__ (   self,
  parent = None,
  id = wx.ID_ANY,
  title = _("GRASS GIS Cartographic Composer (experimental prototype)"),
  kwargs 
)

Main window of ps.map GUI.

Parameters
parentparent window
idwindow id
titlewindow title
kwargswx.Frames' arguments

Definition at line 51 of file psmap/frame.py.

Member Function Documentation

def frame.PsMapFrame.OnAddMap (   self,
  event,
  notebook = False 
)
def frame.PsMapFrame.OnInstructionFile (   self,
  event 
)
def frame.PsMapFrame.OnPageSetup (   self,
  event = None 
)
def frame.PsMapFrame.OnPDFFile (   self,
  event 
)

Generate PDF from PS with ps2pdf if available.

Definition at line 223 of file psmap/frame.py.

References frame.PsMapFrame.getFile(), and frame.PsMapFrame.PSFile().

def frame.PsMapFrame.OnPreview (   self,
  event 
)

Run ps.map and show result.

Definition at line 239 of file psmap/frame.py.

References frame.PsMapFrame.PSFile().

Referenced by colorrules.ColorTable.LoadTable(), colorrules.ColorTable.OnApply(), and colorrules.ColorTable.ReadColorTable().

def frame.PsMapFrame.OnPSFile (   self,
  event 
)

Generate PostScript.

Definition at line 212 of file psmap/frame.py.

References frame.PsMapFrame.getFile(), and frame.PsMapFrame.PSFile().

def frame.PsMapFrame.OnPsMapDialog (   self,
  event 
)

Launch ps.map dialog.

Definition at line 218 of file psmap/frame.py.

def frame.PsMapFrame.OnZoomAll (   self,
  event 
)

Definition at line 480 of file psmap/frame.py.

Field Documentation

frame.PsMapFrame.actionOld

Definition at line 72 of file psmap/frame.py.

Referenced by frame.PsMapFrame.OnAddMap().

frame.PsMapFrame.book

Definition at line 189 of file psmap/frame.py.

frame.PsMapFrame.canvas

Definition at line 138 of file psmap/frame.py.

frame.PsMapFrame.cmdThread

Definition at line 163 of file psmap/frame.py.

frame.PsMapFrame.currentPage

Definition at line 136 of file psmap/frame.py.

Referenced by frame.PsMapFrame.OnCmdDone().

frame.PsMapFrame.cursorOld

Definition at line 483 of file psmap/frame.py.

Referenced by frame.PsMapFrame.OnAddMap().

frame.PsMapFrame.delayedCall

Definition at line 371 of file psmap/frame.py.

frame.PsMapFrame.iconsize

Definition at line 73 of file psmap/frame.py.

frame.PsMapFrame.imgName

Definition at line 150 of file psmap/frame.py.

Referenced by frame.PsMapFrame.OnCmdDone().

frame.PsMapFrame.instruction

Definition at line 130 of file psmap/frame.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(), 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(), and frame.PsMapBufferedWindow.Zoom().

frame.PsMapFrame.menubar

Definition at line 65 of file psmap/frame.py.

frame.PsMapFrame.mouseOld

Definition at line 481 of file psmap/frame.py.

Referenced by frame.PsMapFrame.OnAddMap().

frame.PsMapFrame.objectId
frame.PsMapFrame.openDialogs
frame.PsMapFrame.previewCanvas

Definition at line 153 of file psmap/frame.py.

frame.PsMapFrame.requestQ

Definition at line 160 of file psmap/frame.py.

frame.PsMapFrame.resultQ

Definition at line 161 of file psmap/frame.py.

frame.PsMapFrame.statusbar

Definition at line 75 of file psmap/frame.py.


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