GRASS Programmer's Manual  6.4.2(2012)
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
gui_modules.gdialogs.ImportDialog Class Reference

Dialog for bulk import of various data (base class) More...

Inheritance diagram for gui_modules.gdialogs.ImportDialog:

Public Member Functions

def __init__
def doLayout
 Do layout.
def OnCancel
 Close dialog.
def OnRun
 Import/Link data (each layes as separate vector map)
def OnCmdDialog
 Show command dialog.
def AddLayers
 Add imported/linked layers into layer tree.
def OnAbort
 Abort running import.

Data Fields

 parent
 importType
 options
 commandId
 panel
 layerBox
 list
 optionBox
 overwrite
 add
 btn_cancel
 btn_run
 btn_cmd

Detailed Description

Dialog for bulk import of various data (base class)

Definition at line 1036 of file gdialogs.py.

Constructor & Destructor Documentation

def gui_modules.gdialogs.ImportDialog.__init__ (   self,
  parent,
  itype,
  id = wx.ID_ANY,
  title = _("Multiple import"),
  style = wx.DEFAULT_DIALOG_STYLE | wx.RESIZE_BORDER 
)

Definition at line 1040 of file gdialogs.py.

Member Function Documentation

def gui_modules.gdialogs.ImportDialog.AddLayers (   self,
  returncode,
  cmd = None 
)

Add imported/linked layers into layer tree.

Definition at line 1193 of file gdialogs.py.

Referenced by gui_modules.gdialogs.DxfImportDialog.OnRun().

def gui_modules.gdialogs.ImportDialog.OnAbort (   self,
  event 
)

Abort running import.

Todo:
not yet implemented

Definition at line 1225 of file gdialogs.py.

Referenced by gui_modules.menuform.mainFrame.OnKeyUp().

def gui_modules.gdialogs.ImportDialog.OnCancel (   self,
  event = None 
)
def gui_modules.gdialogs.ImportDialog.OnCmdDialog (   self,
  event 
)

Show command dialog.

Reimplemented in gui_modules.gdialogs.DxfImportDialog, and gui_modules.gdialogs.GdalImportDialog.

Definition at line 1189 of file gdialogs.py.

def gui_modules.gdialogs.ImportDialog.OnRun (   self,
  event 
)

Import/Link data (each layes as separate vector map)

Reimplemented in gui_modules.gdialogs.DxfImportDialog, and gui_modules.gdialogs.GdalImportDialog.

Definition at line 1185 of file gdialogs.py.

Referenced by gui_modules.ghelp.MenuTreeWindow.OnItemActivated(), and gui_modules.menuform.mainFrame.OnKeyUp().

Field Documentation

gui_modules.gdialogs.ImportDialog.add

Definition at line 1091 of file gdialogs.py.

Referenced by gui_modules.gdialogs.ImportDialog.doLayout().

gui_modules.gdialogs.ImportDialog.btn_cancel
gui_modules.gdialogs.ImportDialog.btn_cmd

Definition at line 1107 of file gdialogs.py.

Referenced by gui_modules.gdialogs.ImportDialog.doLayout().

gui_modules.gdialogs.ImportDialog.btn_run
gui_modules.gdialogs.ImportDialog.commandId

Definition at line 1045 of file gdialogs.py.

gui_modules.gdialogs.ImportDialog.importType

Definition at line 1042 of file gdialogs.py.

gui_modules.gdialogs.ImportDialog.layerBox

Definition at line 1052 of file gdialogs.py.

Referenced by gui_modules.gdialogs.ImportDialog.doLayout().

gui_modules.gdialogs.ImportDialog.optionBox

Definition at line 1061 of file gdialogs.py.

Referenced by gui_modules.gdialogs.ImportDialog.doLayout().

gui_modules.gdialogs.ImportDialog.options
gui_modules.gdialogs.ImportDialog.overwrite

Definition at line 1087 of file gdialogs.py.

Referenced by gui_modules.gdialogs.ImportDialog.doLayout().


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