|
GRASS Programmer's Manual
6.5.svn(2014)-r66266
|


Public Member Functions | |
| def | __init__ |
| Defines a loop. More... | |
| def | Enable |
| Enable/disable action. More... | |
| def | Update |
| def | GetName |
| Get name. More... | |
| def | SetItems |
| Set items (id) More... | |
| def | OnDraw |
| Draw loop in canvas. More... | |
Public Member Functions inherited from model.ModelItem | |
| def | __init__ |
| Abstract class for loops and conditions. More... | |
| def | GetText |
| Get loop text. More... | |
| def | GetItems |
| Get items (id) More... | |
| def | SetId |
| Set loop id. More... | |
| def | SetText |
| Set loop text (condition) More... | |
| def | GetLog |
| Get log info. More... | |
| def | AddRelation |
| Record relation. More... | |
| def | Clear |
| Clear object, remove rels. More... | |
Public Member Functions inherited from model.ModelObject | |
| def | __init__ |
| def | __del__ |
| def | GetId |
| Get id. More... | |
| def | AddRelation |
| Record new relation. More... | |
| def | GetRelations |
| Get list of relations. More... | |
| def | IsEnabled |
| Get True if action is enabled, otherwise False. More... | |
| def | Enable |
| Enable/disable action. More... | |
| def | Update |
| def | SetBlock |
| Add object to the block (loop/condition) More... | |
| def | UnSetBlock |
| Remove object from the block (loop/consition) More... | |
| def | GetBlock |
| Get list of related ModelObject(s) which defines block (loop/condition) More... | |
| def | GetBlockId |
| Get list of related ids which defines block. More... | |
Data Fields | |
| items | |
Data Fields inherited from model.ModelItem | |
| parent | |
| text | |
| items | |
| id | |
| rels | |
Data Fields inherited from model.ModelObject | |
| id | |
| rels | |
| isEnabled | |
| inBlock | |
| def model.ModelLoop.__init__ | ( | self, | |
| parent, | |||
| x, | |||
| y, | |||
id = -1, |
|||
width = None, |
|||
height = None, |
|||
text = '', |
|||
items = [] |
|||
| ) |
Defines a loop.
Definition at line 1365 of file model.py.
References model.ModelAction._setBrush(), model.ModelData._setBrush(), model.ModelLoop._setBrush(), render.Overlay.id, model.ModelObject.id, model.ModelObject.isEnabled, sqlbuilder.SQLFrame.parent, dialogs.ModelDataDialog.parent, dialogs.DisplayAttributesDialog.parent, manager.Log.parent, frame.ModelFrame.parent, manager.VirtualAttributeList.parent, manager.GCPWizard.parent, dialogs.ModelSearchDialog.parent, dialogs.ModelRelationDialog.parent, manager.LocationPage.parent, dialogs.ModelItemDialog.parent, manager.GroupPage.parent, manager.AttributeManager.parent, dialogs.ModelListCtrl.parent, manager.DispMapPage.parent, manager.GCP.parent, model.ModelAction.parent, dialogs.ItemCheckListCtrl.parent, frame.ModelCanvas.parent, model.ModelData.parent, model.ModelRelation.parent, frame.VariablePanel.parent, model.ModelItem.parent, frame.ItemPanel.parent, frame.PythonPanel.parent, manager.TableListCtrl.parent, manager.LayerListCtrl.parent, manager.GrSettingsDialog.parent, and manager.LayerBook.parent.
| def model.ModelLoop.Enable | ( | self, | |
enabled = True |
|||
| ) |
Enable/disable action.
Definition at line 1401 of file model.py.
References model.Model.items, and model.ModelItem.items.
| def model.ModelLoop.GetName | ( | self | ) |
Get name.
Definition at line 1413 of file model.py.
Referenced by dialogs.ItemCheckListCtrl.OnCheckItem(), widgets.SingleSymbolPanel.OnDoubleClick(), and widgets.SingleSymbolPanel.OnLeftDown().
| def model.ModelLoop.OnDraw | ( | self, | |
| dc | |||
| ) |
Draw loop in canvas.
Definition at line 1421 of file model.py.
References model.ModelAction._setBrush(), model.ModelData._setBrush(), and model.ModelLoop._setBrush().
| def model.ModelLoop.SetItems | ( | self, | |
| items | |||
| ) |
Set items (id)
Definition at line 1417 of file model.py.
Referenced by prompt.GPromptPopUp.__init__(), gselect.FormatSelect.__init__(), gselect.SubGroupSelect.Insert(), gselect.ColumnSelect.InsertColumns(), gselect.LayerSelect.InsertLayers(), gselect.ColumnSelect.InsertTableColumns(), gselect.TableSelect.InsertTables(), gselect.LocationSelect.UpdateItems(), gselect.MapsetSelect.UpdateItems(), and gselect.ProjSelect.UpdateItems().
| def model.ModelLoop.Update | ( | self | ) |
Definition at line 1410 of file model.py.
References model.ModelAction._setBrush(), model.ModelData._setBrush(), and model.ModelLoop._setBrush().
Referenced by wizard.DatumPage.OnDText(), colorrules.VectorColorTable.OnLayerSelection(), manager.GroupPage.OnMkGroup(), statusbar.SbManager.OnToggleStatus(), and mapwindow.BufferedWindow.TextBounds().