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

Public Member Functions

def __init__
 Dialog for bulk import of various raster/vector data. More...
 
def OnRun
 Import/Link data (each layes as separate vector map) More...
 
def OnCmdDialog
 Show command dialog. More...
 
- Public Member Functions inherited from dialogs.ImportDialog
def __init__
 
def doLayout
 Do layout. More...
 
def OnClose
 Close dialog. More...
 
def OnRun
 Import/Link data (each layes as separate vector map) More...
 
def OnCmdDialog
 Show command dialog. More...
 
def AddLayers
 Add imported/linked layers into layer tree. More...
 
def OnAbort
 Abort running import. More...
 

Data Fields

 link
 
 ogr
 
 dsnInput
 
 commandId
 
 importType
 
- Data Fields inherited from dialogs.ImportDialog
 parent
 
 importType
 
 options
 
 commandId
 
 panel
 
 layerBox
 
 list
 
 optionBox
 
 overwrite
 
 add
 
 closeOnFinish
 
 btn_close
 
 btn_run
 
 btn_cmd
 

Detailed Description

Definition at line 1668 of file gui_core/dialogs.py.

Constructor & Destructor Documentation

def dialogs.GdalImportDialog.__init__ (   self,
  parent,
  ogr = False,
  link = False 
)

Dialog for bulk import of various raster/vector data.

Parameters
parentparent window
ogrTrue for OGR (vector) otherwise GDAL (raster)
linkTrue for linking data otherwise importing data

Definition at line 1669 of file gui_core/dialogs.py.

Member Function Documentation

def dialogs.GdalImportDialog.OnCmdDialog (   self,
  event 
)

Show command dialog.

Definition at line 1805 of file gui_core/dialogs.py.

References dialogs.ImportDialog._getCommand().

def dialogs.GdalImportDialog.OnRun (   self,
  event 
)

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

Definition at line 1719 of file gui_core/dialogs.py.

Referenced by menu.MenuTreeWindow.OnItemActivated(), menu.MenuTreeWindow.OnKeyUp(), and forms.TaskFrame.OnKeyUp().

Field Documentation

dialogs.GdalImportDialog.commandId

Definition at line 1721 of file gui_core/dialogs.py.

dialogs.GdalImportDialog.dsnInput

Definition at line 1692 of file gui_core/dialogs.py.

Referenced by dialogs.ImportDialog.doLayout().

dialogs.GdalImportDialog.importType

Definition at line 1733 of file gui_core/dialogs.py.

dialogs.GdalImportDialog.link

Definition at line 1676 of file gui_core/dialogs.py.

dialogs.GdalImportDialog.ogr

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