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

Public Member Functions

def __init__
 List of model variables. More...
 
def GetListCtrl
 Used by ColumnSorterMixin. More...
 
def GetData
 Get list data. More...
 
def Populate
 Populate the list. More...
 
def Append
 Append new item to the list. More...
 
def OnRemove
 Remove selected variable(s) from the model. More...
 
def OnRemoveAll
 Remove all variable(s) from the model. More...
 
def OnEndEdit
 Finish editing of item. More...
 
def OnReload
 Reload list of variables. More...
 
def OnRightUp
 Mouse right button up. More...
 
- Public Member Functions inherited from dialogs.ModelListCtrl
def __init__
 List of model variables. More...
 
def OnBeginEdit
 Editing of item started. More...
 
def OnEndEdit
 Finish editing of item. More...
 
def OnColClick
 Click on column header (order by) More...
 

Data Fields

 itemDataMap
 
 itemCount
 
 popupID1
 
 popupID2
 
 popupID3
 
- Data Fields inherited from dialogs.ModelListCtrl
 parent
 
 columns
 
 shape
 
 frame
 
 itemDataMap
 
 itemCount
 

Detailed Description

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

Constructor & Destructor Documentation

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

List of model variables.

Definition at line 623 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 659 of file gmodeler/dialogs.py.

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

Referenced by manager.GCPList.AddGCPItem().

def dialogs.VariableListCtrl.GetData (   self)
def dialogs.VariableListCtrl.GetListCtrl (   self)

Used by ColumnSorterMixin.

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

def dialogs.VariableListCtrl.OnEndEdit (   self,
  event 
)
def dialogs.VariableListCtrl.OnReload (   self,
  event 
)
def dialogs.VariableListCtrl.OnRemove (   self,
  event 
)

Remove selected variable(s) from the model.

Definition at line 682 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 693 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 725 of file gmodeler/dialogs.py.

Referenced by mapwindow.BufferedWindow.MouseActions().

def dialogs.VariableListCtrl.Populate (   self,
  data 
)

Field Documentation

dialogs.VariableListCtrl.itemCount

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

dialogs.VariableListCtrl.popupID1

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

dialogs.VariableListCtrl.popupID2

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

dialogs.VariableListCtrl.popupID3

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


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