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

List of layers to be imported (dxf, shp...) More...

Inheritance diagram for dialogs.LayersList:
Collaboration diagram for dialogs.LayersList:

Public Member Functions

def __init__
 
def LoadData
 Load data into list. More...
 
def OnPopupMenu
 Show popup menu. More...
 
def OnSelectAll
 Select all items. More...
 
def OnSelectNone
 Deselect items. More...
 
def OnLeftDown
 Allow editing only output name. More...
 
def GetLayers
 Get list of layers (layer name, output name) More...
 

Data Fields

 parent
 
 log
 
 popupDataID1
 
 popupDataID2
 

Detailed Description

List of layers to be imported (dxf, shp...)

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

Constructor & Destructor Documentation

def dialogs.LayersList.__init__ (   self,
  parent,
  columns,
  log = None 
)

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

Member Function Documentation

def dialogs.LayersList.GetLayers (   self)

Get list of layers (layer name, output name)

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

References model.Model.GetItem(), and dialogs.NewVectorDialog.IsChecked().

def dialogs.LayersList.LoadData (   self,
  data = None 
)

Load data into list.

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

References tools.range.

def dialogs.LayersList.OnLeftDown (   self,
  event 
)

Allow editing only output name.

Code taken from TextEditMixin class.

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

References tools.range.

Referenced by mapwindow.BufferedWindow.MouseActions(), frame.PsMapBufferedWindow.MouseActions(), and mapwindow.GLWindow.OnMouseAction().

def dialogs.LayersList.OnPopupMenu (   self,
  event 
)

Show popup menu.

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

References ogc_services.LayersList.GetItemCount().

def dialogs.LayersList.OnSelectAll (   self,
  event 
)

Select all items.

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

def dialogs.LayersList.OnSelectNone (   self,
  event 
)

Deselect items.

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

Field Documentation

dialogs.LayersList.popupDataID1

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

dialogs.LayersList.popupDataID2

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


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