GRASS Programmer's Manual  6.5.svn(2012)-r51648
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines
dialogs.VariableListCtrl Class Reference
Inheritance diagram for dialogs.VariableListCtrl:
Collaboration diagram for dialogs.VariableListCtrl:

Public Member Functions

def __init__
 List of model variables.
def GetListCtrl
 Used by ColumnSorterMixin.
def GetData
 Get list data.
def Populate
 Populate the list.
def Append
 Append new item to the list.
def OnRemove
 Remove selected variable(s) from the model.
def OnRemoveAll
 Remove all variable(s) from the model.
def OnEndEdit
 Finish editing of item.
def OnReload
 Reload list of variables.
def OnRightUp
 Mouse right button up.

Data Fields

 itemDataMap
 itemCount
 popupID1
 popupID2
 popupID3

Detailed Description

Definition at line 609 of file gmodeler/dialogs.py.


Constructor & Destructor Documentation

def dialogs.VariableListCtrl.__init__ (   self,
  parent,
  columns,
  kwargs 
)

List of model variables.

Definition at line 610 of file gmodeler/dialogs.py.


Member Function Documentation

def dialogs.VariableListCtrl.Append (   self,
  name,
  vtype,
  value,
  desc 
)

Append new item to the list.

Returns:
None on success
error string

Definition at line 646 of file gmodeler/dialogs.py.

References dialogs.ModelListCtrl.itemCount, manager.VirtualAttributeList.itemDataMap, dialogs.ModelListCtrl.itemDataMap, and manager.GCP.itemDataMap.

Referenced by manager.GCPList.AddGCPItem().

Used by ColumnSorterMixin.

Definition at line 616 of file gmodeler/dialogs.py.

def dialogs.VariableListCtrl.OnRemove (   self,
  event 
)

Remove selected variable(s) from the model.

Definition at line 669 of file gmodeler/dialogs.py.

References manager.VirtualAttributeList.itemDataMap, dialogs.ModelListCtrl.itemDataMap, and manager.GCP.itemDataMap.

def dialogs.VariableListCtrl.OnRemoveAll (   self,
  event 
)

Remove all variable(s) from the model.

Definition at line 680 of file gmodeler/dialogs.py.

References manager.VirtualAttributeList.itemDataMap, dialogs.ModelListCtrl.itemDataMap, and manager.GCP.itemDataMap.

def dialogs.VariableListCtrl.OnRightUp (   self,
  event 
)

Mouse right button up.

Definition at line 712 of file gmodeler/dialogs.py.

Referenced by mapwindow.BufferedWindow.MouseActions().

def dialogs.VariableListCtrl.Populate (   self,
  data 
)

Field Documentation

Reimplemented from dialogs.ModelListCtrl.

Definition at line 634 of file gmodeler/dialogs.py.


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