GRASS Programmer's Manual
6.4.2(2012)
|
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 |
Definition at line 4019 of file gmodeler.py.
def gui_modules.gmodeler.VariableListCtrl.__init__ | ( | self, | |
parent, | |||
columns, | |||
kwargs | |||
) |
List of model variables.
Definition at line 4020 of file gmodeler.py.
def gui_modules.gmodeler.VariableListCtrl.Append | ( | self, | |
name, | |||
vtype, | |||
value, | |||
desc | |||
) |
Append new item to the list.
Definition at line 4054 of file gmodeler.py.
References gui_modules.gmodeler.ModelListCtrl.itemCount, gui_modules.gmodeler.VariableListCtrl.itemCount, gui_modules.dbm.VirtualAttributeList.itemDataMap, gui_modules.gcpmanager.GCP.itemDataMap, gui_modules.gmodeler.ModelListCtrl.itemDataMap, and gui_modules.gmodeler.VariableListCtrl.itemDataMap.
Referenced by gui_modules.gcpmanager.GCPList.AddGCPItem(), and gui_modules.preferences.Settings.ReadSettingsFile().
def gui_modules.gmodeler.VariableListCtrl.GetData | ( | self | ) |
Get list data.
Definition at line 4028 of file gmodeler.py.
References gui_modules.dbm.VirtualAttributeList.itemDataMap, gui_modules.gcpmanager.GCP.itemDataMap, gui_modules.gmodeler.ModelListCtrl.itemDataMap, and gui_modules.gmodeler.VariableListCtrl.itemDataMap.
Used by ColumnSorterMixin.
Definition at line 4024 of file gmodeler.py.
def gui_modules.gmodeler.VariableListCtrl.OnEndEdit | ( | self, | |
event | |||
) |
Finish editing of item.
Reimplemented from gui_modules.gmodeler.ModelListCtrl.
Definition at line 4103 of file gmodeler.py.
References gui_modules.gmodeler.Model.GetItem(), gui_modules.dbm.VirtualAttributeList.itemDataMap, gui_modules.gcpmanager.GCP.itemDataMap, gui_modules.gmodeler.ModelListCtrl.itemDataMap, and gui_modules.gmodeler.VariableListCtrl.itemDataMap.
def gui_modules.gmodeler.VariableListCtrl.OnReload | ( | self, | |
event | |||
) |
Reload list of variables.
Definition at line 4116 of file gmodeler.py.
References gui_modules.dbm.TableListCtrl.Populate(), gui_modules.dbm.LayerListCtrl.Populate(), and gui_modules.gmodeler.VariableListCtrl.Populate().
Referenced by gui_modules.gmodeler.ItemListCtrl.OnNormalize().
def gui_modules.gmodeler.VariableListCtrl.OnRemove | ( | self, | |
event | |||
) |
Remove selected variable(s) from the model.
Definition at line 4077 of file gmodeler.py.
References gui_modules.dbm.VirtualAttributeList.itemDataMap, gui_modules.gcpmanager.GCP.itemDataMap, gui_modules.gmodeler.ModelListCtrl.itemDataMap, and gui_modules.gmodeler.VariableListCtrl.itemDataMap.
def gui_modules.gmodeler.VariableListCtrl.OnRemoveAll | ( | self, | |
event | |||
) |
Remove all variable(s) from the model.
Definition at line 4088 of file gmodeler.py.
References gui_modules.dbm.VirtualAttributeList.itemDataMap, gui_modules.gcpmanager.GCP.itemDataMap, gui_modules.gmodeler.ModelListCtrl.itemDataMap, and gui_modules.gmodeler.VariableListCtrl.itemDataMap.
def gui_modules.gmodeler.VariableListCtrl.OnRightUp | ( | self, | |
event | |||
) |
Mouse right button up.
Definition at line 4120 of file gmodeler.py.
Referenced by gui_modules.mapdisp_window.BufferedWindow.MouseActions().
def gui_modules.gmodeler.VariableListCtrl.Populate | ( | self, | |
data | |||
) |
Populate the list.
Definition at line 4032 of file gmodeler.py.
References gui_modules.gmodeler.ModelListCtrl.itemCount, gui_modules.gmodeler.VariableListCtrl.itemCount, gui_modules.dbm.VirtualAttributeList.itemDataMap, gui_modules.gcpmanager.GCP.itemDataMap, gui_modules.gmodeler.ModelListCtrl.itemDataMap, and gui_modules.gmodeler.VariableListCtrl.itemDataMap.
Referenced by gui_modules.gmodeler.VariableListCtrl.OnReload(), gui_modules.gmodeler.ItemListCtrl.OnReload(), and gui_modules.location_wizard.ItemList.Search().
Reimplemented from gui_modules.gmodeler.ModelListCtrl.
Definition at line 4032 of file gmodeler.py.
Referenced by gui_modules.gmodeler.VariableListCtrl.Append(), gui_modules.gmodeler.VariableListCtrl.Populate(), and gui_modules.gmodeler.ItemListCtrl.Populate().
Reimplemented from gui_modules.gmodeler.ModelListCtrl.
Definition at line 4032 of file gmodeler.py.
Referenced by gui_modules.gmodeler.VariableListCtrl::Append(), gui_modules.gmodeler.VariableListCtrl::GetData(), gui_modules.gmodeler.ItemListCtrl::GetData(), gui_modules.vdigit.VDigitCategoryDialog::OnAddCat(), gui_modules.gmodeler.VariableListCtrl::OnEndEdit(), gui_modules.gmodeler.ItemListCtrl::OnEndEdit(), gui_modules.vdigit.VDigitCategoryDialog::OnFeature(), gui_modules.location_wizard.ItemList::OnGetItemText(), gui_modules.vdigit.VDigitCategoryDialog::OnReload(), gui_modules.gmodeler.VariableListCtrl::OnRemove(), gui_modules.gmodeler.ItemListCtrl::OnRemove(), gui_modules.gmodeler.VariableListCtrl::OnRemoveAll(), gui_modules.gmodeler.ItemListCtrl::OnRemoveAll(), gui_modules.location_wizard.ItemList::Populate(), gui_modules.gmodeler.VariableListCtrl::Populate(), gui_modules.gmodeler.ItemListCtrl::Populate(), gui_modules.location_wizard.ItemList::Sorter(), and gui_modules.vdigit.VDigitCategoryDialog::UpdateDialog().
Definition at line 4120 of file gmodeler.py.
Definition at line 4120 of file gmodeler.py.
Definition at line 4120 of file gmodeler.py.