GRASS Programmer's Manual  6.4.2(2012)
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
gui_modules.gcpmanager.GCPList Class Reference
Inheritance diagram for gui_modules.gcpmanager.GCPList:
Collaboration diagram for gui_modules.gcpmanager.GCPList:

Public Member Functions

def __init__
def LoadData
 Load data into list.
def OnCheckItem
 Item is checked/unchecked.
def AddGCPItem
def DeleteGCPItem
def ResizeColumns
 Resize columns.
def GetSelected
 Get index of selected item.
def OnItemSelected
def OnItemActivated
def OnColClick
 ListCtrl forgets selected item...

Data Fields

 gcp
 render
 CheckList
 selected
 selectedkey

Detailed Description

Definition at line 1893 of file gcpmanager.py.


Constructor & Destructor Documentation

def gui_modules.gcpmanager.GCPList.__init__ (   self,
  parent,
  gcp,
  id = wx.ID_ANY,
  pos = wx.DefaultPosition,
  size = wx.DefaultSize,
  style = wx.LC_REPORT | wx.SUNKEN_BORDER | wx.LC_HRULES |                  wx.LC_SINGLE_SEL 
)

Definition at line 1898 of file gcpmanager.py.


Member Function Documentation

def gui_modules.gcpmanager.GCPList.DeleteGCPItem (   self)
Deletes selected item in GCP list

Definition at line 2015 of file gcpmanager.py.

References gis_set.GListBox.selected, and gui_modules.gcpmanager.GCPList.selected.

def gui_modules.gcpmanager.GCPList.GetSelected (   self)

Get index of selected item.

Definition at line 2038 of file gcpmanager.py.

References gis_set.GListBox.selected, and gui_modules.gcpmanager.GCPList.selected.

Referenced by gui_modules.ghelp.ItemTree.OnShowItem().

def gui_modules.gcpmanager.GCPList.OnCheckItem (   self,
  index,
  flag 
)

Item is checked/unchecked.

Definition at line 1977 of file gcpmanager.py.

References gui_modules.colorrules.BufferedWindow.render, and gui_modules.gcpmanager.GCPList.render.

def gui_modules.gcpmanager.GCPList.OnColClick (   self,
  event 
)

ListCtrl forgets selected item...

Definition at line 2098 of file gcpmanager.py.

References gis_set.GListBox.selected, gui_modules.gcpmanager.GCPList.selected, and gui_modules.gcpmanager.GCPList.selectedkey.

def gui_modules.gcpmanager.GCPList.OnItemActivated (   self,
  event 
)
When item double clicked, open editor to update coordinate values

Definition at line 2058 of file gcpmanager.py.

References gui_modules.gmodeler.Model.GetItem().

def gui_modules.gcpmanager.GCPList.ResizeColumns (   self)

Resize columns.

Definition at line 2027 of file gcpmanager.py.

Referenced by gui_modules.gcpmanager.GCPList.AddGCPItem(), and gui_modules.gcpmanager.GCPList.LoadData().


Field Documentation

gui_modules.gcpmanager.GCPList.CheckList

Definition at line 1911 of file gcpmanager.py.

gui_modules.gcpmanager.GCPList.gcp

Definition at line 1902 of file gcpmanager.py.


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